Elder Ray Bull Power (ERP) AND Elder Ray Bear Power (ERBP)

Elder-Ray Bull Power Index is a technical indicator developed by Alexander Elder. It measures the amount of buying momentum in the market.Elder-Ray Bear Power developed by Alexander Elder, measures the amount of selling momentum in the market.

 

BUY{
SET BUP = ERP(13,EXPONENTIAL);
SET BEP = ERBP(13,EXPONENTIAL); 
BUP > 0.001 AND BEP < 0.001 ;}

SELL{
SET BEP = ERBP(13,EXPONENTIAL); 
SET BUP = ERP(13,EXPONENTIAL);
BEP > 0.001 AND BUP < 0.001;}

This slideshow requires JavaScript.

Advertisements

Weighted Moving Average (WMA) And Weighted Close (WC)

A Weighted Moving Average places more weight on recent values and less weight on older values.Weighted Close is an average of each day’s open, high, low, and close, where more weight is placed on the close.

BUY : crossover of WMA and average of Weighted close
SELL: crossover of average of Weighted close and WMA

BUY{
SET WC = WC();
SET SWC = SMA(WC,50); 
SET WM = WMA(CLOSE,21);
CROSSOVER(WM,SWC);}

SELL{
SET WC = WC();
SET SWC = SMA(WC,50); 
SET WM = WMA(CLOSE,21);
CROSSOVER(SWC,WM);}

This slideshow requires JavaScript.

Heikinashi Cntd.

BUY : when two continuous GREEN candle formed then above
high of previous candle.

SELL : when two continuous RED candle formed then below
low of previous candle.

[HEIKINASHI]
BUY{
SET PC2 = REF(CLOSE,2);
SET PC1 = REF(CLOSE,1);
SET PO2 = REF(OPEN,2);
SET PO1 = REF(OPEN,1);
PC2 > PO2 AND PC1 > PO1 AND PC1 > PC2 AND PO1 > PO2 AND 
CLOSE > REF(HIGH,1);}

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

SELL{
SET PC2 = REF(CLOSE,2);
SET PC1 = REF(CLOSE,1);
SET PO2 = REF(OPEN,2);
SET PO1 = REF(OPEN,1);
PC2 < PO2 AND PC1 < PO1 AND PC1 < PC2 AND PO1 < PO2 AND 
CLOSE < REF(LOW,1);}

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

This slideshow requires JavaScript.

Bollinger Bands Squeeze Breakout

The Bollinger Band Squeeze is straightforward strategy which look for securities with narrowing Bollinger Bands and low BandWidth levels. An upside bank break is bullish,
while a downside bank break is bearish. Narrowing bands infer that volatility is contracting and chartists should be prepared for a volatility expansion, which means a
directional move.

BUY : close > Keltner band top and close > bollinger band top
Sell : close < Keltner band bottom and close < bollinger band bottom

BUY{
SET KT = KCT(14,SIMPLE,1.1);
SET BT = BBT(CLOSE,10,1,SIMPLE);
CLOSE > BT AND CLOSE > KT;}

LONGEXIT{
SET BM = BBB(CLOSE,10,1,SIMPLE);
HIGH < BM;}

SELL{
SET KB = KCB(14,SIMPLE,1.1); 
SET BB = BBB(CLOSE,10,1,SIMPLE); 
CLOSE < BB AND CLOSE < KB;}

SHORTEXIT{
SET BM = BBM(CLOSE,10,1,SIMPLE);
LOW > BM;}

This slideshow requires JavaScript.

Heikinashi Cntd

BUY : when TMA(50 Period) < Close and current volume > previoue volume*20
SELL : when TMA (50 Period)> Close and current volume > previoue volume*20

[HEIKINASHI]
BUY{
SET tma1 = TMA(CLOSE,50);
CLOSE > tma1 and VOLUME > REF(VOLUME,1)*20;}

LONGEXIT{
CLOSE < OPEN;}

SELL{
SET tma1 = TMA(CLOSE,50);
tma1 > CLOSE and VOLUME > REF(VOLUME,1)*20;}

SHORTEXIT{
CLOSE > OPEN;}

This slideshow requires JavaScript.

Weighted Moving Average (WMA) With Bollinger Bands

A Weighted Moving Average places more weight on recent values and less weight on older values. Bollinger bands rely on standard deviations in order to adjust to changing market conditions. When a stock becomes volatile the bands widens (move further away from the average). Conversely, when market becomes less volatile the bands contracts (move closer to the average).

SMA(CLOSE,9)  : Simple Moving Average of 9 period on Close
EMA(ma1,9)      : Exponential Moving Average of 9 period on SMA
WMA(ma2,5)    : Weighted Moving Average of 5 period on EMA

BUY{
SET ma1 = SMA(CLOSE,9);
SET ma2 = EMA(ma1,9);
SET ma3 = WMA(ma2,5);
SET vol = SMA(VOLUME,10);
SET bbt = BBT(CLOSE,10,2,SIMPLE); 
SET smab = SMA(bbt,50);
CROSSOVER(ma1,ma3) and CLOSE > bbt and VOLUME > vol and CLOSE > smab AND EMA(ma1,9) > SMA(bbt,50);}
SELL{
SET ma1 = SMA(CLOSE,9);
SET ma2 = EMA(ma1,9);
SET ma3 = WMA(ma2,5);
CROSSOVER(ma3,ma1);}

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.

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.

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