CDLHIGHWAVE
CDLHIGHWAVE
Summary
Single-candle pattern: a short real body with both a very long upper and a very long lower shadow. Signals market indecision; the output sign reports only candle color, not a bullish/bearish direction. A hit marks indecision (long-legged candle); not directional - sign encodes only the candle's color.
Formula
One candle at index i. Hit when all hold: (1) short real body: real body < the BodyShort average; (2) very long upper shadow: upper shadow > the ShadowVeryLong average; (3) very long lower shadow: lower shadow > the ShadowVeryLong average. No color, gap, or trend condition.
Inputs
inOpen— Open price of each barinHigh— High price of each barinLow— Low price of each barinClose— Close price of each bar
Outputs
outInteger— On a hit, +100 when the candle is white (close >= open) or -100 when black (close < open); 0 otherwise. Sign denotes color, NOT bull/bear
Properties
Numerical Stability: Start-Independent
| Display Flags |
|---|
| ☐ Overlap Input |
| ✅ Independent Y-Axis i |
| ✅ Candlestick i |
Implementation
TA-Lib Definition: cdlhighwave.c · cdlhighwave.yaml
| Native | File |
|---|---|
| C | ta_CDLHIGHWAVE.c |
| Rust | cdlhighwave.rs |
| Java | Core_CDLHIGHWAVE.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
High-Wave Candle, High Wave
See Also
CDLLONGLEGGEDDOJI · CDLSPINNINGTOP · CDLRICKSHAWMAN · CDLDOJI