Supertrend indicator is a trend following indicator which can be used to identify upward or downward trends.A stop and reversal (SAR) occurs when the price penetrates a Parabolic SAR level.
BUY :When Current close is greater than supertrend and parabolic sar and current low crossed above ema of period 100 and current open=current low.
SELL: When supertrend crossed above ema of period 13.
BUY{ set su = SUPERTREND(7,3,SIMPLE); set ma1 = EMA(CLOSE,100); set ps = PSAR(0.2,0.02); CLOSE > su and CLOSE > ps and CROSSOVER(LOW,ma1) and OPEN = LOW;} LONGEXIT{ set su = SUPERTREND(7,3,SIMPLE); CROSSOVER(su,EMA(CLOSE,13));}