CDLXSIDEGAP3METHODS
Summary
A three-candle continuation pattern: two same-color candles separated by a real-body gap, followed by an opposite-color candle that fills into the gap. Bullish (upside) when the first two candles are white, bearish (downside) when they are black. A hit signals trend continuation: +100 bullish (uptrend resumes), -100 bearish (downtrend resumes).
Notes
- This continuation pattern does not verify the prior trend it classically assumes; the caller must confirm the trend.
Inputs
inPriceOHLC— Open, High, Low, Close price series
Outputs
outInteger— +100 when the two same-color candles are white (bullish/upside continuation), -100 when black (bearish/downside continuation), 0 otherwise. Equals candlecolor(1st candle) * 100
Implementation
TA-Lib Definition: cdlxsidegap3methods.c · cdlxsidegap3methods.yaml
| Native | File |
|---|---|
| C | ta_CDLXSIDEGAP3METHODS.c |
| Rust | cdlxsidegap3methods.rs |
| Java | Core.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Upside/Downside Gap Three Methods, Upside Gap Three Methods, Downside Gap Three Methods