CANDLESTICK PATTERN CNTD.

BUY{
SET C1 = REF(CLOSE,1);
SET C2 = REF(CLOSE,2);
SET C3 = REF(CLOSE,3);
SET O1 = REF(OPEN,1);
SET O2 = REF(OPEN,2);
SET O3 = REF(OPEN,3);
O3 > C3 AND O2 > C2 AND O1 > C1 AND CLOSE > OPEN AND CLOSE > MAX(HIGH,4);}

LONGEXIT{
CLOSE > REF(CLOSE,1) * 1.022;}

This slideshow requires JavaScript.

Advertisements

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.

CANDLESTICK PATTERNS

Greek Language (GL) provides a simple, built-in function that can identify one of the two dozen predefined candlestick patterns as mentioned below :

BUY{
CSP() =MORNING_STAR;}

LONGEXIT{
CSP() =EVENING_STAR;}

morningstar_eveningstar

Similarly,

SELL{
CSP() =HANGING_MAN;}
SELL{
CSP() =DARK_CLOUD_COVER;} 

darkcloudcover

SELL{
CSP() =BEARISH_ENGULFING_LINE;} 

Bearish Engulfing