Skip to content

CDL3WHITESOLDIERS

Summary

A three-candle pattern of consecutive white candles with progressively higher closes, each opening within/near the prior body and each with a very short upper shadow. It is a bullish reversal signal. A hit (+100) is bullish, signaling a reversal (most meaningful in a downtrend, which the code does not verify).

Notes

  • Does not verify the prior downtrend the pattern classically assumes for significance.

Inputs

  • inPriceOHLC — OHLC price series (open, high, low, close)

Outputs

  • outInteger — +100 when the pattern is detected, 0 otherwise; never negative (three white soldiers is always bullish)

Implementation

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

Native File
C ta_CDL3WHITESOLDIERS.c
Rust cdl3whitesoldiers.rs
Java Core.java

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

Aliases

Three Advancing White Soldiers, Three White Soldiers

See Also

CDL3BLACKCROWS · CDLADVANCEBLOCK · CDLIDENTICAL3CROWS