Artur Alves De Carvalho / Publications
Forum
Trailing Stop not Working Properly on VPS but Works Just Fine on Backtesting
Hi, I have an EA that open and closes positions, but my trailing stop and breakeven isn't working properly on VPS, but it works just as expected when backtesting . void trailSlAndBreakEven( void ) { for ( int i = 0 ; i < PositionsTotal (); i++) { ulong posTicket = PositionGetTicket (i);