I cant seem to get the Max Orders to work.
(Max Orders being maximum ammount of trades open at a time)
A little help please and thanks!
Here is the whole EA code
[Very simple 2 moving average EA]
when the lines cross it trades.
If you don't want your EA to do anything when there is already an order, just do the check right at the start. That will avoid a lot of unnecessary processing:
Forum on trading, automated trading systems and testing trading strategies
Time gap between alerts?
Alain Verleyen, 2016.11.30 17:48