how to set maximum trade by condition
-
hi, i trying to create a small ea, want to know how to set maximum trade by condition.
mean when all the condition is met, ea will open only one trade.thx for your help.
-
@ziyaad9310 Just use a 'no Trade' block on top of all those conditions blocks. That will avoid opening more than one when your conditions are met.
-
@l-andorrà thx lot, will try it. i appreciate your help.
-
@ziyaad9310 You're welcome.
-
hi again
i try to add the no trade block, still many open trades, also not opening trade when using martingale after x pips away.
can you help. thx

-
@ziyaad9310 This is likely the blue if trade above pink, pink should normally be by themselvs.
-
i try this one too, still not good. look like am missing something.

-
@ziyaad9310 I never find multiple trades added under a no trade block, if your condition blocks are for or, connect 1 to no trade and the conditions to each other threw the yellow output, if you still have problems put a shared link here so all blocks can be checked.
-
@ziyaad9310 If you want to create a martingale (something I DO NOT recommend) here you have a fully functional one:
https://fxdreema.com/shared/6o0uTdg3e
I hope it helps.