Forum

trailing Stop Loss mql4. Hi everyone please check me why my code doen't work. Thanks

void trailingstop_check( int trail, int magic=- 1 ) { for ( int i= 0 ; i< OrdersTotal ();i++) { if ( OrderSelect (i,SELECT_BY_POS)) { if (magic == - 1 || magic == OrderMagicNumber()) trailingstop_check_order(OrderTicket(),trail);}} } bool trailingstop_check_order( int ticket, int

OrderSend

Hi I want to know how can I place buy order with EA when market moves (.... Pips) above open price . Please help me thanks