Technical Candlestick Trading Guide

Confirmation Candle Trading: Define the Close Before Entry

A confirmation candle is a completed bar that meets a rule chosen before a trade, such as closing above a prior high after a support test. It confirms that the specified price condition occurred. It does not verify institutional participation, guarantee the next move or establish a higher win rate.

Draft candle confirmation rules

What is a confirmation candle in trading?

A level touch and a completed close beyond a level are different observations. Neither is automatically a better entry. Waiting may avoid a temporary intrabar signal, but it can also move the entry farther from the planned stop or miss a move altogether. Evaluate those tradeoffs with the same instrument, data period, exit logic and cost assumptions.

Entry on a level touchEntry after a defined confirmation close
Condition can occur while the bar is still openCondition is assessed when the bar closes
May enter before a subsequent rejection or failureMay enter later at a different price or never qualify
Distance to the stop depends on the actual fillThe same stop can produce larger or smaller distance after price changes
Requires an explicit intrabar fill modelStill requires a fill model after the closing signal

Turn candle characteristics into testable rules

There is no universal 60% or 70% body threshold, volume multiple or ATR cap that makes a candle reliable. Write candidate conditions as measurable inputs, then compare them against a baseline on unseen data. Avoid choosing thresholds after looking at only the successful examples. Volume also depends on the instrument and feed; a missing or tick-volume series is not interchangeable with consolidated traded volume.

  • Body fraction: absolute open-to-close distance divided by high-to-low range; skip or explicitly classify zero-range bars instead of dividing by zero
  • Reference break: specify whether the close must strictly exceed the previous high or fall below the previous low; decide how equality is handled
  • Volume filter: state the averaging period and whether the current bar is included; define a missing-volume policy rather than silently treating missing as zero
  • Size filter: express any range limit relative to a specified ATR calculation; test the effect on entry distance and rejected signals

Common confirmation candle setups and patterns

These are example rule definitions, not measured profitable patterns. Candle color and body size are separate conditions: a close can exceed a reference level even if the bar is red. The whole body need not be outside a range unless that is an additional rule you deliberately choose.

Candidate setupReference selected beforehandExample completed-bar condition
Support responseHigh of the bar that tested supportA later close strictly above that high
Resistance responseLow of the bar that tested resistanceA later close strictly below that low
Range breakoutFrozen upper or lower range boundaryClose outside the selected boundary
Moving-average reclaimNamed average and its calculation timeframeClose above the average after a defined prior-below state

A hypothetical entry-price tradeoff

Suppose an initial support-entry plan uses 100, a stop at 98 and a target at 106: planned risk is 2 price units and reward is 6, or 3R before costs. If waiting for a confirmation close produces a fill at 102 while keeping the same stop and target, planned risk becomes 4 and reward 4, or 1R. These invented prices do not measure win rates. A gap can change the fill, and the stop is not a guarantee of the maximum loss.

Signal confirmation and execution in Pine Script

TradingView distinguishes bar confirmation from order execution. A confirmed-bar condition can prevent a current chart-bar signal from disappearing before that bar closes. It does not repair future-data leakage, delayed pivots or every higher-timeframe repainting problem. The default strategy calculation and broker-emulator fill timing also differ: a market order created after a bar closes normally fills at the next available tick, commonly the next bar open in a historical backtest.

  • Use barstate.isconfirmed for the intended chart-bar condition; it is true on historical bars and on the realtime closing update, and does not work as a confirmation check inside request.security
  • Keep the signal timestamp distinct from the fill price; processing orders on close or using intrabar recalculation changes assumptions and needs separate review
  • Specify stop, target, position size and costs; an alert condition or indicator alone is not a strategy order or live broker execution
  • Review generated logic and compare replay/forward observations; a syntax pass does not establish that the script never repaints
Where Pineify fits

Pine Script AI Coding Agent

Draft indicators or simulated strategies from explicit candle, timing and risk rules. Review code and behavior in TradingView; account and plan limits apply.

Also useful: Visual Pine Script Editor. Assemble conditions from supported visual components. Verify that the required confirmation and data logic is available; use reviewed custom code for requirements outside those components.

Draft candle confirmation rules

Frequently asked questions

Educational information only, not financial or investment advice. Technical analysis and candlestick patterns do not guarantee future price movement. Always manage your risk responsibly.

Sources and verification