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.

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.