CANDLESTICK PATTERN CNTD.

BUY{
SET PC3 = REF(CLOSE,3);
SET PC2 = REF(CLOSE,2);
SET PC1 = REF(CLOSE,1);
SET PO3 = REF(OPEN,3);
SET PO2 = REF(OPEN,2);
SET PO1 = REF(OPEN,1);
PC3 < PO3 AND PC2 > PO2 AND PC1 > PO1 AND PC1 > PO3;}

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

This slideshow requires JavaScript.

Advertisements

Parabolic Stop and Reversal (Parabolic SAR)

Author Welles Wilder developed the Parabolic SAR. This indicator is always in the market (whenever a position is closed, an opposing position is taken). The Parabolic SAR indicator is most often used to set trailing price stops.

BUY{
SET PS = PSAR(0.2,0.02);
SET MA = EMA(PS,21);
SET MA2 = SMA(CLOSE,50);
CROSSOVER(MA,PS) AND CLOSE < MA2;}

LONGEXIT{
SET PS = PSAR(0.2,0.02);
SET MA = EMA(PS,21);
SET MA2 = SMA(CLOSE,50);
CROSSOVER(PS,MA) AND CLOSE > MA2;} 

This slideshow requires JavaScript.

Volume Oscillator (V.O.)

The Volume Oscillator shows a spread of two different moving averages of volume over a
specified period of time.

BUY{
SET VOS = VO(9,21,SIMPLE,PERCENT);
SET MA = EMA(CLOSE,21);
LOW > MA AND VOS > 20;}

LONGEXIT{
SET VOS = VO(9,21,SIMPLE,PERCENT);
SET MA = EMA(CLOSE,21);
HIGH < MA AND VOS > 20;}

SELL{
SET VOS = VO(9,21,SIMPLE,PERCENT);
SET MA = EMA(CLOSE,21);
HIGH < MA AND VOS > 20;}

SHORTEXIT{
SET VOS = VO(9,21,SIMPLE,PERCENT);
SET MA = EMA(CLOSE,21);
LOW > MA AND VOS > 20;}

This slideshow requires JavaScript.

Double (D-EMA) and Triple Exponential Moving Average (T-EMA)

D-EMA and T-EMA apply more weight to the most recent data in an attempt to smooth out noise while still remaining highly reactive to changes in the data.

D-EMA = 2*EMA – EMA(EMA)

Triple Exponential MA Formula:

T-EMA = (3*EMA – 3*EMA(EMA)) + EMA(EMA(EMA))

 

BUY{
SET MA = EMA(CLOSE,9);
SET MM = EMA(MA,5);
SET 2MA = 2 * MA;
SET DMA1 = 2MA - MM;
SET 3MA = 3 * MA;
SET 3MM = 3 * MM;
SET MMM = EMA(MM,21);
SET TMA1 = 3MA - 3MM - MMM;
SET RM = RMI(CLOSE,15,15);
CROSSOVER(TMA1,DMA1) AND RM < 25;}

SELL{
SET MA = EMA(CLOSE,9);
SET MM = EMA(MA,5);
SET 2MA = 2 * MA;
SET DMA1 = 2MA - MM;
SET 3MA = 3 * MA;
SET 3MM = 3 * MM;
SET MMM = EMA(MM,21);
SET TMA1 = 3MA - 3MM - MMM;
SET RM = RMI(CLOSE,15,15);
CROSSOVER(DMA1,TMA1) AND RM > 70;}

This slideshow requires JavaScript.