Coding done but no signal in backtesting

tried to backtest with this coding for selling trades in two conditions

!) ema 5 crossing ema 10

  1. parabolic sar

SMA(CLOSE,5) < SMA(CLOSE,10)CROSSOVER(PSAR(CLOSE,0.02, 0.2), CLOSE) = TRUE

if this coding is not right please correct it and kindly guide me how to backtest it with my own stock

in the above given tradescript you have missed AND to join two conditions or expressions

SMA(CLOSE,5) < SMA(CLOSE,10) AND CROSSOVER(PSAR(CLOSE,0.02, 0.2), CLOSE) = TRUE

try the above script on more historical data and check

1 Like