Williams Accumulation / Distribution (WAD) AND Keltner Channels

Keltner channels are calculated from the Average True Range and shifted up and down from the median based on the multiplier.The Accumulation / Distribution indicator shows a relationship of price and volume.

BUY{
SET KT = KCT(21,SIMPLE,1.1); 
SET KB = KCB(21,SIMPLE,1.1); 
SET WD = WAD();
SET MA = EMA(WD,50);
WD > MA AND CLOSE > KB AND REF(CLOSE,1) < REF(KB,1);}

LONGEXIT{
SET KT = KCT(21,SIMPLE,1.1); 
SET KB = KCB(21,SIMPLE,1.1); 
SET WD = WAD();
SET MA = EMA(WD,50);
CROSSOVER(MA,WD);}

SELL{
SET KT = KCT(21,SIMPLE,1.1); 
SET KB = KCB(21,SIMPLE,1.1); 
SET WD = WAD();
SET MA = EMA(WD,50);
MA > WD AND CLOSE < KT AND REF(KT,1) < REF(CLOSE,1);}

SHORTEXIT{
SET KT = KCT(21,SIMPLE,1.1); 
SET KB = KCB(21,SIMPLE,1.1); 
SET WD = WAD();
SET MA = EMA(WD,50);
CROSSOVER(WD,MA);}

This slideshow requires JavaScript.

Advertisements

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.

Use Of Volume Rate of Change (VROC)

The Volume Rate of Change indicator shows whether or not volume is
trending in one direction or another.

 

BUY{
SET MA1 = EMA(CLOSE,9);
SET MA2 = EMA(CLOSE,21);
SET VR = VROC(VOLUME,21);
SET MA = SMA(VR,21);
MA > REF(MA,1)*10 AND MA1 > MA2;}

LONGEXIT{
SET MA1 = EMA(CLOSE,9);
SET MA2 = EMA(CLOSE,21);
SET VR = VROC(VOLUME,21);
SET MA = SMA(VR,21);
MA*10 < REF(MA,1) AND MA1 < MA2;}

This slideshow requires JavaScript.

Counting No Of Crossovers Using CIF Function

CIF Returns a vector representing the total number of times the specified condition evaluated to TRUE in intraday period only.

BUY{
SET CND = CROSSOVER(EMA(CLOSE,5),EMA(CLOSE,13));
CIF(CND>=1) = 2;}

LONGEXIT{
SET CND = CROSSOVER(EMA(CLOSE,5),EMA(CLOSE,13));
CIF(CND>=1) > 6;}

This slideshow requires JavaScript.

USE OF CROSSOVER Function :

The CROSSOVER function helps you one series has crossed over another. For
example, we can find the exact point in time when one moving average
crossed over another by using the CROSSOVER function:

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

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

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

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

1

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.

Finding the Maximum VOLUME

BUY : Current Volume > Maximum Volume for the Day (excluding current bar) * 3

BUY{
SET BC = BARCOUNT(TODAY);
SET MVOL = MAX(VOLUME, BC);
VOLUME > MVOL * 3;}

This slideshow requires JavaScript.