You are using MQL4 code and expecting it to work on MQL5?
The OrderSend format you are using is from MQL4. Please read the MQL5 documentation — Documentation on MQL5: Trade Functions / OrderSend
Your topic has been moved to the section: Expert Advisors and Automated Trading — In the future, please consider which section is most appropriate for your query.
![Documentation on MQL5: Trade Functions / OrderSend Documentation on MQL5: Trade Functions / OrderSend](https://c.mql5.com/36/75/documentation-on-mql5-trade-functions.png)
- www.mql5.com
You are using MQL4 code and expecting it to work on MQL5?
The OrderSend format you are using is from MQL4. Please read the MQL5 documentation — Documentation on MQL5: Trade Functions / OrderSend
Your topic has been moved to the section: Expert Advisors and Automated Trading — In the future, please consider which section is most appropriate for your query.
Thank you, do you know the Mql5 equivalent?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
built-in: bool OrderSend(const