Two Crows


Function Name: two_crows

Tags: None

Category: Candlestick, Pattern

The two crows candlestick pattern is a bearish reversal signal. The first candlestick in the formation is a long white (green) candlestick that closes near its high. The second candle gaps away from the previous days close, but finishes near its low, which is still above the high of the first candle. The last candle opens inside the body of the second candle, but sells off to fill the gap between the first and second candle. On quick glance the two crows pattern will resemble the dark cloud cover.

Recognition criteria:

1. Market is in an uptrend.

2. The first candlestick is long white that closes near its high.

3. The second candle gaps up and closes near its low.


4. Second candle's low is above 1st candle's high.

5. The last candle opens inside the second candle's body and closes inside the first candle's body.

6. The last candle's close is in upper half of the first candle's real body.



AvgBodyHeightPeriod: The number of body heights that are averaged to form the body length baseline.

LongBodyRelativeThresh: Baseline multiple used to form the threshold for "long body".

MaxShadowRelativeSize: Maximum length of a shadow relative to the candle's body used for the "close near its low (high)" criteria. (See Recognition criteria No.2 and No.3)

UseTrendCondition: If false, then the first criterion is not tested.

UseStrictGapCondition: If false, then the criterion No.4 is not tested.

LastBarCloseInUpperHalf: If false, then criterion No. 6 is not tested.

ShowTraderMark, ShowTraderBar: Display control flags.





Default Value: 14  |  Minimum: 1  |  Maximum: 999


Type: Numeric



Default Value: 1  |  Minimum: 0  |  Maximum: 10


Type: Numeric



Default Value: 0.20000000000000001  |  Minimum: 0  |  Maximum: 1


Type: Numeric



Default Value: -1


Type: Boolean



Default Value: -1


Type: Boolean



Default Value: -1


Type: Boolean



Default Value: -1


Type: Boolean



Default Value: -1


Type: Boolean