How we tested this pattern
- Sample
- 264 occurrences on 4 markets (US stocks, ETFs, indices and commodities), 1987 to 2026.
- Detection
- Found by code, never picked by hand: every match of the rule on full price history, winners and losers alike.up-gap side-by-side white lines pattern: In an uptrend: a white candle; two white candles of similar size opening near the same price, both gapping above the first. Any gap counts, even one tick.down-gap side-by-side white lines pattern: In a downtrend: a black candle; two white candles of similar size opening near the same price, both gapping below the first. Any gap counts, even one tick.
- Benchmark
- Each occurrence is compared with the same assets on random bars: the move 10 bars later, and a 2:1 reward-to-risk trade.
- Checks
- Block bootstrap and a correction for the thousands of tests we run, plus a random-walk self-test that the bench passes: on random prices, no pattern should win.
- Updated
- Data updated November 5, 2026, code version c2a1683f. Read the methodology · up-gap side-by-side white lines pattern data (JSON) · down-gap side-by-side white lines pattern data (JSON)
At a glance: what textbooks say, what we measured
- Pattern
- Bullish: Up-gap side-by-side white lines
- Occurrences tested
- 249 occurrences, all markets, daily
- Textbook: price should rise after it
- Too close to call · −0.47% vs the market, 10 bars
- Verdict
- 10-bar move: No clear edge2:1 trade: No clear edge
- Pattern
- Bearish: Down-gap side-by-side white lines
- Occurrences tested
- 15 occurrences, all markets, daily
- Textbook: price should fall after it
- Too close to call · −1.71% vs the market, 10 bars
- Verdict
- 10-bar move: Not enough data2:1 trade: Not enough data
On this page
- What is the side-by-side white lines pattern?
- Anatomy and identification of the pattern
- How to interpret the market psychology
- Key differences between the two versions
- Trading strategies and risk management
- Side-by-side white lines reliability: results by market
- Real-world examples and chart performance
- Common mistakes to avoid when trading this pattern
- Frequently asked questions
- Summary
The side-by-side white lines candlestick pattern is a three-candle continuation pattern: after a gap in the direction of the trend, two white candles of similar size open near the same price, side by side. The up-gap version forms in an uptrend and is read as bullish; the down-gap version forms in a downtrend and is read as bearish.
This guide explains how to identify both versions on a chart, how traders read and trade them, and what actually happened next. Our test bench scanned full price history with a strict rule and detected 249 up-gap and 15 down-gap patterns on daily charts, and compared the outcome with ordinary bars on the same assets.
What is the side-by-side white lines pattern?
In candlestick charting, a white (or green) candle closes above its open, and a gap is called a window. The side-by-side white lines pattern is a window followed by two white candles that look like twins: bodies of about the same size and nearly the same opening price. Steve Nison describes it among the window patterns in Japanese Candlestick Charting Techniques (1991).
It is a continuation pattern, not a reversal pattern. The gap shows the trend, and the second white candle, opening back at the level of the first one instead of gapping again, shows that the gap held. Classical candlestick analysis (Nison) reads it as a pause before the trend goes on.
Anatomy and identification of the pattern
The pattern always has three candles. Our bench applies the rules below without judgment, with two choices worth knowing: a prior trend is required, and the gap must be a true gap between the full ranges of the candles, wicks included, not only between the bodies.
Bullish only
- White candlein an uptrend
- White, gaps upabove the first candle
- Similar white candlesimilar size and open
The bullish up-gap side-by-side white lines
- An uptrend is in place, and the first candle is white.
- The second candle gaps up: its low is above the high of the first candle. It closes above its open (white).
- The third candle is also white, with a body of similar size, and opens near the same price as the second. Its low also stays above the high of the first candle, so the window remains open.
The chart below is the median shape of the up-gap patterns our bench detected on daily charts across all markets (mostly US stocks), with the lines of the trade we test.
The bearish down-gap side-by-side white lines
- A downtrend is in place, and the first candle is black (it closes below its open).
- The second candle gaps down: its high is below the low of the first candle. It is white.
- The third candle is white too, with a similar body and a similar open, and its high stays below the low of the first candle.
How to interpret the market psychology
In the up-gap version, buyers push price above the previous range. The next session opens back at the same level, which the classical reading takes as profit taking, yet buyers lift it again and the window stays open.
The down-gap version is harder to read. Two white candles in a downtrend look like a rebound, which makes the bearish label counterintuitive. The textbook reading is that the rebounds come from short covering, not from new buying, and fail to close the window.
Key differences between the two versions
| Feature | Up-gap version | Down-gap version |
|---|---|---|
| First candle | White | Black |
| Daily occurrences on our bench | 249 | 15 |
| Frequency on daily charts | One every 31,276 bars | One every 504,857 bars |
The up-gap version is much more common. US stocks make up most of the cases: 204 of the 249 up-gap patterns and 11 of the 15 down-gap ones. Stock data also misses most delisted companies, a survivorship bias we have not sized.
Trading strategies and risk management
The classic way to trade the pattern is a break of its extreme in the direction of the trend. This is the setup our bench simulates on every occurrence, and the figures in this section come from daily charts.
Bullish only
- Entry
- Buy stop at the pattern high
- Stop loss (SL)
- At the pattern low
- Target (TP)
- Twice the risk (2:1)
Bullish only
A clean case from our bench: US stocksChosen on its shape alone, never on the outcome. Stock prices are adjusted for splits and dividends, so they can differ from the prices quoted at the time.
Entry points and confirmation signals
For the up-gap version, place a buy stop just above the high of the three candles. The breakout above the pattern is the confirmation that the trend resumes. The buy stop was triggered 85.9% of the time; in 14.1% of cases price fell below the low of the pattern first and the setup was canceled. For the down-gap version, a sell stop goes just below the low. It was triggered only 46.7% of the time, and 53.3% of setups were canceled. In the remaining cases of both versions, the order was never filled: neither level was touched within the 20 bars the order stays active, or the data ended first.
Setting stop loss and profit targets
Filters traders add
Two classic filters are strong volume on the gap and a market above its 200-day moving average. We measured both on up-gap patterns. With high volume on the last candle (above 1.5 times the 20-day average, 19 patterns, fewer than 30, so shown but not interpreted), 42.9% of the trades they opened reached the 2:1 target, against 36.4% on normal volume. Above the 200-day average, 38.1% reached it (+0.12 R); below it, 32.3% (−0.03 R). These breakdowns are descriptive, not corrected for the number of tests.
Side-by-side white lines reliability: results by market
Neither version is measurably reliable. The up-gap version was followed by a rise a little more often than an ordinary day, but its average excess return over the rest of the market is slightly negative and does not pass our statistical test; on daily charts it is rated "No clear edge". The down-gap version is too rare to judge: 15 daily occurrences, fewer than 30, rated "Not enough data". Here are the numbers.
Bullish only
Moved the expected way 10 bars later, compared with random bars.
Measured on 249 daily up-gap side-by-side white lines occurrences across 212 assets. Random bars on the same assets are the honest baseline.
No clear edgeBullish only
Up-gap side-by-side white lines against random bars on the same assets, by market, on daily candles. Bars of almost the same length mean no edge.
- All markets
- US stocks
- All markets
- US stocks
All statistics
Full results for the side-by-side white lines candlestick pattern, market by market
Every occurrence our rule finds on full price history, compared with what the same assets did on random bars. A pattern only earns an edge if it beats random entries after correcting for the thousands of tests we run.
Our verdict
Not a reliable signal on its own here. Use it as context, not as a trigger.
Up-gap side-by-side white lines: 249 occurrences tested
Bullish pattern · All markets · Daily · 212 assets · 1987-08 to 2026-10
What this means. No measurable difference from the rest of its market over the next 10 bars.
Timeline
- Entry triggered, after the pattern
- 1 day · middle half 1 to 2 · on 214 triggered entries
- Stop order beyond the pattern's extreme. 1 of these entries is not among the 213 trades: still open at the end of our data, or left out by the trade rules.
- Time to the 2:1 target, when hit
- 22 days · middle half 13 to 36 · on 79 trades that hit it
- Time to the stop, when hit
- 8 days · middle half 4 to 19 · on 133 trades that hit it
- Time in the trade, all exits
- 13 days · middle half 6 to 25 · on 213 trades
Size and trade path
- Pattern range, high to low
- 4.6% · middle half 3.3% to 7.1% · on 249 occurrences
- Range vs average bar (ATR)
- 1.97× · middle half 1.69× to 2.30× · on 249 occurrences
- Best open profit during the trade
- 1.00 R · middle half 0.27 R to 2.07 R · on 213 trades
- Stopped trades that were first up 1 R
- 19.5% · on 133 stopped trades
- Trades a stop moved to breakeven at +1 R would have closed flat instead of at a loss
- Entry order triggered
- 85.9% · on 249 occurrences
Medians, each on the cases named on its line; "middle half" spans the 25th to 75th percentile; no value under 30 cases.
How we detect it. In an uptrend: a white candle; two white candles of similar size opening near the same price, both gapping above the first. Any gap counts, even one tick. Candlestick counts are not checked against planted examples, so they may not be exhaustive.
All measurements (6 rows)
10-bar move: did price go the expected way?
| Market | Occurrences | Pattern | Random bars | Excess | 10-bar move verdict |
|---|---|---|---|---|---|
| US stocks · Daily | 204 | 52.2% | 54.5% | −0.51% | No clear edge |
| ETFs · Daily | 24 | 83.3% | 57.3% | −0.20% | Not enough data |
| Indices · Daily | 18 | 72.2% | 57.1% | −0.34% | Not enough data |
| Commodities · Daily | 3 | 33.3% | 51.4% | −0.74% | Not enough data |
| All markets · Daily | 249 | 56.5% | 55.0% | −0.47% | No clear edge |
| US stocks · Weekly | 1 | 100.0% | 51.8% | +8.98% | Not enough data |
2:1 trade: target hit and average result
| Market | Trades | Target hit | Same trade, random dates | Per trade | 2:1 trade verdict |
|---|---|---|---|---|---|
| US stocks · Daily | 176 | 37.5% | 35.9% | +0.10 R vs +0.12 R | No clear edge |
| ETFs · Daily | 19 | 36.8% | 32.0% | +0.09 R vs +0.01 R | Not enough data |
| Indices · Daily | 16 | 37.5% | 39.6% | +0.14 R vs +0.26 R | Not enough data |
| Commodities · Daily | 2 | 0.0% | 0.0% | −1.00 R vs −0.65 R | Not enough data |
| All markets · Daily | 213 | 37.1% | 35.5% | +0.09 R vs +0.12 R | No clear edge |
| US stocks · Weekly | 1 | 100.0% | 50.0% | +2.00 R vs +0.50 R | Not enough data |
Our verdict
Too rare to judge yet: fewer than 30 occurrences, or too few independent periods to test.
Down-gap side-by-side white lines: 15 occurrences tested
Bearish pattern · All markets · Daily · 15 assets · 2006-05 to 2026-09
What this means. Fewer than 30 occurrences, or too few independent periods to test: the numbers are shown but not interpreted.
Timeline
- Entry triggered, after the pattern
- too few to measure · on 7 triggered entries
- Stop order beyond the pattern's extreme.
- Time to the 2:1 target, when hit
- too few to measure · on 3 trades that hit it
- Time to the stop, when hit
- too few to measure · on 3 trades that hit it
- Time in the trade, all exits
- too few to measure · on 7 trades
Size and trade path
- Pattern range, high to low
- too few to measure · on 15 occurrences
- Range vs average bar (ATR)
- too few to measure · on 15 occurrences
- Best open profit during the trade
- too few to measure · on 7 trades
- Stopped trades that were first up 1 R
- too few to measure · on 3 stopped trades
- Trades a stop moved to breakeven at +1 R would have closed flat instead of at a loss
- Entry order triggered
- too few to measure · on 15 occurrences
Medians, each on the cases named on its line; "middle half" spans the 25th to 75th percentile; no value under 30 cases.
How we detect it. In a downtrend: a black candle; two white candles of similar size opening near the same price, both gapping below the first. Any gap counts, even one tick. Candlestick counts are not checked against planted examples, so they may not be exhaustive.
All measurements (3 rows)
10-bar move: did price go the expected way?
| Market | Occurrences | Pattern | Random bars | Excess | 10-bar move verdict |
|---|---|---|---|---|---|
| US stocks · Daily | 11 | 45.5% | 45.4% | −1.76% | Not enough data |
| ETFs · Daily | 4 | 25.0% | 43.8% | −1.58% | Not enough data |
| All markets · Daily | 15 | 40.0% | 45.0% | −1.71% | Not enough data |
2:1 trade: target hit and average result
| Market | Trades | Target hit | Same trade, random dates | Per trade | 2:1 trade verdict |
|---|---|---|---|---|---|
| US stocks · Daily | 5 | 40.0% | 0.0% | +0.40 R vs −0.51 R | Not enough data |
| ETFs · Daily | 2 | 50.0% | 33.3% | +0.50 R vs +0.04 R | Not enough data |
| All markets · Daily | 7 | 42.9% | 11.1% | +0.43 R vs −0.33 R | Not enough data |
Data updated November 5, 2026 · code version c2a1683f · Read the methodology. No occurrence on crypto in our data. The down-gap side-by-side white lines had no occurrence on indices or commodities. We measure every pattern on crypto and forex (1-hour, 4-hour, daily and weekly charts) and US stocks, ETFs, indices and commodities (daily and weekly charts). On 1-hour and 4-hour forex charts the pattern only forms at the weekly open, across the weekend gap, so we do not publish those forex rows. Any other market or timeframe from that list missing from the tables above had no occurrence.
Bullish only
What you often read
“The up-gap side-by-side white lines pattern is a reliable bullish continuation signal.”
What our data shows
On 249 daily occurrences, it moved in the expected direction 56.5% of the time, against 55.0% for random bars: no clear edge, since the average excess return is not statistically significant.
Table quoted in the text (verdicts and every market: see All measurements)
| Version and market (daily unless stated) | Patterns tested | Moved as expected 10 bars later | Random bars | Closed trades | 2:1 target hit | Same setup, random dates | Expectancy (R) |
|---|---|---|---|---|---|---|---|
| Up-gap, all markets | 249 | 56.5% | 55.0% | 213 | 37.1% | 35.5% | +0.09 (random +0.12) |
| Up-gap, US stocks | 204 | 52.2% | 54.5% | 176 | 37.5% | 35.9% | +0.10 (random +0.12) |
| Up-gap, ETFs | 24 | 83.3% | 57.3% | 19 | 36.8% | 32.0% | +0.09 (random +0.01) |
| Up-gap, indices | 18 | 72.2% | 57.1% | 16 | 37.5% | 39.6% | +0.14 (random +0.26) |
| Down-gap, all markets | 15 | 40.0% | 45.0% | 7 | 42.9% | 11.1% | +0.43 (random −0.33) |
| Down-gap, US stocks | 11 | 45.5% | 45.4% | 5 | 40.0% | 0.0% | +0.40 (random −0.51) |
How to read the table
Read it in pairs of columns. "Moved as expected" means higher 10 bars later for the up-gap version and lower for the down-gap version. On the daily timeframe, 56.5% of up-gap patterns were followed by a rise, against 55.0% for ordinary bars on the same assets. The excess return over the rest of the market after 10 days was −0.47%, with a 95% confidence interval from −1.12% to +0.15%. Zero is inside the interval: no clear edge, and the sign is negative. The ETF and index rows have fewer than 30 patterns each: their numbers are shown, not interpreted.
The 2:1 trade gives the same picture: +0.09 R per trade before costs, against +0.12 R for the same entry, stop and target on random dates. The pattern did a little worse than random dates, and what both made comes from stock markets rising over time. The down-gap version closed only 7 trades, too few to read anything into its result.
For the bullish up-gap version on daily charts, all markets combined, the excess return was −0.72% in the first half of the history and −0.22% in the second.
Crypto and forex: too few gaps
The pattern needs a gap, and markets that trade around the clock rarely gap. With its strict rule, our bench finds no occurrence of either version on crypto or forex charts, at any timeframe. On hourly and 4-hour forex charts, nearly the only gaps come at the weekly open, across the weekend, and our bench takes no signal on the first bar of the week. Weekly charts are nearly empty too: a single up-gap pattern, on US stocks.
Real-world examples and chart performance
The two galleries in this section, one per version, show real side-by-side white lines picked by our bench (best and worst results, textbook shapes, most recent, typical draws), with their actual outcome. The cases described below are on daily charts of US stocks, a Japan equity ETF and the Korean KOSPI index, with prices adjusted for splits and dividends.
Real occurrences from our test bench, each on its market's main timeframe. Category cards on US stocks come from liquid assets only (the most traded stocks). Best and Worst are the best and worst 2:1 trade results, Textbook the cleanest shapes (chosen on geometry alone, never on the outcome), Most recent the latest detections among the assets the gallery draws from, Typical a random draw. Down-gap side-by-side white lines pattern: on US stocks, our bench gives a single example card, so it carries no Best, Worst or other label: it is one real occurrence, not a ranked pick. Shaded area: the pattern. Dashed lines: entry, stop loss (SL) and 2:1 target (TP) of the tested trade. Dotted line: 10 bars after the signal. A result above +2 R or below −1 R means a bar opened past the target or the stop, and the trade was closed at that open. Stock and ETF prices are adjusted for splits and dividends, so they can differ from the prices quoted at the time. We left out 9 cards with a shape that does not read as the definition on this page. They still count in the statistics, and are not replaced: our bench picks a fixed number of cards per category.
Real occurrences 1 of the 11 occurrences on US stocks (daily charts)
An up-gap pattern that reached its target
On FFBC, a white candle on November 13, 2020, had a high of 13.11. The next two sessions, November 16 and 17, opened at 13.53 and 13.52 and closed higher, with lows above 13.11: an up-gap side-by-side white lines pattern. The buy stop at 13.86 was triggered on November 18, with a stop at 12.76 and a 2:1 target at 16.05. The stock was 2.5% lower 10 days after the pattern, but the stop held, and the target was reached on January 6, 2021, for a gain of 2 R.
A trade that went up, then hit the stop
On EWJ, the Japan equity ETF, the pattern formed on January 5, 8 and 9, 2018. The buy stop at 52.47, the top of the pattern, was filled at the 52.77 open on January 10, with a stop at 51.92 and a target at 54.46. Price climbed to 54.36 on January 26, more than 1.8 R above entry but just short of the target, then opened at 51.33 on February 5, 2018, under the stop: the position closed at the open for a loss of 1.7 R. It is not an isolated case: of the trades that hit their stop, 19.5% had first been up 1 R.
A setup canceled before entry
On the KOSPI index, the pattern completed on February 9, 2023, with a buy stop at 2,487.35 and a stop at 2,432.40. On February 15 price fell to 2,424.16 before trading above the entry: the setup was canceled without a trade, and the index was 1.7% lower 10 days after the pattern.
A down-gap pattern that failed
On Citigroup (C), a black candle on March 5, 2026, had a low of 106.84. On March 6 and 9, two white candles opened at 104.17 and 103.43, both with highs below that low. The sell stop sat at 101.02, the low of the pattern, with a stop at 110.51. Price never traded below 101.02: on March 23 it rose to 112.29, above the stop level, and the setup was canceled without a trade. The stock was 4.7% higher 10 days after the pattern.
Common mistakes to avoid when trading this pattern
- Counting a gap between bodies only. If the wicks overlap, the window is not open.
- Ignoring the trend. Without a prior trend, there is nothing to continue.
- Confusing it with the tasuki gap, where the third candle has the opposite color and moves into the gap, or with the upside gap three methods, where it fills the gap.
- Expecting a strong bearish signal from the down-gap version. In our data it is too rare to judge: 15 daily occurrences, fewer than 30.
Frequently asked questions
Is the side-by-side white lines pattern bullish or bearish?
It depends on the gap. The up-gap version in an uptrend is bullish; the down-gap version in a downtrend is bearish, even though both have two white candles.
Is it a reversal or a continuation pattern?
A continuation pattern. It suggests the trend in place will go on after a short pause.
How is it different from the tasuki gap?
In the tasuki gap, the third candle has the opposite color and closes inside the gap. Here, the third candle has the same color as the second and opens near the same price. On daily charts, the upside tasuki gap reached its 2:1 target 37.8% of the time, against 37.9% for the same trade on random dates: no edge either.
How can I find the pattern automatically?
The open-source TA-Lib library has a CDLGAPSIDESIDEWHITE function that detects both versions. Check how your tool defines the gap and the similar size, and add a prior trend condition if it has none. Our rule is far stricter: it finds 6% of the up-gap cases and 2.6% of the down-gap cases TA-Lib flags, so expect many more hits from the library.
Summary
- Side-by-side white lines: a gap in the direction of the trend, then two white candles of similar size opening near the same price.
- On 249 daily up-gap patterns, 56.5% were higher 10 days later, against 55.0% for ordinary bars, but the average excess return over the rest of the market, −0.47%, is not statistically significant: no clear edge.
- The daily down-gap version closed only 7 2:1 trades, too few to judge.
- The pattern needs gaps: it appears mostly on stocks and ETFs, and our bench finds no occurrence on crypto or forex.
If you trade it, treat it as a location for a trade, not as a reason for one: define the stop before entry, size the position on that distance, and keep the risk per trade small.
About the author and the data. Written by Amaury, founder of PatternsWizard, who is passionate about finance, quantitative trading and data analysis. He built the PatternsWizard test bench, which detects each setup with published rules on full market history: crypto, forex, US stocks, ETFs, indices and commodities. Trades and win rates are compared with random bars on the same assets, excess returns with the rest of the market, with error margins and a correction for multiple testing, and the whole pipeline is checked on random-walk prices, where nothing can be predicted. Statistics on this page were generated on November 5, 2026. The full methodology explains every step. This page is educational and is not investment advice: trading involves a risk of loss, and past results do not predict future ones.
