why my ea close orders immediately after it opened orders?
Let me guess, this EA open a buy first, when this buy gets opened, it immediately get closed, right ?.
Same thing like this, and do this please, open MT5, manually buy - say 1 lot EURUSD, when this EURUSD buy is opened, then manually sell another 1 lot EURUSD. There will be no opened order - no trades. :D
MT5 does not allow hedging, when you buy 1 lot EURUSD and then sell 1 lot EURUSD, you actually just sell what you just buy and vice versa. Do this, buy 1 lot EURUSD and then sell 2 lots EURUSD, you will have an open of 1 lot sell EURUSD.
Have fun, with hedging ;)
:D
It's my first mt5 ea. why my ea close orders immediately after it opened orders?