Three Stars In The South (CDL3STARSINSOUTH)
Summary
A three-candle bullish reversal pattern of three consecutive black candles that progressively shrink and stabilize: a long black candle with a long lower shadow, a smaller black candle probing lower, then a small black marubozu contained within the second candle's range. A hit signals a bullish reversal; it is meaningful in a downtrend, which the function does not verify.
Notes
- Does not verify the prior downtrend the pattern classically assumes for significance.
- Thomas Bulkowski's statistical study found this has the best reversal rate of the 103 candlestick patterns he tracked (86% bullish reversal) — but that rests on just 9 occurrences in 4.7 million candle lines, and its overall post-breakout performance ranks dead last, 103rd of 103. (thepatternsite.com)
Inputs
inOpen— Open price of each barinHigh— High price of each barinLow— Low price of each barinClose— Close price of each bar
Outputs
outInteger— +100 on the bar where the pattern completes (always bullish), 0 otherwise. Never emits -100
Output Values
How to read these values from the output's flags: rW7.
| Value | Meaning |
|---|---|
| 0 | No pattern |
| 100 | Three Stars In The South detected — a bullish bottom-reversal signal, most meaningful after a downtrend (unverified by the function) |
Properties
Numerical Stability: Start-Independent
| ☐ Overlap Input |
| ✅ Independent Y-Axis i |
| ✅ Candlestick i |
| ☐ Can Output NaN or ±Inf |
| ☐ Identity at Period 1 |
| ☐ Display Shift |
| ☐ Uses Transcendental |
| ☐ Input Must Be Positive |
Implementation
TA-Lib Definition: cdl3starsinsouth.c · cdl3starsinsouth.yaml
| Native | File |
|---|---|
| C | ta_CDL3STARSINSOUTH.c |
| Rust | cdl3starsinsouth.rs |
| Java | Core_CDL3STARSINSOUTH.java |
| C# | Core_CDL3STARSINSOUTH.cs |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Three Stars In The South