Evening Star Candlestick: Confirmation and Invalidation
An evening star candlestick pattern is a three-candle bearish reversal setup after an advance: a long bullish body, a small body above it, then a bearish candle closing below the first body midpoint. The traditional version includes a gap before the middle candle. A completed pattern warns of a possible reversal; it does not establish that the next candle will fall.
Key Takeaways
- Define the prior advance and body-size rules before looking for the three candles.
- Measure third-candle penetration against the first real body, excluding its wicks.
- Keep strict gap and no-gap variants separate so their results remain comparable.
- A fourth-candle breakdown is an optional follow-through filter. It arrives after the three-candle pattern is complete.
- A later move above the pattern high can invalidate the bearish setup even when its original geometry was correct.
Define the evening star candlestick formation
TradingView and thinkorswim describe the same sequence: an uptrend, a long bullish first candle, a small second candle that gaps up, and a bearish third candle closing below the first candle midpoint. Their official descriptions are linked in Sources. The second body can be bullish or bearish. Terms such as long, small and uptrend need numerical definitions in a detector. The following specification is illustrative, not a claim about either platform default. Measure the trend and reference body average before candle 1. This prevents candle 3 from changing whether an uptrend existed before the pattern.
| Part | Illustrative rule | Why it matters |
|---|---|---|
| Prior advance | The five closes immediately before candle 1 rise consecutively | A narrow trend definition that excludes advances containing pullbacks |
| Candle 1 | Close above open; body exceeds the mean absolute body of the preceding 20 bars | Defines long relative to recent bodies; require sufficient history and a positive mean |
| Candle 2 | Absolute body no greater than 30% of that same mean; both open and close above candle 1 close | Defines small and requires a real-body gap; the wicks may overlap |
| Candle 3 | Close below open and strictly below the midpoint of candle 1 open and close | Requires a bearish body and more than 50% penetration of the first body |
Calculate third-candle penetration
Let O1 and C1 be the first candle open and close, and C3 the third candle close. Because candle 1 is bullish, its body B1 = C1 − O1 is positive. Penetration = (C1 − C3) / B1 × 100%. A value above 50% means C3 is below the first body midpoint. Exactly 50% does not pass the strict below-midpoint rule used here. In this hypothetical example, O1 is 100 and C1 is 108, so the midpoint is 104. Candle 3 closes at 103: (108 − 103) / 8 × 100% = 62.5%. Assume the preceding five closes are 95, 96, 97, 98 and 99, and the preceding 20-body mean is 3. Candle 1 has body 8; candle 2 has body 0.5, below the illustrative 0.9 limit. All specified tests pass. These invented prices demonstrate arithmetic, not performance.
| Third close | Penetration | Result under the stated rule |
|---|---|---|
| 106 | 25% | Insufficient penetration |
| 104 | 50% | At the midpoint; strict below-midpoint test fails |
| 103 | 62.5% | Passes if the remaining conditions hold |
| 99 | 112.5% | Passes below the entire first body; not a probability |
| Bar | Open | High | Low | Close |
|---|---|---|---|---|
| Prior 1 | 94 | 96 | 93 | 95 |
| Prior 2 | 95 | 97 | 94 | 96 |
| Prior 3 | 96 | 98 | 95 | 97 |
| Prior 4 | 97 | 99 | 96 | 98 |
| Prior 5 | 98 | 100 | 97 | 99 |
| Candle 1 | 100 | 109 | 99 | 108 |
| Candle 2 | 110 | 112 | 109 | 110.5 |
| Candle 3 | 110 | 111 | 102 | 103 |
Hollow bodies close at or above the open. Filled bodies close below the open.
Illustrative OHLC prices in arbitrary units. The 20-bar body average of 3 is an assumed input; only the last five preceding bars are shown. The first body midpoint is 104. The three-candle high is 112 and candle 3 low is 102.
Separate body gaps, full gaps and no-gap variants
A body gap and a gap between the entire candle ranges are different tests. In the specification above, the lower edge of the second body must exceed C1. A stricter full-range gap would require the second low to exceed the first high. The example has a body gap, but its second low equals the first high at 109, so it fails that stricter test. A no-gap adaptation can retain the advance, small middle body and third-candle penetration while dropping the body-gap requirement. For example, replace candle 2 with open 108, high 110, low 107.5 and close 108.5. Its body remains small, but it touches the first close and fails the strict gap rule. Label it as a no-gap variant when testing continuous-session markets or intraday bars. Changing the definition changes the sample; it does not establish that either version is more profitable.
- Record the symbol, timeframe, session setting and gap definition with each test.
- The illustrative rule does not require a second gap before candle 3; adding one creates another variant.
- A doji middle candle produces a doji-star variant. A smaller body alone supplies no measured win rate.
Distinguish incomplete confirmation from a failed reversal
If candle 3 closes at 106 in the example, there is no completed evening star under the chosen rule. Calling a later decline a successful evening star would change the definition after seeing the outcome. If candle 3 closes at 103, the pattern is complete. An optional follow-through rule could then require candle 4 to close below 102 without trading above 112. This is a separate one-bar test: discard the candidate if candle 4 fails, rather than waiting indefinitely for a convenient breakdown. Any signal based on candle 4 belongs at its close, not on candle 2 or candle 3. The alternatives below use the same completed pattern. A rise above 112 invalidates this illustrative bearish setup, while leaving its historical three-candle shape intact. A stop order above the high and an exit based on a closing-price invalidation are different execution rules; specify which one a strategy uses.
| Open / High / Low / Close | What happened | Follow-through result |
|---|---|---|
| 103 / 104 / 100 / 101 | Close below 102, high below 112 | Passes the optional one-bar filter |
| 103 / 106 / 101 / 104 | Intrabar dip below 102, then recovery | Fails: a low below 102 is not a close below it |
| 103 / 114 / 102.5 / 113 | Price rises through the pattern high | Fails and invalidates the bearish setup |
| Bar | Open | High | Low | Close |
|---|---|---|---|---|
| Candle 1 | 100 | 109 | 99 | 108 |
| Candle 2 | 110 | 112 | 109 | 110.5 |
| Candle 3 | 110 | 111 | 102 | 103 |
| Failure | 103 | 114 | 102.5 | 113 |
Hollow bodies close at or above the open. Filled bodies close below the open.
Invented continuation of the earlier example, not market data. Candle 3 completes the shape, but the next close at 113 exceeds the pattern high of 112. Confirmation of geometry does not guarantee a bearish outcome.
Test the rule at the time it becomes available
Evaluate the pattern after candle 3 closes. During an open candle its close, body and penetration can change; TradingView documents that barstate.isconfirmed becomes true on the closing update. Adding candle 4 follow-through delays the decision by another complete bar. In a default TradingView strategy, a market order created at a bar close can first fill on the next available tick, normally the next bar open. A backtest that uses the confirmation close as an automatic fill needs a different, explicit execution setting. Gaps, spread, commissions and slippage can change the realized entry or exit. Use standard OHLC charts for the baseline; synthetic chart prices can distort both the pattern and simulated fills. Before comparing settings, define the short entry, stop, target or time exit, and whether overlapping candidates are allowed. Keep those rules and the evaluation period fixed while changing one pattern threshold. Record rejected candidates separately from executed trades, and review a later holdout period before drawing conclusions. Neither the official pattern definition nor the examples here supplies a universal success rate.
Pineify next step
Turn the evening star rules into a script you can inspect
Use Pineify AI Coding Agent to request a detector with explicit trend, body-size, gap and penetration inputs. Check its generated conditions against the examples above before testing it in TradingView. The Visual Editor includes an Evening Star output, but its Candlestick Patterns configuration does not expose a penetration setting; a custom threshold needs a custom implementation. Backtest Report can analyze exported trades. Keep a separate candidate log to measure rejected setups and false signals that never became trades.
Educational information, not investment advice. All numerical examples are hypothetical and show no measured trading performance. Trading can result in losses, and short positions can lose more than their initial proceeds. Backtests do not guarantee future results.