HI everyone, I am working on a code with cumulative orders. I am able to backtest it but cannot forward test it due to following error (attached). Code is: IF c3 THEN SELL Positionsize PERPOINT AT MARKET ENDIF If CountOfPosition < 4 AND TRADEPRICE > increment AND ShortOnMarket THEN SELL positionsize perpoint at market ENDIF // Conditions to exit short positions indicator7 = ExponentialAverage[x](close) indicator8 = ExponentialAverage[y](close) c4 = (indicator7 CROSSES OVER indicator8) IF c4 THEN EXITSHORT AT MARKET ENDIF Can anyone suggest what i am doing wrong? Thank you.