CDLEVENINGDOJISTAR
CDLEVENINGDOJISTAR
Summary
A three-candle bearish reversal pattern: a long white candle, a doji that gaps up (the star), then a black candle closing well down into the first candle's body. A stricter Evening Star whose middle candle must be a doji. Hit (-100) signals a bearish top reversal.
Notes
- Does not verify the preceding uptrend the bearish reversal classically assumes.
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 the pattern is detected, 0 otherwise. Always bearish; never emits +100
Parameters
| Parameter | Type | Default | Accepted values | Description |
|---|---|---|---|---|
optInPenetration | real | 0.3 | ≥ 0 | Fraction of the 1st real body the 3rd candle's close must penetrate; larger demands a deeper close into the first body |
Properties
Numerical Stability: Start-Independent
| Display Flags |
|---|
| ☐ Overlap Input |
| ✅ Independent Y-Axis i |
| ✅ Candlestick i |
Implementation
TA-Lib Definition: cdleveningdojistar.c · cdleveningdojistar.yaml
| Native | File |
|---|---|
| C | ta_CDLEVENINGDOJISTAR.c |
| Rust | cdleveningdojistar.rs |
| Java | Core_CDLEVENINGDOJISTAR.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Evening Doji Star
See Also
CDLEVENINGSTAR · CDLMORNINGDOJISTAR · CDLDOJISTAR · CDLABANDONEDBABY