| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| MPTM's new home https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=64 |
Page 40 of 57 |
| Author: | CanadianKodiak [ Wed Feb 12, 2014 10:59 pm ] |
| Post subject: | Re: MPTM's new home |
I cant seem to compile the new version of MPTM. I get 2 errors. One of the errors says it can't open the file for some reason, the 2nd error says Ex4 write error. Any suggestions as to how to get this puppy working? |
|
| Author: | milanese [ Wed Feb 12, 2014 11:04 pm ] |
| Post subject: | Re: MPTM's new home |
this error seems at your backend, try it with a new install of the Empty4 not a updated one, it should work as I use the EA here with build 604 without problems since days.. If you have problems to find the folders try this: In the 6xx build the place where are present the directories like config, history, logs,templates ecc. is mostly different to the main Empty4 installation folder. The only way to find out where the correct "Data folder" location is, is to read the "Journal" log of Empty4. The second line from start reports the used Data folder. Cheers Tommaso |
|
| Author: | varso [ Mon Feb 17, 2014 11:46 am ] |
| Post subject: | MPTM's new home |
Hi i have problem. I use only MPTM for hedge, nothink more. ALL other setting is false. My setting are like Manage all trade. Hedge open position after 15 pip lost with 15 and TP 15. BUt some reasom MPTM modifate also original trade with 0 SL and 0 TP. Anybody know why? I will try manage with magic number. I will see if it repeat again. |
|
| Author: | milanese [ Mon Feb 17, 2014 12:20 pm ] |
| Post subject: | MPTM's new home |
Hi varso, how is your setting for Code: Select all Cheers Tommaso |
|
| Author: | varso [ Mon Feb 17, 2014 12:45 pm ] |
| Post subject: | MPTM's new home |
Sorry for my english but i try it one more time. I had open buy position at NZDCAD with SL 30 and TP 30 The MPTM open sell hedge position after when buy trade rich -15pips with 15SL and 15TP this was OK. But then some reason MPTM change the original buy trade and modifate SL and TP to 0. This was wrong i dont want anythink change on original trade. |
|
| Author: | milanese [ Mon Feb 17, 2014 12:53 pm ] |
| Post subject: | MPTM's new home |
This is like the hedge funtion is programmed, as I understand the code in this part right, this function tries to close all positions if the BE is reached.. Cheers Tommaso |
|
| Author: | varso [ Mon Feb 17, 2014 2:39 pm ] |
| Post subject: | MPTM's new home |
Im not shure of this because there is a closeonbreak setting true or false. And i have false. Also the closeonbreak make sence only if i have double position hedge but if i have the some size like original trade than the closeonbreak its not possible.(You never reach zero on money). but i write how i understood it but maybe im wrong. the easy one i have buy EU SL is 30pips Tp 30pips. volume 1 lot. the trade going bad. We are -15 pips. Now the hedge come. We have many possibilities. 1.First Keep original buy like it is with same SL and TP Open sell hedge with 1 lot 15SL and 15TP. when sell hedge reach TP15 also the original buy close on SL30. we lost 30-15=-15pips 2.Second Open sell position with SL 15and TP 0 but with 2 lots+spread +commision ( another word it must bring more like double money like original trade on pip) Original trade -TP dont change SL is change to 0. close trades on break when income with hedge trade will be the same like outcome original trade. we lost 30(1lot) -15(2lots)=0 This is the easy ones, NOT RECOMENDED. On original |
|
| Author: | milanese [ Mon Feb 17, 2014 2:58 pm ] |
| Post subject: | MPTM's new home |
Could you post the setting you are using? Cheers Tommaso |
|
| Author: | varso [ Mon Feb 17, 2014 3:53 pm ] |
| Post subject: | MPTM's new home |
yes sure here it is and here is log 2014.02.17 09:31:10.051 Multi-purpose trade manager600 USDCHF,M1: modify #31425622 buy 0.08 NZDCAD at 0.91931 sl: 0.00000 tp: 0.00000 ok 2014.02.17 09:31:09.786 Multi-purpose trade manager600 USDCHF,M1: Alert: Sell hedge trade set for NZDCAD buy 2014.02.17 09:31:09.786 Multi-purpose trade manager600 USDCHF,M1: open #31444672 sell 0.08 NZDCAD at 0.91690 sl: 0.91938 tp: 0.91540 ok 2014.02.17 00:13:55.455 TMA_CG_MultiTrader v1.05 USDCHF,M1: modify #31425622 buy 0.08 NZDCAD at 0.91931 sl: 0.91561 tp: 0.00000 ok 2014.02.17 00:13:55.111 TMA_CG_MultiTrader v1.05 USDCHF,M1: TMA_CG_MultiTrader v1.05 31425622 ModifyOrder() take profit < market 0: no error 2014.02.17 00:13:55.111 TMA_CG_MultiTrader v1.05 USDCHF,M1: Alert: TMA_CG_MultiTrader v1.05 31425622 ModifyOrder() take profit < market 0: no error 2014.02.17 00:13:54.987 TMA_CG_MultiTrader v1.05 USDCHF,M1: open #31425622 buy 0.08 NZDCAD at 0.91931 ok Why the red one? |
|
| Author: | milanese [ Mon Feb 17, 2014 4:44 pm ] |
| Post subject: | MPTM's new home |
Hi varso, ok try the attached one, it should work as you wanted, should not change the sl of the original trade to 0.. Cheers Tommaso |
|
| All times are UTC | Page 40 of 57 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|