Forum

Why My EA trail fails and I see error #130?

//+------------------------------------------------------------------+ //| testma1250.mq4 | //| Copyright 2021, MetaQuotes Software Corp. | //| https://www.mql5.com |

why am i getting this error for order modify ?

if ( OrderMagicNumber()== 2222 ) { if (Ask<=OrderOpenPrice()-. 003 && OrderOpenPrice()-. 001 <OrderStopLoss() && OrderStopLoss()>OrderOpenPrice()-. 0009 ) { bool