Chaikin Volatility (CV)

The Chaikin Volatility Oscillator is a moving average derivative of the Accumulation / Distribution index. This indicator quantifies volatility as a widening of the range between the high and the low price.

 

BUY{
SET VOL = CV(50,2,SIMPLE);
SET TRIG = REF(VOL,1) * 3;
SET MA = SMA(CLOSE,100);
VOL >= TRIG AND REF(VOL,1) > 0.1 AND CLOSE > MA;}

LONGEXIT{
SET MA = EMA(CLOSE,9);
CROSSOVER(MA,CLOSE);}

SELL{
SET VOL = CV(50,2,SIMPLE);
SET TRIG = REF(VOL,1) * 3;
SET MA = SMA(CLOSE,100);
VOL >= TRIG AND REF(VOL,1) > 0.1 AND CLOSE < MA;}

SHORTEXIT{
SET MA = EMA(CLOSE,9);
CROSSOVER(CLOSE,MA);}

This slideshow requires JavaScript.

Advertisements

Median Price (MP) And Weighted Moving Average (WMA)

A Median Price is simply an average of one period’s high and low
values.A Weighted Moving Average places more weight on recent
values and less weight on older values.

 

BUY{
SET MA200 = EMA(CLOSE,200);
SET MD = MP();
SET MA = WMA(MD,50);
MD > MA AND CLOSE > MAX(HIGH, 10) AND CLOSE > MA200;}

SELL{
SET MA200 = EMA(CLOSE,200);
SET MD = MP();
SET MA = WMA(MD,50);
MD < MA AND CLOSE < MIN(LOW, 10) AND CLOSE < MA200;}

This slideshow requires JavaScript.

CANDLESTICK PATTERN

 

BUY{
SET BODY = CLOSE-OPEN;
SET SHADOW = HIGH-CLOSE;
SHADOW > BODY * 3 AND CLOSE > OPEN AND BODY > 1.1;}

SELL{
SET BODY = OPEN-CLOSE;
SET SHADOW = HIGH-OPEN;
SHADOW > BODY * 3 AND CLOSE < OPEN AND BODY > 1.1;}

This slideshow requires JavaScript.

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.

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