It means no value of the order modify was changed. Example lets assume orders have two parameters 1_OrderStopLoss() and 2_OrderTakeProfit(). If Current values of OrderStoploss=(-100) and OrderTakeProfit=(100).
If you try to OrderModify() and provide the OrderStopLoss of (-100) and OrderTakeProfit of (100), you'll get Error#1 because the values are already the same.
Please don't use SRC or Code_Template for your for your comments. Use SRC for actual Codes.
if( GetLastError() == 1 ) Do_Something;
Thank you, I probably pressed the code template without noticing.
Hehe
![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