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.

Advertisements

Swing Trading

This strategy uses RSI and ADX combination to find Buy/Sell opportunities.

BUY : When EMA of 21 period crossed above of EMA of 50 period and Stochastic %K line crossed above 20 line and candlestick pattern is HAMMER.

SELL : When EMA of 21 period crossed above of EMA of 15 period and Stochastic %K line crossed above 80 line

BUY{
set ma1 = EMA(CLOSE,21);
set ma2 = EMA(CLOSE,50);
set sok = SOPK(9,3,9,SIMPLE);
ma1 > ma2 and CROSSOVER(sok,20) and CSP()=HAMMER;}

LONGEXIT{
set ma1 = EMA(CLOSE,15);
set ma2 = EMA(CLOSE,21);
set sok = SOPK(9,3,9,SIMPLE);
sok > 80 and ma1<ma2;}

This slideshow requires JavaScript.