Browse the library

Candlesticks · Three-candle patterns

Side-by-side white lines: the twin-candle gap continuation

Learn the upside and downside gap side-by-side white lines, why Finabase labels its markers "Evening Star", and what 63 real cases on US large caps did next.

On this page
  1. Anatomy of side-by-side white lines
  2. Why two matching white candles matter
  3. Confirmation
  4. Two real cases
  5. What the data says
  6. How it compares with other gap patterns
  7. An educational outline
  8. How Finabase shows side-by-side white lines
  9. Frequently asked questions
  10. Summary

Side-by-side white lines are two white candles of similar size that open at about the same price, standing next to each other on the far side of a gap. When the pair sits above the gap, the pattern is called the upside gap side-by-side white lines and is read as bullish continuation. When the pair sits below a gap in a decline, it is the downside gap side-by-side white lines, which tradition treats, perhaps surprisingly, as bearish continuation even though both candles are white.

The pair is the point. A single white candle after a gap could be a one-off. Two that open at the same level and close at similar heights show the market accepting the new price area for a second session in a row. Nison counts the upside version among the "window" patterns that confirm a gap. The downside version is rarer, and its two white candles are usually read as short covering rather than real buying.

There is also a Finabase-specific detail to clear up first: in the app, this pattern's chart markers are labeled "Evening Star". That label is inherited from the legacy app and is kept for compatibility; the detector behind it is TA-Lib's CDLGAPSIDESIDEWHITE, not the evening star. This page explains the pattern, the rules, two real cases and the record of 63 detections.

Anatomy of side-by-side white lines

Upside gap side-by-side white lines: twin white candles above a gap (illustration, prices not real) Gap, then two whites with the same open
Upside gap side-by-side white lines. After the gap, two white candles open at the same level and close at similar heights. Prices are illustrative.
Downside gap side-by-side white lines: twin white candles below a gap (illustration, prices not real) Gap down, then two whites with the same open
Downside gap side-by-side white lines. Two white candles with matching opens sit below the gap; tradition reads the pattern as bearish continuation. Prices are illustrative.

The upside version in three steps:

  1. A candle in an advance, which defines the bottom edge of the coming gap.
  2. The first white line. It gaps up so that its whole body is above the prior body.
  3. The second white line. It opens at about the same price as the first white line, closes at about the same height, and its body also stays above the first candle's body. The gap is untouched by either body.

For the downside version, the first candle sits above, the gap is downward, and the two white candles stand below it with matching opens. They close higher than they open, but neither climbs back into the gap.

The exact rules Finabase uses

Finabase runs TA-Lib's CDLGAPSIDESIDEWHITE on daily bars. "Near" is 20% and "equal" is 5% of the average high–low range of the five candles before the first white line.

Test TA-Lib rule
Gap Both white bodies are entirely above the first body (upside) or entirely below it (downside)
Colors Second and third candles white; the first candle's color is not checked
Similar size The two white bodies differ by no more than "near"
Same open The second white candle opens within "equal" of the first white candle's open
Score +100 when the gap is upward, −100 when it is downward

Notes on the code:

The window must stay open for both lines. TA-Lib checks the gap from the first body to each white body separately, which is how it enforces the textbook's "the second line does not close the window". Shadows are ignored, so the second white candle may wick into the gap as long as its body does not.

"Same open" is tight. At 5% of the recent average range, a stock moving $2 a day must open the two white lines within about 10 cents of each other.

No trend test. In our sample 32.7% of upside detections came after a ten-session decline, outside the continuation setting the pattern is named for.

Why two matching white candles matter

A gap up is an opinion: buyers decided overnight that the stock was worth more than the whole previous range. The first white candle confirms the opinion for one day. The second white line, opening right where the first one did, is the market returning to the same starting price and buying again. It shows there was no rush to sell back into the gap and that demand at the new level was repeatable.

The downside version is the puzzling one. After a gap down, two white candles look like buying. The traditional reading is that they are weak bounces: they open at the same depressed level, rise modestly, and never reach the gap. Holders who wanted out are using the bounces to sell, and the gap overhead acts as resistance. Whether that reading holds is exactly what our small sample cannot tell.

Confirmation

  • Upside: a close above the higher of the two white candles' highs.
  • Downside: a close below the lower of the two white candles' lows.
  • The gap holds on any retest; a close back inside the window weakens the case.
  • Trend alignment: the gap should be in the direction of the existing trend, which a moving average or the Relative Strength Index (RSI): how to read and use it can help confirm.

Two real cases

Caterpillar (CAT) daily — upside gap side-by-side white lines in a rally $600 $700 Side-by-side white lines 2026-01-14 +4.1% after 10 sessions Jan 2026 Feb
Caterpillar (CAT): upside gap side-by-side white lines on 2026-01-14 after a 10.6% ten-session rise; ten sessions later the stock was 4.1% higher.

Caterpillar, January 14, 2026. CAT closed at $629.77 on January 12. On January 13 it gapped up to open at $633.20 and closed at $636.53. On January 14 it opened 90 cents away at $634.10 and closed at $638.75; the bodies were $3.33 and $4.65, inside TA-Lib's "near" allowance. The second white line dipped intraday to $623.07, deep into the gap, but its body stayed above it. That same bar also triggered TA-Lib's advance block (−100) and hammer (+100), so the chart carried three conflicting labels at once. The next close was $647.18, confirming the continuation, and ten sessions later the stock was 4.1% higher.

Intel (INTC) daily — downside side-by-side white lines before a rebound $20 $22.5 $25 $27.5 Downside side-by-side 2025-03-07 +17.5% after 10 sessions Feb Mar Apr
Intel (INTC): downside gap side-by-side white lines on 2025-03-07 after a 17.0% ten-session decline; ten sessions later the stock was 17.5% higher.

Intel, March 7, 2025. INTC had fallen 17.0% in ten sessions. After a black candle that closed at $20.81 on March 5, it opened below that body on March 6 at $20.26 and closed at $20.75, then opened at $20.27 on March 7 and closed at $20.64: two small white lines below the gap, a textbook downside version. The next session closed lower, at $19.93, which confirmed the pattern. Days later, on March 12, Intel named a new chief executive and the stock jumped. Ten sessions after the pattern it was 17.5% higher. A continuation pattern can't anticipate company news, and a stop above the gap would have limited the damage.

What the data says

CDLGAPSIDESIDEWHITE fired 63 times on 44 of the 60 large US stocks and ETFs over two years of daily bars (October 30, 2024 to October 29, 2026): 52 upside and 11 downside.

Group Cases Moved the pattern's way after 5 sessions Average 5-session return Average 10-session return
Any day, share higher (upside baseline) 29,760 53.1% +0.35% +0.66%
Upside side-by-side white lines 52 55.8% +0.40% +1.04%
Upside, confirmed 15 53.3% −0.17% —
Any day, share lower (downside baseline) 29,760 46.7% +0.35% +0.66%
Downside side-by-side white lines 11 18.2% +2.98% +4.44%
Downside, confirmed 4 25.0% +8.36% —
  • Upside: a small tilt. 55.8% higher after five sessions against 53.1%, and a ten-session average of +1.04% against +0.66%. The confirmed subset did not improve on it.
  • Downside: the opposite of the textbook, on 11 cases. Nine of the eleven were not lower a week later, Intel among them. With so few cases this says more about a rebounding market than about the pattern.

How it compares with other gap patterns

Pattern After the gap Gap at the end
Side-by-side white lines Two white candles with matching opens Open
Tasuki gap (upside and downside): a gap that holds on a pullback One candle in the gap direction, one opposite into the gap Partly open
Upside and downside gap three methods: when a gap gets filled One candle in the gap direction, one opposite that closes it Closed
Upside gap two crows: the bearish pattern that leaves its gap open Two black candles, the second engulfing the first Open
Evening star (the real one) A small star above a white candle, then a long black candle Closed

The last row is there because of the label. A true evening star is a three-candle bearish reversal with a long black third candle. Side-by-side white lines have no black candle at all, and the upside version is bullish.

An educational outline

How traders commonly use the pattern. It isn't a recommendation to trade.

  1. Check the direction of the trend and the gap. Upside white lines after an advance are the classic case; the downside version is rare and contested.
  2. Mark the window. The top of the first candle's body (upside) is the level that should not be closed on a closing basis.
  3. Wait for a breakout close beyond the white lines' range.
  4. Respect the hidden conflicts. As at Caterpillar, other patterns may fire on the same bar; read the candle, not the label.

How Finabase shows side-by-side white lines

  • Chart markers, labeled "Evening Star". In Finabase, the study and its markers for CDLGAPSIDESIDEWHITE carry the name Evening Star. This is a copy-paste label from the legacy app that Finabase keeps for compatibility. The detection itself is the side-by-side white lines described here; the study's chart class is CdlgapsidesidewhiteChart.
  • Scanner. Upside cases (+100) appear on the bullish list, and downside cases (−100) on the bearish list, where the latest candle on the chart will be white.
  • Signals tab. On a symbol page such as AAPL's signals, the Candlestick gauge counts this pattern's most recent reading in the last eight bars as one of 61 votes: Buy for upside, Sell for downside. The score (buy − sell) / (buy + sell + min(neutral, max(buy, sell))) reads Strong Sell below −0.6, Sell below −0.2, Neutral below 0.2, Buy below 0.6 and Strong Buy above.

Frequently asked questions

Why does Finabase call this pattern "Evening Star"?

It is a legacy label carried over from the original app and kept for compatibility. The markers are produced by TA-Lib's side-by-side white lines detector. The genuine evening star (CDLEVENINGSTAR) is a separate study that is also named "Evening Star", but Finabase runs it with a penetration setting of 10 inherited from the legacy app, and at that setting it did not fire once in our 29,760-bar sample. In practice, an "Evening Star" marker you see on a Finabase chart today almost certainly comes from this side-by-side white lines detector.

Can the downside version really be bearish with two white candles?

That is the traditional reading: the white candles are weak bounces that fail to reach the gap. TA-Lib scores it −100. In our 11 cases it mostly preceded gains, which is too few to settle the question.

Is there a black version?

Tradition describes side-by-side black lines too, but TA-Lib has no function for them, so Finabase does not detect them.

What breaks the pattern?

A body that closes back into the window. TA-Lib checks that both white bodies stay clear of the first candle's body.

Summary

Side-by-side white lines are a gap followed by two matching white candles, the market buying at the same new price two days running. The upside version is a continuation signal that showed a small, statistically weak tilt in our data; the downside version is rare, counterintuitive and, on 11 cases, went the wrong way more often than not. In Finabase the markers carry the legacy name "Evening Star", so read the shape on the chart, check the window, and wait for a close beyond the white lines before treating the pattern as anything more than a description.

Sources and further reading

  1. Steve Nison, Japanese Candlestick Charting Techniques (New York Institute of Finance, 1991)
  2. Thomas N. Bulkowski, Encyclopedia of Candlestick Charts (Wiley, 2008)
  3. TA-Lib source code — CDLGAPSIDESIDEWHITE and the default candle settings
  4. Finabase chart data — daily bars for 60 US stocks and ETFs, 2024-10-30 to 2026-10-29; patterns detected with TA-Lib CDLGAPSIDESIDEWHITE