CDLTRISTAR
CDLTRISTAR
Summary
A three-candle pattern of three consecutive doji where the middle doji is a star (its body gaps away from the first). Bullish or bearish reversal signal. +100 = bullish reversal (middle doji gapped down), -100 = bearish reversal (middle doji gapped up).
Notes
- This reversal pattern does not verify the prior trend it 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 (bullish, star gapped down), -100 (bearish, star gapped up), or 0 when no pattern. Both signs are emitted
Properties
Numerical Stability: Start-Independent
| Display Flags |
|---|
| ☐ Overlap Input |
| ✅ Independent Y-Axis i |
| ✅ Candlestick i |
Implementation
TA-Lib Definition: cdltristar.c · cdltristar.yaml
| Native | File |
|---|---|
| C | ta_CDLTRISTAR.c |
| Rust | cdltristar.rs |
| Java | Core_CDLTRISTAR.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Tristar Pattern, Tri-Star
See Also
CDLDOJI · CDLDOJISTAR · CDLMORNINGDOJISTAR · CDLEVENINGDOJISTAR