Second Multi Cycle
-
Dear all forum member,
I have an idea of create martingale EA with MA breakout, I want EA to have two martingale cycle as below:
1- First Martingale -50 pips from open price x 5 position
2- Second martingale cycle -100 pips continue unlimited
Right now first martingale cycle is work well, but i can't do second marti cycle. if anyone have advice or solution please help advise me. link below:
https://fxdreema.com/shared/hMrdcypMb -
-
@q8carpenter Thank you, Let me test and feedback

-
@q8carpenter Thanks you every much for your advice now it work good

-
@loka-heng you're welcome
-
Hi everyone, @q8carpenter @Loka-Heng
How can i make the trade open when candle close, and the 'pipsaway' will be like minimum pipstep to open trade? -
@biztet Please check my share link above and learn to create similar block, it will work on Pips aways and max trade too.
-
Thanks @Loka-Heng i've check and understand it. But what i need is for the trade to open when candle close, not with a fixed distance like pipstep. And the trade will open only when the distance between the last partial trade is more than pips away value. So you can see here that the distance between trades will not be the same.
-
@biztet No EA can close a trade when candle close. You need to wait until the following candle opens to check the previous one is closed.
-
@biztet The once per bar block is supposed to take care of that for you. If I'm not mistaken, the pips away block will look at the distance equal to or greater, as there are no exacts with prices. Backtest it in visual mode and have a look.
-
@biztet You should follow my all block, then do backtest you will see result as your request above

-
Thank you @Loka-Heng @q8carpenter @l-andorrà , you are right.
I just missed the "once per bar" block.
