Unique Three River Bottom Candlestick Pattern Rules
The unique three river bottom candlestick pattern, its three candles, and the one condition six sources disagree about: which way the third candle closes.
The unique three river bottom is three candles at the end of a fall: a long black candle, then a smaller black candle that dips to a new low but closes back inside the first candle's body, then a small white candle. It is read as a bullish reversal even though its last candle usually closes lower than the one before it.
That last point is where the sources part company. Most put the third candle's close below the second candle's, one puts it above, and the specification that people code from declines to say. The direction you pick decides the count: on our data, one reading completes 0 times across two instruments and four timeframes, and the other completes 5.
What is the unique three river bottom?
Three candles, two black and one white, at the bottom of a decline. The open-source TA-Lib library gives the whole shape in one sentence: "A three-candle bullish reversal pattern: a long black candle, then a black harami candle that makes a lower low, then a small white candle. Signals a potential bullish reversal, ideally in a downtrend (trend not checked by the code)".
thinkorswim is the precise one, in four recognition lines:
- "The first candle is long and bearish and continues the downtrend"
- "The second candle is bearish, has a long lower shadow and its body is completely inside the previous candle's body"
- "The second candle's Low price is less than that of the first candle"
- "The third candle is small and bullish, its Close price is lower than that of the second candle"
Investment Studios gives the short name: it is the "Unique Three River Bottom, or Three River Bottom". The library's aliases are "Unique 3 River, Unique Three River Bottom".
Where to find this pattern in ChartLabs
Under one switch, called Unique Three River. The switches live inside a single indicator, 61 of them for the 61 candle patterns, and you reach that indicator from the chart's Indicators menu: Standard list, Patterns heading, the entry named Candlestick Patterns. Its marks go on the price pane with the bars.
The switch needs no setting up. It is one of the ones that arrive on, and a completed pattern puts U3R under the third candle's low. Below the low is where the indicator draws whatever it reads as bullish, and this pattern is bullish only; the bearish and the neutral patterns are drawn above the high.
It also settles, inside the app, the question the next section asks. The switch marks the published rule as written, so candle 3's close is never compared with candle 2's. The one extra thing the code asks is that candle 3 opens above candle 2's low.
Which way does the third candle close?
Down, on every source that states a direction except one. The library does not say at all, and that silence turns out to matter more than the disagreement.
What each source actually tests differs too:
| Source | Where candle 3 must sit | What it tests |
|---|---|---|
| The open-source TA-Lib library | Not stated. It asks only for "a small white candle" | - |
| thinkorswim | Below candle 2 | Its "Close price" |
| CandleScanner | Below candle 2 | "a body located below the prior body" |
| Candlesticker | Below candle 2, stated three ways on one page | "closes below the second day's close", then "forms below the second day's body", then "below the second day" with no qualifier |
| The Forex Geek | Below candle 2 | "below the true body of the second candle" |
| Investment Studios | Below candle 2 | its "body (open and close) is below the close of the second candlestick" |
| WR Trading | Above candle 2 | "closes above the second candle's close" |
A majority is not a reason on its own, so measure it. Two readings, eight cells, our own bars:
- thinkorswim's rule, with candle 3's close below candle 2's: 0 completions in all eight cells.
- The library's rule exactly as written, with no condition on candle 3's close at all: 5 completions. One on EURUSD H4 and four on GER40 at 15 minutes.
- In all five of those, candle 3 closed above candle 2's close.
So the one source whose direction is opposite to everyone else's is also the only one stating a direction whose rule a scanner would trigger on our sample. WR Trading's full reading catches exactly those five cases and nothing else.
Five completions across eight cells is not evidence for its reading. The measurement does show that the library's missing condition is doing real work: code the pattern from the library's own summary, then read a guide that tells you candle 3 closes lower, and your detector and your description disagree about every single hit on this data.
The pattern is read as a bullish reversal, and most bullish reversals end with price moving up. This one ends with a white candle that still closes lower than the candle before it.
Why is it called "unique"?
Because of exactly that: a bullish reversal whose final candle makes a lower close. Candlesticker puts it next to the pattern it most resembles, describing this one as "resembling a Bullish Morning Star". The morning star differs in its third candle, which closes back up into the first candle's body rather than below the second candle, and it has its own rules.
The library's own See Also list places this pattern in a family: the Harami, the Homing Pigeon and Three Inside Up/Down. The harami is the shape of its second candle, and the homing pigeon shares its whole opening.
What exactly must the second candle do?
Three things at once: it must be black, its body must sit inside the first candle's body, and its low must go below the first candle's low. The body is contained while the shadow is not.
Candlesticker states that double life in one sentence: on the second day "the price trades to a new low, creating a long lower shadow that extends below the previous day's low, and this candlestick's body is engulfed by the first day's body".
The containment itself is not agreed. The library states it at both ends through the word "harami", thinkorswim as "completely inside", CandleScanner as "a body within the prior body" and Candlesticker as "engulfed by the first day's body". Investment Studios states it at one end only, asking that candle 2's "body (open and close) is above the close of the first candlestick", which bounds the bottom and leaves the top free. That is a much larger population. WR Trading and The Forex Geek never state containment at all.
The long lower shadow is required by most of the sources, and two of them put a number on "long". CandleScanner asks for candle 2's "lower shadow is at least twice longer than the body". The open-source library's candle settings page publishes a long-shadow threshold of a shadow longer than the candle's own real body, although its unique three river rule itself asks for no shadow condition at all, only that candle 2 "makes a lower low". thinkorswim leaves "long" to a shadow factor input with no published default.
CandleScanner also adds a condition for candle 3 that Investment Studios shares and nobody else states: its "low price has to be above the previous low price".
One source contradicts itself here. The Forex Geek opens by calling the pattern "three successive long-bodied candlesticks with no or very little upper wicks" whose candles are "the first of which is red, the second green, and the third green". Its own condition list, three lines later, makes candle 2 "a hammer with a lower shadow that establishes a new low". A candle defined by a long lower shadow is not a long body with very little wick, and every other source makes candle 2 black rather than green.
Is there a unique three river top?
No. There is no mirror of this pattern in any source, and three separate pieces of evidence say so.
- The open-source library returns the pattern as bullish only, never bearish, and ChartLabs marks it the same way.
- thinkorswim's page sits in its
bullish-onlyfolder and publishes only a Bullish plot. - CandleScanner lists the field directly: "Opposite pattern: none". For most patterns in its dictionary that field names something.
We also built the mirror and counted it: candle 1 long white, candle 2 a white harami making a higher high with a long upper shadow, candle 3 a small black candle closing above candle 2's close. That completed 0 times in all eight cells.
How often does the unique three river bottom print?
Rarely enough that the interesting output is the chain rather than the total. One condition at a time on 16,520 EURUSD 15-minute bars:
| Condition added | Cases left |
|---|---|
| Long black candle, then a black harami inside its body | 10 |
| Candle 2's low below candle 1's low | 4 |
| The open-source library's long-shadow threshold: candle 2's shadow longer than its body | 4 |
| CandleScanner's shadow at twice the body | 4 |
| Candle 3 is a small candle | 4 |
| Candle 3 is white | 0 |
On EURUSD the killer is candle 3's colour, not the long shadow the guides write about. The shadow conditions removed nothing at all here.
GER40 behaves differently. On 15,181 of its 15-minute bars the opening skeleton happens 32 times, the lower low leaves 16, the shadow rules again remove nothing, and candle 3 is both white and small 4 times. All four of those closed above candle 2's close, so thinkorswim's rule gets 0 and the library's rule as written gets 4. There, the condition doing the killing is not the colour but the direction of the close.
Across all eight cells: thinkorswim's rule 0, CandleScanner's stricter rule 0, the library's rule as written 5, the constructed top mirror 0.
The data behind that is EURUSD, 246,778 one-minute bars, and GER40, the euro-quoted German 40 index, 225,951 one-minute bars, from 1 January to 31 August 2026, aggregated from 1-minute candles, our lowest timeframe, on history sourced from Dukascopy, tick-level where it is available, and cleaned to remove anomalies. Prices are carried in whole ticks. The daily cells are 208 and 207 bars, which is eight months, and a zero has to be read with its sample.
The test is not the reason for those zeros. Two hand-built cases taken from the specifications' own wording separate the readings on purpose: one set of three candles scores a hit for the library's rule and a miss for WR Trading's, and moving only candle 3's close reverses both.
Is it the rarest candlestick pattern?
Two sources call it rare and one of them publishes a count.
CandleScanner calls it "among the most rarely appearing candlestick patterns on the chart" and says "Its very specific form causes that it appears extremely rarely on the candlestick charts". Then it publishes its own scanner's output: across 502 S&P 500 symbols on daily candles from 1 July 1995 to 30 June 2015, in 2,236,421 candlesticks, it found 30 occurrences. On the shorter window, 1 July 2010 to 30 June 2015, 7 occurrences in 614,034 candlesticks.
CandleScanner ran the homing pigeon over the identical set, the same 502 symbols and the same 2,236,421 candlesticks, and found 7,922. Same scanner, same data, two patterns from the same family, and a ratio of about 264 to 1. That is a far better answer to "is it rare" than any adjective.
It still does not make it the rarest. CandleScanner's run is daily stock candles and ours is intraday forex and an index, so the two cannot be pooled. Our own sample puts this pattern at 0 under thinkorswim's rule, the same figure the concealing baby swallow returns on the same bars, and two patterns tied at zero cannot be ranked against each other.
How do you backtest the unique three river bottom?
Four decisions, written down before you count:
- Candle 3's direction. Getting this wrong is the difference between 0 and 5 on our sample, and it is the one the library leaves to you.
- Whether candle 3 is tested on its close or on its body. thinkorswim and Candlesticker's first wording say close; CandleScanner, Candlesticker's second wording, The Forex Geek and Investment Studios say body. Those are different tests whenever candle 3 has shadows.
- What "long" means for candle 2's lower shadow. Two numbers are published: the open-source library's long-shadow threshold, a shadow longer than the candle's own body, and CandleScanner's 2x. The counts above use the first, and on our bars neither threshold removed a single case.
- Whether candle 2's containment is one-ended or two-ended. Investment Studios is alone in using one end, and that reading admits a far larger population.
Then count the chain rather than the pattern. A single zero tells a reader nothing about which condition to loosen; 10, 4, 4, 4, 4, 0 tells them exactly where it stopped.
The Unique Three River switch is as far as the app goes on its own. There is no scanner and no price alerts, and the Wave Tools drawing set, XABCD Pattern, ABCD Pattern and the wave patterns, is for harmonic and wave shapes drawn by hand rather than candle shapes. Replay gives you cleaned history one bar at a time, with the next bar hidden, which is the honest way to meet a three-candle rule as it completes. For a rule with four open decisions the Pine Script editor helps, and "Example: Mark bars by a rule" on the Pine Scripts tab opens a copy to start from: each condition becomes its own counter in one script, and the script can mark the bars that reach each stage with a plotted shape or a label, so you watch the chain stop rather than reading a zero at the end. It has to define the pattern itself, and there is no Pine backtesting.
What should you record?
Your four choices as numbers, plus the intermediate counts.
- Candle 3's direction, and the source you took it from.
- Close or body, for candle 3.
- The shadow threshold, as a number.
- One end or two, for candle 2's containment.
- The count after every single condition, in order.
- The series length for each cell, so a zero can be read.
- The symbol, the timeframe and the date range, every time.
Trades can be tagged inline in the Orders panel and analytics filtered by those tags, which is how a rule version stays attached to the trade that used it.
This pattern shares its opening with the homing pigeon
Worth knowing if you are counting both, because the two openings are nearly the same population. A long black candle with a black harami inside it is the first two candles of this pattern and the whole of the homing pigeon.
On EURUSD that skeleton happens 10, 0, 1 and 0 times at 15 minutes, 1 hour, 4 hours and daily, and 32, 6, 1 and 0 times on GER40. The homing pigeon's own rule on the same bars gives 9, 0, 1, 0 and 32, 6, 1, 0. Nearly identical openings, two different patterns, and the library's See Also list for this one names the Homing Pigeon directly. The homing pigeon has its own rules and its own argument about the word "inside".
Related reading
- Forex backtesting, for why one rule gives different counts on a pair and on an index.
- Manual backtesting builds better traders, for why stepping through a rare pattern by hand is the only way to see one.
- Backtesting a trading strategy, for the method underneath all of this.
Next step
Decide which way candle 3 closes, write that decision down with the source beside it, then count the chain on a stretch of history you have not studied. If you end at zero, the number worth keeping is the condition where it stopped.
Start a free trial and step through the bars yourself.
Related Topics
Related
Forex Backtesting: Test Your Strategy on Real Data
A practical guide to backtesting forex strategies: why session dynamics, spread variation, and pair-specific behavior change your results, what clean historical data actually means, and a five-step process for testing a strategy before you risk real capital.
Manual Backtesting Builds Better Traders
Stepping through historical charts by hand teaches what an automated backtest report cannot: pattern recognition, what a normal drawdown feels like, and the discipline to follow your own rules when it is uncomfortable.
Backtesting a Trading Strategy: A Beginner's Guide
What backtesting is, why it matters, and how to run one step by step: defining your rules, choosing clean historical data, stepping through the chart trade by trade, logging results, and reading the metrics that tell you whether your strategy has a real edge.