Candlesticks · Two-candle patterns
Separating lines candlestick pattern: a trend-continuation signal
How bullish and bearish separating lines form, the belt-hold test TA-Lib applies on Finabase charts, and how 151 real cases on 57 US stocks turned out.
On this page
- Anatomy of separating lines
- The exact rules Finabase uses
- Why separating lines suggest continuation
- Confirming separating lines
- Two real cases of bullish separating lines
- What 151 separating lines did next
- Separating lines versus similar patterns
- An educational outline for a continuation entry
- How Finabase shows separating lines
- Frequently asked questions
- Summary
Separating lines are two candles of opposite color that open at the same price and then go their separate ways. In the bullish version, a rising market has a down day (a black candle), and the following session opens right back at that down day's open and climbs all day, ignoring the pullback as if it never happened. The bearish version mirrors it: a white bounce inside a decline, then a session that opens at the bounce's open and falls from there.
Unlike most two-candle patterns, separating lines are about continuation, not reversal. The interrupting candle is the counter-trend move, and the second candle erases it by refusing to start anywhere else. The image behind the name is two lines that begin at the same point and diverge.
This page covers the pattern's anatomy, the belt-hold condition at the heart of TA-Lib's
CDLSEPARATINGLINES, the trading logic, a Cisco case that ran and a Tesla case that
reversed, and how 151 separating lines on 57 large US stocks and ETFs performed. One
side of the pattern held up modestly; the other did the opposite of its label.
Anatomy of separating lines
Take the bullish case step by step.
- An established advance. Prices have been rising for a while.
- A black interruption. One session opens and closes lower. The bears get a day.
- A reset to the same open. The next session opens at, or extremely near, the black candle's open. The entire previous session's loss is gone at the opening bell.
- A belt hold in the trend's direction. From that open, price rises and closes well higher. The opening price is also the session's low, or very nearly: a white candle with no lower shadow. This one-candle shape is called a bullish belt hold.
The bearish case is the reflection: a decline, a white bounce, then a black candle that opens at the bounce's open, which is also its high, and falls. In both versions the shared open is the hinge: everything the first candle did happened above (or below) a price the second candle starts from and never looks back at.
The exact rules Finabase uses
The Separating Lines study and the candlestick scanner use TA-Lib's
CDLSEPARATINGLINES. Its conditions:
| Condition in TA-Lib | Default setting |
|---|---|
| Opposite colors | One candle white (close at or above open), the other black |
| Same open | Second open within ± 5% of the average high–low range of the 5 candles before the first one |
| Second body long | Second body longer than the average body of the 10 candles before it |
| Bullish belt hold | If the second candle is white: lower shadow under 10% of the average range of the previous 10 candles |
| Bearish belt hold | If the second candle is black: upper shadow under 10% of the average range of the previous 10 candles |
| Output | +100 when the second candle is white, −100 when it is black |
What TA-Lib leaves out is as important as what it checks.
The first candle can be tiny. Nothing in the code tests the first body's size. The textbook pattern shows a meaningful counter-trend candle, but a black candle with a body of a few cents qualifies. Our Cisco example below is exactly that.
The trend is not checked. The source comment says the pattern matters when it comes in a trend and the belt hold runs with that trend, then states that the function does not consider it. In our data 23 of 86 measured bullish cases came after a ten-session decline, and 26 of 63 bearish cases after a ten-session rise. In those cases the "continuation" pattern was actually pointing against the recent move.
Only the opening shadow is restricted. A bullish belt hold must have almost no lower shadow, but its upper shadow can be any length. A white candle that opens at its low, rallies hard and then gives back half the gain still qualifies.
Why separating lines suggest continuation
The pattern is a story about a failed counter-move. In an uptrend, the black candle gives sellers a session. They push price down from the open and perhaps attract a few followers who think the advance is tiring. Then the next session opens precisely where the sellers began, which means their entire day's work disappeared overnight, and buyers take price higher from the first trade without letting it dip below the open.
For the traders who sold on the black day, that is an uncomfortable position. Their short sales are underwater immediately, and the absence of a lower shadow shows the market never gave them a chance to exit at a better price. The pattern says the dominant side has reasserted itself decisively and that the interruption was noise.
Confirming separating lines
For a continuation pattern, confirmation means the trend keeps going:
- A close beyond the belt hold's extreme: above its high for bullish lines, below its low for bearish ones. This is the rule used in our test.
- The shared open holds. For bullish lines, later sessions should not close below the common opening price; it is the level the pattern defended.
- The trend is real. A sequence of higher highs and higher lows (or the reverse) before the pattern, not a sideways range.
- Momentum agrees. An Relative Strength Index (RSI): how to read and use it above 50 and rising for bullish lines, below 50 and falling for bearish ones. A reading above 70 or below 30 warns that the trend may already be stretched.
Two real cases of bullish separating lines
Cisco, May 13, 2026. CSCO had climbed 13.7% in ten sessions. On May 12 it posted a black candle with a body of only 23 cents (open $99.52, close $99.29). On May 13 it opened at $99.40, 12 cents from the prior open and just inside TA-Lib's band of about 12.3 cents, dipped only 11 cents below that open, and closed at $101.87, a body twice the stock's recent average. The next session opened 15.4% higher at $117.55, and ten sessions after the pattern CSCO was 16.5% above the pattern close. It fits the continuation story, but a one-day jump of that size is the footprint of news, not of a two-candle pattern, and the black "interruption" was barely a candle at all.
Tesla, June 23, 2025. TSLA had rallied 18.1% in ten sessions. A black candle on June 20 (open $327.95, close $322.16) was followed on June 23, the first trading day after the company began its robotaxi service in Austin, by an open at $327.54 and a close at $348.68, an 8.2% gain with a lower shadow of six cents. Textbook bullish separating lines in a textbook uptrend. They failed: the next session closed lower, the June 23 high was never reclaimed in the following weeks, and ten sessions later TSLA was 14.6% below the pattern close. The pattern was never confirmed, since no later close cleared the $357.54 high in that period.
What 151 separating lines did next
We ran CDLSEPARATINGLINES on daily bars for 60 large US stocks and ETFs from October
30, 2024 to October 29, 2026. It fired 151 times on 57 symbols: 88 bullish and 63
bearish. For bullish cases a hit is a higher close five sessions later; for bearish
cases, a lower one. The baselines are the 53.1% of all days that were higher and the
46.7% that were lower after five sessions.
| Group | Cases | Went the pattern's way after 5 sessions | Avg. 5-session return | Avg. 10-session return |
|---|---|---|---|---|
| Any day, share higher (bullish baseline) | 29,760 | 53.1% | +0.35% | +0.66% |
| Any day, share lower (bearish baseline) | 29,760 | 46.7% | +0.35% | +0.66% |
| Bullish separating lines, all | 86 | 54.7% | +0.51% | +0.36% |
| Bullish, after a 10-session rise (textbook setting) | 63 | 55.6% | +0.56% | — |
| Bullish, confirmed (from the confirming close) | 31 | 61.3% | +0.77% | — |
| Bearish separating lines, all | 63 | 42.9% | +0.93% | +1.66% |
| Bearish, after a 10-session decline (textbook) | 37 | 40.5% | +1.31% | — |
| Bearish, confirmed (from the confirming close) | 26 | 34.6% | +0.78% | — |
Bullish lines: a small, consistent tilt. Each filter nudged the result in the expected direction. The textbook uptrend setting gave 55.6% higher, and confirmed cases 61.3%, though the confirmed group is only 31 cases.
Bearish lines: the opposite of the label. Only 42.9% of bearish separating lines were lower a week later, worse than the 46.7% of any day, and the average return after them was a gain of 0.93% over five sessions and 1.66% over ten. In the textbook setting, inside a decline, it got worse: 40.5% lower and an average five-session gain of 1.31%. Confirmation did not rescue it. In a market that mostly rose over these two years, selling pressure that looked decisive for a day was usually absorbed.
Separating lines versus similar patterns
| Pattern | Colors | How the second candle opens | Usual reading |
|---|---|---|---|
| Separating lines | Opposite | At the first candle's open | Continuation |
| Meeting lines (counterattack) | Opposite | Gapped away; closes at the first close | Reversal |
| Kicking | Opposite, both marubozu | Beyond the first candle's whole range | Strong reversal |
| Belt hold | One candle | At its own low (bullish) or high (bearish) | Varies |
| Bullish engulfing | Opposite | At or below the first close | Reversal |
Separating lines and meeting lines are mirror ideas. In separating lines the opens match and the closes diverge; in meeting lines (TA-Lib's counterattack) the closes match after opens far apart. A Kicking candlestick pattern: two marubozu and a gap pattern goes further than either: its second candle opens beyond the first one's entire range.
An educational outline for a continuation entry
How a practitioner might frame the pattern inside an existing uptrend. It is not a recommendation, and our data suggests restricting this kind of approach to the bullish side.
- Confirm the uptrend first, with higher highs and higher lows over several weeks.
- Check that the black candle really was a pullback, not a dust-speck body.
- Look for a close above the belt hold's high as confirmation.
- Use the shared open as the invalidation level. A close below it means the pullback won after all.
- Size from that distance.
How Finabase shows separating lines
- Chart markers. The Separating Lines study marks the second candle of each pattern TA-Lib finds. The CSCO link at the top of this page opens it.
- Scanner. Detections are split by the sign of TA-Lib's output: +100 on the Bullish list, −100 on the Bearish list. The scanner does not check the trend, so a "continuation" can appear against the recent move.
- Signals-tab gauge. On a symbol's Signals tab, each of the 61 patterns votes with the sign of its latest non-zero reading in the past 8 bars. Bullish separating lines are a Buy vote and bearish ones a Sell vote. The gauge score is (buy − sell) ÷ (buy + sell + the smaller of the neutral count and the larger side), from Strong Sell below −0.6 to Strong Buy at 0.6 and above.
Frequently asked questions
Are separating lines a reversal or a continuation pattern?
Continuation. The first candle is a counter-trend move, and the second resumes the trend from the same opening price.
What is a belt hold, and why does it matter here?
A belt hold is a long candle that opens at its extreme, at the low for a white candle or the high for a black one. TA-Lib requires the second candle of separating lines to be one, which is what makes the second session look decisive.
How exactly do the two opens have to match?
In TA-Lib, within 5% of the average daily high–low range of the five sessions before the first candle. On a stock that ranges $4 a day, the opens may differ by up to 20 cents.
Should bearish separating lines be read as bearish?
That is the textbook reading. In our two-year sample of large US stocks, bearish separating lines were followed by lower prices less often than a random day was.
Summary
Separating lines pair a counter-trend candle with a belt hold that opens at the same price and runs with the trend, a compact way of saying the interruption did not stick. TA-Lib checks the shared open and the belt hold but neither the first candle's size nor the trend. On 151 cases across 57 large US names, the bullish side delivered a small edge that grew a little with trend context and confirmation, while the bearish side was followed by rising prices more often than not. Read the bullish version as a modest continuation hint inside a clear uptrend, and treat the bearish version with real skepticism.
Sources and further reading
- Steve Nison, Japanese Candlestick Charting Techniques (New York Institute of Finance, 1991)
- Thomas N. Bulkowski, Encyclopedia of Candlestick Charts (Wiley, 2008)
- TA-Lib source code — CDLSEPARATINGLINES and the default candle settings
- Finabase chart data — daily bars for 60 US stocks and ETFs, 2024-10-30 to 2026-10-29; patterns detected with TA-Lib CDLSEPARATINGLINES