dantepage / Publications
Forum
Once perfect EA's not working properly anymore. PLEASE HELP
void OnStart () { int TrailingStop= 50 ; //--- modifies Stop Loss price for buy order №12345 if (TrailingStop> 0 ) { OrderSelect ( 12345 , SELECT_BY_TICKET ); if ( Bid - OrderOpenPrice ()> Point *TrailingStop) { if ( OrderStopLoss ()< Bid - Point *TrailingStop)