if(OrdersTotal()==0) OrderSend(Parameters);Thats a basic solution; if you plan to use it live then read up on error handling.
johnny80:
No slaves here. Either learn to code or pay someone.
Can u give me the code? plss
![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
Can u give me the code? plss
the script must check if no open position are present and will open a 0.01 (sell or buy it's the same) position with no sl or tp, if true.
thank you