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.

Advertisements

Wilder’s Directional Movement System

The ADX (Average Directional Movement Index) is an indicator of how much the market is trending, either up or down: the higher the ADX line, the more the market is trending and the more suitable it becomes for a trend-following system.

BUY : When RSI crossed above 53 line and ADX greater than 25.
SELL : When RSI crossed above 80 line and ADX greater than 25.

 

BUY{
set rs = RSI(CLOSE,17);
set ad = ADX(14);
CROSSOVER(rs,53) and ad>25;}

LONGEXIT{
set rs = RSI(CLOSE,17);
set ad = ADX(14);
crossover(rs,80) and ad>25;}

This slideshow requires JavaScript.