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.

Advertisements

Price Volume Trend (PVT)-Ehler Fisher Transform (EFT) Strategy

It is also known as Volume Price Trend. This indicator consists of a cumulative volume that adds or subtracts a multiple of the percentage change in price trend and current volume, depending upon their upward or downward movements.
Fisher transform is a indicator designed for price reversal signal. It is based on the assumption that prices do not have a normal probability density function but gaussian probability density function.

BUY :When PVT crosses above 10% more than previous PVT.
SELL : when signal line crosses above ETF line.

BUY{
SET PV = PVT(CLOSE);
SET PPV = REF(PV,1) * 1.1;
CROSSOVER(PV,PPV);}
SELL{
SET EF = EFT(21);
SET EFTRIG = EFTTIGGER(21); 
CROSSOVER(EFTRIG,EF);}

This slideshow requires JavaScript.

Ichimoku Cloud Trading Strategy

Ichimoku Cloud system provides Analysts with a means to identify a trading bias, identify corrections and time turning points.The cloud identify support and resistance and provides a longer perspective on the price trend.

BUY : When current close crossed above Base Line and greater than SPAN A Line                   and SPAN A Line is greater than SPAN B Line.

SELL : When current close crossed below Base Line and lower than SPAN A Line                    and  SPAN A Line is lower than SPAN B Line.

BUY{
SET H9 = MAX(HIGH,9);
SET L9 = MIN(LOW,9);
SET H26 = MAX(HIGH,26);
SET L26 = MIN(LOW,26);
SET H52 = MAX(HIGH,26);
SET L52 = MIN(LOW,26);
SET ten = (H9 + L9)/2;
SET BL = (H26 + L26)/2;
SET spanA = (ten + BL)/2;
SET spanB = (H52 + L52)/2;
CROSSOVER(CLOSE,BL) AND CLOSE > spanA AND spanA > spanB;}
SELL{
SET H9 = MAX(HIGH,9);
SET L9 = MIN(LOW,9);
SET H26 = MAX(HIGH,26);
SET L26 = MIN(LOW,26);
SET H52 = MAX(HIGH,26);
SET L52 = MIN(LOW,26);
SET ten = (H9 + L9)/2;
SET BL = (H26 + L26)/2;
SET spanA = (ten + BL)/2;
SET spanB = (H52 + L52)/2;
CROSSOVER(BL,CLOSE) AND CLOSE < spanA AND spanA < spanB;}

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.

Stochastic Momentum Index(SMI)-Parabolic Stop and Reversal(PSAR) Strategy

SMI shows where the close is relative to the midpoint of the same range.PSAR trails price as the trend extends over time. The indicator is below prices when prices are rising and above prices when prices are falling.

BUY : When current close crossed above PSAR and SMI %K LINE crossed above %D line and EMA 9 period is greater than EMA 21 period.

SELL : When current close crossed below PSAR and SMI %K LINE crossed above %D line and EMA 9 period is greater than EMA 21 period.

BUY{
set ma1 = EMA(CLOSE,9);
set ma2 = EMA(CLOSE,15);
set smik = SMIK(14,2,3,9,SIMPLE,SIMPLE) ;
set smid = SMId(14,2,3,9,SIMPLE,SIMPLE) ;
CROSSOVER(CLOSE,PSAR(0.2,0.02)) and CROSSOVER(smik,smid) and ma1 > ma2;}
LONGEXIT{
set ma1 = EMA(CLOSE,9);
set ma2 = EMA(CLOSE,15);
set smik = SMIK(14,2,3,9,SIMPLE,SIMPLE) ;
set smid = SMId(14,2,3,9,SIMPLE,SIMPLE) ;
CROSSOVER(PSAR(0.2,0.02),CLOSE) or CROSSOVER(smid,smik) and ma1 < ma2;}

This slideshow requires JavaScript.