before order execution you can check OrdersTotal()>0
however if you are using some other variables (magic number, symbol) then you should make a function that will count orders with specified property (symbol, magic number, order type etc)
It's work. Thank you.
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
How to make code for mql 4 to buy/sell just once time?
Because in my ea, it makes open/buy many times in one time.