![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The EA works great. All it does is opens a opposite directional position on a certain amount of pips on a specified currency.
But when I close the position created by the EA and the original 1st position is still open, the EA opens a new position immediately.
All I need is that the EA does not open a new position immediately and waits x amount of seconds and then looks if there is a 1st position open and then only opens a new position if settings allows it.
Can anyone assist me with this small technical issue?