How to Use Martingale On Child's Trades
-
Hello everyone
I have been trying to make my EA use martingale on child trades which starts opening after parent trade reaches -50pips and above. Fortunately, I was able to get the exact settings that gives me this result when back tested. But the amazing thing is that when I used it on live account it perform different functions entirely.
Here is the project: https://fxdreema.com/shared/T8TZQOSMd
Could anyone please help me look into this and let me know what I did wrongly?
The problem I am having with this one I created is that when installed on live account, the child trade (Block 11) opens position the same time with parent trade (block 7) instead of waiting for block 7's trade to get to -50pip before placing a trade. Secondly, it continues to open new trades every time the condition for block 10 is met instead of waiting for another -50 pips.Please help me look into this and let me know maybe I am not using right blocks to set this up.
What I am trying to achieve exactly is a scenario whereby when the first trade gets to -50pips then another trade opens with a higher lot size and if that one also continues to go in negative then another trade with higher lot size should open when it it also gets to -50pips till it starts reversing.
Thanks in anticipation.
@l-andorrà @miro1360 @iqbalazmi @ajmd97fx please help me out
-
@lanrayy That is a more complex structure to do. You will need a whole group of variables controllong the stato of those possible scenarios. Certainly an ambitious project.
-
@l-andorrà Thanks for your reply sir.
Please could you make me understand why an EA will work very well on backtest as intended and performs something else on live trading?
-
@lanrayy Because backtesting is the most perfect market conditions and executions imaginales whereas reality is not. For example, backtesting doesn't include variable spread while real market is always changing spread value. That is a major changer on its own.
-
@l-andorrà Alright thanks for the insights sir.
-
Instead of this block:

try this:

right before the child trade block, add this too
