Can you/anyone explain to me how I can add a function to Opto123 EA to set a limit on the number of trades that can be opened at one time? (per pair) After that user defined limit is reached, wait until they close (due to TP or SL or whatever), reload and wait for the next trigger. I sometimes get 4-5 trades open for the same pair. To to control that now, I just close the Opto123 EA until the trade is done and then re-start it.
The function would have to look if there is a currently an open trade or the limit is reached for that specific pair and if so, wait until it closes. Otherwise, go ahead and open new ones up to the limit. I realize this is probably counter to the original design strategy, but it would be beneficial to allow a user (me) to define the number of trades that can be opened simultaneously.
Thx
The function would have to look if there is a currently an open trade or the limit is reached for that specific pair and if so, wait until it closes. Otherwise, go ahead and open new ones up to the limit. I realize this is probably counter to the original design strategy, but it would be beneficial to allow a user (me) to define the number of trades that can be opened simultaneously.
Thx