Skip to content

CDL3OUTSIDE

Summary

A three-candle pattern: an engulfing pair (candle 2's body fully engulfs candle 1's body) followed by a third candle that confirms in the engulfing direction. Signals a bullish reversal (Three Outside Up) or bearish reversal (Three Outside Down). +100 = bullish reversal (Three Outside Up); -100 = bearish reversal (Three Outside Down).

Notes

  • Does not verify the prior trend the pattern classically assumes (three outside up is meaningful in a downtrend, three outside down in an uptrend).

Inputs

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

Outputs

  • outInteger — +100 for Three Outside Up (bullish), -100 for Three Outside Down (bearish), 0 when no pattern. Emits both signs; value is candle i-1's color * 100

Implementation

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

Native File
C ta_CDL3OUTSIDE.c
Rust cdl3outside.rs
Java Core.java

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

Aliases

Three Outside Up/Down, Three Outside

See Also

CDL3INSIDE · CDLENGULFING · CDL3LINESTRIKE