Commodity Channel Index (CCI) With Supertrend

CCI indicator oscillates between an overbought and oversold condition and works best in a sideways market.

BUY{
SET C1 = CCI(21,SIMPLE);
SET ST = SUPERTREND(21,2,SIMPLE);
CLOSE > ST AND C1 > 0.01 AND REF(C1,1) < 0.01;}

LONGEXIT{
SET C1 = CCI(21,SIMPLE);
SET ST = SUPERTREND(21,2,SIMPLE);
CLOSE < ST;}

SELL{
SET C1 = CCI(21,SIMPLE);
SET ST = SUPERTREND(21,2,SIMPLE);
CLOSE < ST AND C1 < 0.01 AND REF(C1,1) > 0.01;}

SHORTEXIT{
SET C1 = CCI(21,SIMPLE);
SET ST = SUPERTREND(21,2,SIMPLE);
CLOSE > ST;}

This slideshow requires JavaScript.

Advertisements

EMA with Supertrend As Source

Supertrend is a trend following indicator which can be used to identify upward or downward
trends.

BUY{
SET ST = SUPERTREND(7,3,SIMPLE);
SET MA = EMA(ST,9);
MA > ST AND MA <= (ST * 1.005) AND CLOSE > MA;}

SELL{
SET ST = SUPERTREND(7,3,SIMPLE);
SET MA = EMA(ST,9);
MA < ST AND ST <= (MA * 1.005) AND CLOSE < MA;}

This slideshow requires JavaScript.

Standard Deviation-SuperTrend Strategy

Standard Deviation is a common statistical calculation that measures volatility. Supertrend is a trend following indicator which can be used to identify upward or downward trends.

BUY : when current SD is greater than maximum EMA on SD for previous 40 period.
SELL: when Supertrend crossed above Current close.

BUY{
SET sd = SDV(CLOSE,21,2,SIMPLE); 
SET st = SUPERTREND(200,5,SIMPLE); 
SET av = EMA(sd,50);
SET hv = MAX(av,40);
sd > hv and CLOSE > st;}
SELL{
set sd = SDV(CLOSE,21,2,SIMPLE); 
set st = SUPERTREND(200,5,SIMPLE); 
CROSSOVER(st,CLOSE);}

This slideshow requires JavaScript.

Supertrend-Parabolic Stop and Reversal Strategy(PSAR) Strategy

When the Supertrend closes below the Price, a Buy signal may be generated, and when the Supertrend closes above the Price, a Sell signal can be generated.

BUY : When current close crossed above PSAR and current close greater than supertrend and EMA 9 period is greater than EMA 21 period.

SELL : When current close is less than PSAR and current close is less than supertrend and EMA 15 period crossed above ema 9 period.

BUY{
set ma1 = EMA(CLOSE,9);
set ma2 = EMA(CLOSE,21);
set st = SUPERTREND(10,2,SIMPLE); 
set ps = PSAR(0.2,0.02); 
CROSSOVER(CLOSE,ps) and CLOSE > st and ma1 > ma2;}
LONGEXIT{
set ma1 = EMA(CLOSE,9);
set ma2 = EMA(CLOSE,15);
set st = SUPERTREND(10,2,SIMPLE); 
set ps = PSAR(0.2,0.02); 
ps > CLOSE and CLOSE < st and CROSSOVER(ma2,ma1);}

This slideshow requires JavaScript.

EMA, SUPERTREND and PARABOLIC SAR intraday strategy

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));}

This slideshow requires JavaScript.