CDLMORNINGSTAR
Summary
A three-candle bottom-reversal pattern: a long black candle, a small-bodied star gapping down, then a white candle closing well up into the first candle's body. Bullish reversal signal. A hit signals a bullish reversal (most meaningful after a downtrend, which the code does not check).
Notes
- The gap-down is measured between the candles' real bodies, not between their high/low ranges.
- A prior downtrend is not verified.
Inputs
inPriceOHLC— Open, High, Low, Close price series
Outputs
outInteger— +100 when the morning star is detected, 0 otherwise. Never negative (pattern is exclusively bullish)
Parameters
optInPenetration— Fraction of the 1st candle's body the 3rd close must exceed above the 1st close; larger = deeper penetration required (default 0.3)
Implementation
TA-Lib Definition: cdlmorningstar.c · cdlmorningstar.yaml
| Native | File |
|---|---|
| C | ta_CDLMORNINGSTAR.c |
| Rust | cdlmorningstar.rs |
| Java | Core.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Morning Star
See Also
CDLMORNINGDOJISTAR · CDLEVENINGSTAR · CDLABANDONEDBABY · CDLDOJISTAR