CDL2CROWS
CDL2CROWS
Summary
Three-candle bearish reversal pattern: a long white candle, then a black candle gapping up, then a black candle that opens inside the second body and closes down inside the first white body. A hit (-100) signals a bearish reversal; significant in an uptrend, which this function does not verify.
Notes
- Does not verify the prior uptrend the pattern classically assumes for significance.
Inputs
inOpen— Open price of each barinHigh— High price of each barinLow— Low price of each barinClose— Close price of each bar
Outputs
outInteger— -100 on a detected pattern (always bearish), 0 otherwise. Never emits +100
Properties
Numerical Stability: Start-Independent
| Display Flags |
|---|
| ☐ Overlap Input |
| ✅ Independent Y-Axis i |
| ✅ Candlestick i |
Implementation
TA-Lib Definition: cdl2crows.c · cdl2crows.yaml
| Native | File |
|---|---|
| C | ta_CDL2CROWS.c |
| Rust | cdl2crows.rs |
| Java | Core_CDL2CROWS.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Two Crows