MR.:
if(OrderModify(Ticket,Open_Price,New_SL,TP_Order,0)==false) { Alert("Modify Error!"); }
MR.:
Yashar has provided a corrected code, but also FYI
Your control statement in question is the extra quotes ")" you put in your code which I highlighted in yellow.
This is not needed and because it's there the interpreter is complaining about it because there is no code inside of it and is considered empty.
if(OrderModify(Ticket,Open_Price,New_SL,TP_Order,0));
Agent86 #:
There is no extra quotes in the OP code. The problem is the ";" at the end.
Yashar has provided a corrected code, but also FYI
Your control statement in question is the extra quotes ")" you put in your code which I highlighted in yellow.
This is not needed and because it's there the interpreter is complaining about it because there is no code inside of it and is considered empty.
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