| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| MPTM's new home https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=64 |
Page 38 of 57 |
| Author: | osho619 [ Sat Jan 25, 2014 2:30 pm ] |
| Post subject: | Re: MPTM's new home |
i put multi purpose trade manager ea in hotforex Empty4 but it is not attaching to that chart but i put another 4 digit broker Empty4 there this ea working .. |
|
| Author: | milanese [ Sat Jan 25, 2014 2:37 pm ] |
| Post subject: | Re: MPTM's new home |
Then the problem seems broker specific.., so use brokers the EA is working with Cheers Tommaso |
|
| Author: | dudest [ Mon Jan 27, 2014 7:26 am ] |
| Post subject: | Re: MPTM's new home |
And please put more info when reporting a problem ( e.g, experts log, journal log, any errors, MPTM version, etc ), we are not mind readers. I know for sure that MPTM works with HotForex ( and all other brokers I've tested stuff on, which are MANY ) and it works great. So it's most probably something to do with your setup. Cheers |
|
| Author: | manoj_3986 [ Wed Jan 29, 2014 6:22 am ] |
| Post subject: | Re: MPTM's new home |
Hi, I have been using MPTM for JSL. It works perfectly fine for me. Now I want ea to put JSL after BE. I have make Add JSL after BE true but its not working as per my need. BE=20 pips JSL=30pips Add JSL after BE= True With above setting ea puts BE initially after 20 pips. There after jumping stop loss is kept at 30 pips only when price has moved 60 pips in favor. Where as I want JSL to be put once price moved 50 pips in favor. That would be 20 pips from the order price. There after ea should put JSL at 50 pips once price moved 80 pips in favor and so on. Can Some body help me to modify the code as mentioned above ? Thank you very much in advance. Manoj |
|
| Author: | dudest [ Wed Jan 29, 2014 7:16 am ] |
| Post subject: | Re: MPTM's new home |
Hey Manoj! The logic of what you're saying makes alot of sense, and the logic of what MPTM is doing is correct. By definition, JSL can't do what you're saying. So modifying the code won't help, because when price gets to +50pips, where would JumpingStop move SL to? If it was to move it to +30pips, then the logic is broken coz it's 20pips behind price and it's a 30-pip JSL [ donno if that makes sense ] A workaround would be to use TrailingStopLoss [ + trail after BreakEven ]. TSL of 30pips (after BE) should work out that when price is +50pips, SL should be at +20 BE: 20 TSL: 30 Trail after break even: true PS: the only code modification I can think of would be *specific to you*, and maybe better to do this directly in your EA instead of 'hacking' MPTM Cheers |
|
| Author: | manoj_3986 [ Wed Jan 29, 2014 7:38 am ] |
| Post subject: | Re: MPTM's new home |
Dear Dudest, Thank you very much for your quick reply. As per my understanding if I use trailing stop then it will work as per following. BE: 20 TSL: 30 Trail after break even: true BE once price move 20 pips TSL will be kept at 20 pips once price move 50 pips TLS will be kept at 30 pips once price move 60 pips TLS will be kept at 40 pips once price moved to 70 pips But I want as per below BE once price move 20 pips SL will be kept at 20 pips once price move 50 pips SL will be kept at 50 pips once price move 80 pips SL will be kept at 80 pips once price moved to 110 pips So that trade get some space to move on. Jump of JSL should be 30 but starting point would be not order price but market price at the time of BE. I hope this can be done using modification of logic of JSL in two scenarios. Senario 1- current MPTM is doing in case BE is > JSL Senario 2- As I mentioned above in case BE is <JSL Looking forward to receive you feedback. Thanks Manoj |
|
| Author: | dudest [ Wed Jan 29, 2014 10:50 am ] |
| Post subject: | Re: MPTM's new home |
I get, you want to preserve the advantage of the JumpingStop, while making it act different on Jump #1. Rather than hack at the MPTM JSL code ( harder than what follows next ), insert the below code into your EA and test if it compiles and works Cheers ---------------------- Before "start()" function: Code: Select all Right before "start()" function ends: Code: Select all After "start()" fuction: Code: Select all |
|
| Author: | manoj_3986 [ Wed Jan 29, 2014 12:32 pm ] |
| Post subject: | Re: MPTM's new home |
Dear Dudest, Thank you very much for your help. I am getting error of '\end_of_program' - unbalanced left parenthesis. Please find attached file. Thank you very much for your help. Thanks Manoj |
|
| Author: | dudest [ Wed Jan 29, 2014 1:37 pm ] |
| Post subject: | Re: MPTM's new home |
Hi Manoj, I meant insert it into your EA, the one you're using to trade... Or you're trading manually? |
|
| Author: | manoj_3986 [ Wed Jan 29, 2014 3:33 pm ] |
| Post subject: | Re: MPTM's new home |
Hi, I am using mptm to manage manual trade. I have added code as suggested but it is showing error as mentioned above. Please suggest to resolve this error. Thanks for your help. Thanks Manoj |
|
| All times are UTC | Page 38 of 57 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|