TradingView chart workflows

Line break charts: reversal logic and confirmation

A line break chart adds a line when a closing price breaks the range of prior confirmed lines. With three lines selected, an established rising sequence continues above its latest high and reverses below the lowest low of the last three lines. Equal prices and insufficient reversals add nothing. The missing lines hide price movement and elapsed time; they do not remove market risk.

See the decision guide

Separate continuation from reversal

TradingView compares the close with the high and low bounds of the chosen number of confirmed lines. For three consecutive rising lines, the upper bound is the latest line high; the reversal bound is the lowest low across all three. A falling sequence mirrors this relationship. The reference is line history, not a three-period moving window of ordinary closes.

  • Use the full line highs and lows. Three line closes alone can omit the opening edge of the oldest reference line.
  • The examples below start with an established sequence. They do not specify how to seed the first lines of an empty chart or reconstruct every native TradingView bar.
Existing sequenceContinuationReversal
Three rising linesClose strictly above the latest highClose strictly below the lowest low of those three lines
Three falling linesClose strictly below the latest lowClose strictly above the highest high of those three lines
Close inside the reference range or equal to either boundNo new lineNo reversal line

Three line break: follow each close and update the window

Start with three hypothetical confirmed up lines: A from 100 to 102, B from 102 to 104, and C from 104 to 106. The initial bounds are 100 and 106. Process the following closes in order; these are illustrative price units, not a historical price series.

  • The 100 close did not create a line, so it did not move the reference window. Adding D removed A and raised the downside threshold from 100 to 102.
  • A later close of 101 can therefore reverse the chart even though it is above the earlier close of 100. The different outcome follows from the intervening new line.
  • For a separate falling example, use lines 110 to 108, 108 to 106, and 106 to 104. A close below 104 extends the decline; a close above 110 reverses it. Exactly 104 or 110 creates neither event.
Next closeReference before this closeDecision
106A, B, C: low 100; high 106Equal to 106: no new line
105A, B, C: low 100; high 106Inside the range: no new line
100A, B, C: low 100; high 106Equal to 100: no reversal
107A, B, C: low 100; high 106107 > 106: add up line D from 106 to 107
103B, C, D: low 102; high 107Inside the updated range: no new line
102B, C, D: low 102; high 107Equal to the new reversal bound: no new line
101B, C, D: low 102; high 107101 < 102: a down reversal line is confirmed

Compare one, three and five lines from the same starting state

Assume five existing up lines: 96 to 98, 98 to 100, 100 to 102, 102 to 104, and 104 to 106. For the next close only, the one-line reversal bound is 104, the three-line bound is 100, and the five-line bound is 96. Each row below is a separate experiment that resets to this same starting state.

  • For this shared rising history, more reference lines require a larger downward move. That delays this reversal; it does not establish a more accurate forecast.
  • After the first different decision, the charts have different histories. Recompute each independently instead of applying this fixed table to a whole session.
  • Keep symbol, source interval, session and observation dates fixed when comparing counts. Choose evaluation rules before viewing outcomes.
Independent next closeOne lineThree linesFive lines
103Down reversal: 103 < 104No line: 103 > 100No line: 103 > 96
99Down reversalDown reversal: 99 < 100No line: 99 > 96
96Down reversalDown reversalNo line: equal to 96
95Down reversalDown reversalDown reversal: 95 < 96
107Up continuationUp continuationUp continuation

No new line can conceal a six-point move

In the first example, closes of 106, 105 and 100 all leave the existing chart unchanged. A position exposed from 106 to 100 still experiences a six-point adverse move. The absence of a new red line says nothing about whether a stop, margin limit or other execution condition was reached.

  • An ordinary candle could also have a high of 108 and a low of 98 while closing at 105. A calculation using that close does not retain the full intrabar path. Do not infer the order of the high and low from OHLC alone.
  • This is a close-sequence illustration, not a prediction of every native intraday line: TradingView uses lower-timeframe price data, so its construction may include observations that a coarse candle example leaves out.
  • Keep a standard candle chart alongside Line Break and inspect the same timestamps. Record the elapsed time and high/low range between confirmed lines.

Check the TradingView construction before reading a signal

Select Line Break from the chart-type menu and set Number of lines to 3 in chart settings. Save the symbol, session and selected interval with the count. TradingView documents lower-timeframe construction as an approximation of tick-based calculations. A price-driven display therefore still depends on its source data.

  • Distinguish projection up/down bars from confirmed lines. Record a developing observation again after the source interval closes and after a reload.
  • Inspect a candidate reversal against the actual reference lines shown on the chart. Do not substitute the last three standard candles or an assumed fixed price box.
  • Changing the source interval can change which observations are available to construction. A daily close-only teaching example is not a guarantee of the native intraday sequence.
  • Official documentation was checked on October 17, 2026. This page does not claim a signed-in chart comparison or tick-by-tick reconstruction.

Observe Line Break values on standard candles with Pine Script

This Pine v6 indicator requests the Line Break open and close while leaving standard candles visible. The Data Window reports sampled direction as +1 for up, -1 for down, and 0 for equal open/close. Missing data remains na. It creates no orders and does not count native lines or mark confirmed reversal events.

  • Add the indicator to a standard time-based candle chart. Compare the plotted values with a separate native Line Break chart using the same symbol, session, interval and line count.
  • gaps_off carries available historical values forward and can show developing values in realtime. A flat plot may be a carried value; it is not evidence of zero market movement.
  • lookahead_off avoids requesting future values through lookahead. It does not make a developing synthetic feed immutable or guarantee identical values after reload.
  • The request maps another feed onto host chart bars. A change between sampled values is not a complete log of all native lines formed in between. Check timestamps before labeling events.
Synthetic Line Break observations, not executable fill pricespinescript
//@version=6
indicator("Line Break observations", overlay = true)

if not chart.is_standard
    runtime.error("Use a standard time-based candle or bar chart.")

int lineCount = input.int(3, "Number of lines", minval = 1)
string lineBreakTicker = ticker.linebreak(syminfo.tickerid, lineCount)
[lbOpen, lbClose] = request.security(lineBreakTicker, timeframe.period, [open, close], gaps = barmerge.gaps_off, lookahead = barmerge.lookahead_off)
float sampledDirection = na(lbOpen) or na(lbClose) ? na : lbClose > lbOpen ? 1 : lbClose < lbOpen ? -1 : 0

plot(lbOpen, "Synthetic Line Break open", color = color.orange, style = plot.style_stepline)
plot(lbClose, "Synthetic Line Break close", color = color.blue, linewidth = 2, style = plot.style_stepline)
plot(sampledDirection, "Sampled direction (+1 up, -1 down)", display = display.data_window)

Keep signal observation separate from trade simulation

TradingView warns that strategies on non-standard charts simulate fills at synthetic chart prices and can produce unrealistic results. A Line Break reversal price is not proof that an order could fill there. The standard-OHLC fill option documented for Heikin Ashi is not a general Line Break backtest repair.

  • If testing orders, use standard price bars and explicitly define when the observed signal becomes available, when an order can be submitted, and how fees, slippage and gaps are handled.
  • Using standard bars for fills does not fix a signal that relies on unstable or retrospectively reconstructed synthetic data. Compare live observations with reloaded history before interpreting a report.
  • Pineify AI Coding Agent can help draft or revise an observation indicator from written rules. Specify the line count, chart context, missing-data behavior and labels; review the generated source and test its behavior in TradingView.
Where Pineify fits

Pine Script AI Coding Agent

Describe the Line Break values you want to inspect beside standard candles. Draft an observation indicator, then review its data requests and realtime behavior in TradingView.

Draft an observation indicator

Frequently asked questions

Educational chart examples, not investment advice. All numerical sequences are hypothetical. Synthetic observations and simulated trades do not establish executable prices or future returns.

Sources and verification

Published by Pineify. Pineify is an independent product and is not affiliated with TradingView. Sources support the technical explanations; examples do not establish trading performance.