Amount of orders to be Opened
-
Hello members I have the problem. I want my expert advisor to opened exactly amount of order when condition meet maybe 20 orders when 7 EMA Cross above 50 EMA
-
@shedrack Do you mean a maximum number of trades one after the other or an exact number of trades all at once?
-
I mean number of trades all at once, example main line cross above signal line on MACD we buy 5 trades at once and when main line cross below signal line we sell 5 trades at once.
-
@shedrack Then you need to add these blocks below your condition blocks:

But please remember that MT4 cannot open trades at the same time, but one after the other. This means you can get 5 different open prices depending on the volatility, spread, etc.
-
Thanks for your help Sir
-
You're welcome.