CDLHARAMICROSS
Summary
A two-candle reversal pattern: a long real body followed by a doji whose real body is contained within the first candle's real body (the doji variant of the Harami). Bullish after a black first candle, bearish after a white first candle. A hit signals a potential reversal: +100/+80 bullish (black first candle), -100/-80 bearish (white first candle).
Notes
- Does not verify the prior trend (downtrend for bullish, uptrend for bearish) that the reversal signal assumes.
Inputs
inPriceOHLC— Open, High, Low, Close price series
Outputs
outInteger— +100/+80 when the first candle is black (bullish), -100/-80 when the first candle is white (bearish), 0 otherwise. Magnitude 100 for strict containment inside the first body, 80 when one real-body end matches
Implementation
TA-Lib Definition: cdlharamicross.c · cdlharamicross.yaml
| Native | File |
|---|---|
| C | ta_CDLHARAMICROSS.c |
| Rust | cdlharamicross.rs |
| Java | Core.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Harami Cross