Download MetaTrader 5

How to fix these warnings in my ea

To add comments, please log in or register
Having troubles understanding the code? Articles can help you!
Mahfoud Allali
Mahfoud Allali 2015.11.07 20:35 
Osama Shaban
Osama Shaban 2015.11.07 21:14  

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 ...


 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 ...

Irwan Adnan
Irwan Adnan 2015.11.08 02:34  
Mahfoud Allali:

instead of using : 

result = OrderSend(.....)

 use :


 that structure is also valid for the other.

To add comments, please log in or register