
These warnings will not effect on the results but no one like to see them on his meta editor ...
Anyway, you just change every line having OrderSelect to as follows ...
if(OrderSelect(i,SELECT_BY_POS)==true){ ... ... ... }
and change every OrderModify command to the form shown bellow ...
bool res = OrderModify(OrderTicket(),OrderOpenPrice(),Stopl,Takep,0,Red);
If you still got more warninngs, just let me know by sending me a message ...
Mahfoud Allali:
instead of using :
result = OrderSend(.....)
use :
if(!OrderSend(......))return;
that structure is also valid for the other.

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