CDLEVENINGSTAR
CDLEVENINGSTAR
Summary
A three-candle bearish reversal pattern: a long white candle, a short-bodied star gapping up, then a black candle closing well down into the first candle's body. A hit signals a bearish reversal (most significant in an uptrend).
Notes
- Does not verify the preceding uptrend the bearish reversal classically assumes.
- The third candle only needs a body longer than short, not the full long body some definitions require.
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 when detected (always bearish), 0 otherwise. Never emits +100
Parameters
| Parameter | Type | Default | Accepted values | Description |
|---|---|---|---|---|
optInPenetration | real | 0.3 | ≥ 0 | Fraction of the 1st candle's real body the 3rd close must penetrate below the 1st close; larger requires deeper penetration |
Properties
Numerical Stability: Start-Independent
| Display Flags |
|---|
| ☐ Overlap Input |
| ✅ Independent Y-Axis i |
| ✅ Candlestick i |
Implementation
TA-Lib Definition: cdleveningstar.c · cdleveningstar.yaml
| Native | File |
|---|---|
| C | ta_CDLEVENINGSTAR.c |
| Rust | cdleveningstar.rs |
| Java | Core_CDLEVENINGSTAR.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Evening Star
See Also
CDLEVENINGDOJISTAR · CDLMORNINGSTAR · CDLMORNINGDOJISTAR · CDLSTARSINSOUTH