CDLSTICKSANDWICH
Summary
A three-candle bullish reversal pattern: two black candles (1st and 3rd) sandwiching a white candle, where the 3rd black candle closes at the same level as the 1st (the "bread"). A hit signals a bullish reversal (code comment notes it is significant in a downtrend, which the function does not verify).
Inputs
inPriceOHLC— OHLC price series (open, high, low, close)
Outputs
outInteger— +100 when the pattern is present, 0 otherwise. Never -100 — Stick Sandwich is always bullish
Implementation
TA-Lib Definition: cdlsticksandwich.c · cdlsticksandwich.yaml
| Native | File |
|---|---|
| C | ta_CDLSTICKSANDWICH.c |
| Rust | cdlsticksandwich.rs |
| Java | Core.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Stick Sandwich