Skip to content

CDLGAPSIDESIDEWHITE

Summary

A three-candle pattern: a first candle followed by two white candles of similar body size that both gap the same direction (up or down) from the first candle's real body and open at about the same level. It is a continuation signal whose sign reports the gap direction; the code does not verify a prior trend. A hit signals continuation in the gap's direction: +100 with an upside gap is bullish, -100 with a downside gap is bearish.

Notes

  • Does not verify the prior trend the continuation signal classically assumes.

Inputs

  • inPriceOHLC — Open, High, Low, Close price series

Outputs

  • outInteger — +100 for an up-gap (bullish continuation), -100 for a down-gap (bearish continuation), 0 when no pattern. Sign is set solely by the C2-vs-C1 gap direction (realbodygapup ? 100 : -100)

Implementation

TA-Lib Definition: cdlgapsidesidewhite.c · cdlgapsidesidewhite.yaml

Native File
C ta_CDLGAPSIDESIDEWHITE.c
Rust cdlgapsidesidewhite.rs
Java Core.java

TA-Lib is also available for Python, R and more using a wrapper.

Aliases

Up/Down-gap side-by-side white lines, Gapping side-by-side white lines

See Also

CDLTASUKIGAP · CDLXSIDEGAP3METHODS