How to limit the number of trades?
-
@joe_fx hello, maybe with a "pass once" block? This way it trade only once buy and only once sell until you re-attach the EA on chart
https://fxdreema.com/shared/XU1A1P57e

-
@ambrogio
Thanks Ambrogio. just what I was looking for. But, he only opens two total trades. when the Stochastic returns to the buy or sell phase it must open a new order, but it does not happen. Is there another block? -
-
@ambrogio
i have already tried this solution. it does not work. -
@joe_fx where is your problem? please make a visual backtest and shows the problem on a screenshot

-
-
@joe_fx so you want once buy - once sell - once buy - ecc... it's rihgt?
-
-
@ambrogio
it finally works fine, just as I thought it would. I thank you. There was just a need for one variable.

