Advance Block (CDLADVANCEBLOCK)
Summary
Three-candle bearish reversal pattern: three white candles with consecutively higher closes whose advance weakens (progressively smaller bodies and/or lengthening upper shadows). Signals that an uptrend's advance is being blocked. A hit (-100) is bearish: the advance is stalling/blocked; meaningful mainly within an existing uptrend.
Notes
- Does not verify the prior uptrend the pattern classically assumes for significance.
- Although classically read as a bearish reversal, Bulkowski's testing found the Advance Block actually acts as a bullish continuation 64% of the time. (thepatternsite.com)
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 on a detected pattern (always bearish), 0 otherwise; never emits +100
Output Values
| Value | Meaning |
|---|---|
| -100 | Advance Block pattern detected: bearish |
| 0 | No pattern |
Properties
Numerical Stability: Start-Independent
| ☐ Overlap Input |
| ✅ Independent Y-Axis i |
| ✅ Candlestick i |
| ☐ Can Output NaN or ±Inf |
| ☐ Identity at Period 1 |
Implementation
TA-Lib Definition: cdladvanceblock.c · cdladvanceblock.yaml
| Native | File |
|---|---|
| C | ta_CDLADVANCEBLOCK.c |
| Rust | cdladvanceblock.rs |
| Java | Core_CDLADVANCEBLOCK.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Advance Block
See Also
CDL3WHITESOLDIERS · CDLDELIBERATION · CDLSTALLEDPATTERN