You will meed to handle it yourself. This code logic that you wrote will handle it

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
If I do not want to trade long after a buy trade and vice versa is there a function in MT4 that does that? Or will somethin like this work too?
If LastOpenTrade != Op_Buy
Thanks.