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.

HEIKIN ASHI Candlesticks

Heikin Ashi candlesticks requires data from the previous candle, meaning they essentially build off one another. It is this chaining effect that gives a really unique view into the market.
The ‘Calculation’ for their construction is designed to creates a ‘smoothing’ effect – filtering out the irrelevant moves, while maintaining the display of the dominant price action.

BUY : When Current close crossed above EMA of 40 period and close is greater than open and also open = low.

SELL: When open = high and current open is greater than current close and EMA of 40 period is greater than current close.

[HEIKINASHI]
BUY{
OPEN = LOW and CLOSE > OPEN and CROSSOVER(CLOSE,EMA(CLOSE,40));}

LONGEXIT{
OPEN = HIGH and CLOSE < OPEN and EMA(CLOSE,40) > CLOSE;}

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.

Volume Breakout

Volume breakout is a volume spike in a bar which is above average.

BUY :When close is greater than ema of 21 period and current volume is greater than ema of of 50 period for volume and is also greater than 1.5 times previous volume.

SELL : when ema of 50 period crossed above ema of 21 period.

BUY{
set ma1 = EMA(CLOSE,21);
set v1 = EMA(VOLUME,50);
set v2 = REF(VOLUME,1) * 1.5;
CLOSE > ma1 and VOLUME > v1 and VOLUME > v2;}

LONGEXIT{
CROSSOVER(EMA(CLOSE,50),EMA(CLOSE,21));}

This slideshow requires JavaScript.

Range Breakout

This strategy uses 50 week break out system excluding the current day.

BUY   : When Current high crossed above 50 week (350 days) high .
SELL : When Current low crossed below EMA of period 9.
BUY{
set hv = MAX(HIGH,350);
set ma1 = EMA(CLOSE,5); 
CROSSOVER(ma1,hv);}

LONGEXIT{
CROSSOVER(EMA(CLOSE,9),LOW);}

B

 

MACD With Bollinger Bands

We used Moving Average Convergence/Divergence (MACD) indicator to identify the direction of the market and to avoid whipsaw in a sideways market we added Bollinger Bands.

BUY : When MACD Crossed Above MACD Signal and Current High is greater than Bollinger Band Top.

SELL : When MACD Crossed Below MACD Signal and Current Low is Lower than Bollinger Band Bottom.

BUY{
SET a = MACDSignal(13,26,9,SIMPLE);
SET b = MACD(13,26,9,SIMPLE);
SET Bottom = BBB(CLOSE,12,2,SIMPLE);
SET Top = BBT(CLOSE,12,2,SIMPLE);
CROSSOVER(b,a) and HIGH>Top;}

b

SELL{
SET a = MACDSignal(13,26,9,SIMPLE);
SET b = MACD(13,26,9,SIMPLE);
SET Bottom = BBB(CLOSE,12,2,SIMPLE);
SET Top = BBT(CLOSE,12,2,SIMPLE);
CROSSOVER(a,b) and LOW<Bottom;} 

s

CANDLESTICK PATTERNS Cntd.

Greek Language (GL) provides a simple, built-in function that can identify one of the two-dozen predefined candlestick patterns as mentioned below :

BUY{
CSP() =BULLISH_HAMMER;}

bullish hammer

SELL{
CSP() =BEARISH_BELT_HOLD;} 

BEARISH_BELT_HOLD

SELL{
CSP() =BULLISH_MATCHING_LOW;} 

BULLISH_MATCHING_LOW

MAX And MIN Function

Predefined Function in Greek Language (GL), MAX and MIN Function returns a  vector containing a running Maximum Or Minimum value , excluding current.

BUY  :  Current High crosses Above previous highest high value for Today.
LONGEXIT : Current High crosses below to EMA of 5 Period.

SELL : Current low Crosses below previous lowest low value for Today.
SHORTEXIT : Current High crosses below to EMA of 5 Period.

BUY{
set bc = BARCOUNT(TODAY);
set hv = MAX(HIGH, bc);
CROSSOVER(HIGH,hv);}

LONGEXIT{
CROSSOVER(EMA(CLOSE,5),HIGH);}

1

Similarly,

SELL{
set bc = BARCOUNT(TODAY);
set lv = MIN(HIGH, bc);
CROSSOVER(lv,LOW);}

SHORTEXIT{
CROSSOVER(EMA(CLOSE,5),HIGH);}

2