Overextension Trendline Breakout

Apr 21, 2026

Static chart image
Support and Resistance
Signals
Fibonacci
Pivot Based (Retrospective)
Volatility

The Overextension Trendline Breakout indicator is a multi-pivot trendline detection system that identifies validated support and resistance lines through clean-line scanning and angle validation. It distinguishes meaningful market structure from noise by applying ATR-normalized filters and projects Fibonacci extension targets upon a confirmed breakout.

Usage

The indicator automatically identifies swing highs and lows across multiple timeframes. Once a trendline gathers enough touches, it is displayed on the chart to assist with trade identification.

  • Ascending Support (Cyan): Represents rising trendlines with at least 3 lows. A bounce suggests trend continuation, while a break signals a bearish reversal.
  • Descending Resistance (Orange): Represents falling trendlines with at least 3 highs. A rejection suggests trend continuation, while a break signals a bullish breakout.
  • Forming Lines (Dashed): These are emerging trendlines with 2 touches that have not yet met the minimum validation threshold.
  • Breakout Markers: Upward triangles (Bullish) and downward triangles (Bearish) appear when price closes beyond a validated line plus a specified ATR buffer.
  • Fibonacci Targets: Upon a breakout, the tool plots four configurable targets (0.618, 1.0, 1.618, and 2.618) to assist with profit taking.

Details

The script utilizes a configurable range of pivot lengths to build a pool of significant swing points. It employs three distinct validation layers to ensure accuracy:

  1. ATR-Scaled Angle Validation: Ensures lines aren't too flat or near-vertical by calculating steepness relative to market volatility.
  2. Touch Density: Requires a specific number of pivot connections within a volatility-adjusted tolerance.
  3. Clean-Line Scanning: Monitors intermediate price action between pivots to ensure no bar has significantly violated the trendline integrity.

Settings

Zigzag Pivots

  • Minimum/Maximum Pivot Length: Defines the lookback range for detecting swing highs and lows.
  • ATR Length: Sets the lookback for the Average True Range used in volatility normalization.
  • ATR Deviation Filter: When enabled, requires a minimum distance between consecutive pivots of the same type.
  • Minimum Pivots to Connect: The number of touches required to transition a line from "forming" to "confirmed."

Trendline Validation

  • Minimum/Maximum Angle: Filters trendlines based on their steepness in degrees.
  • Max Pivot-to-Pivot Span: Limits the maximum number of bars allowed between connected points.
  • Clean-Line Tolerance: Defines how far price can deviate from a line before it is considered invalidated.

Breakout Logic

  • Break Requires Close Beyond Line: Determines if a candle close is required to trigger a breakout or if a wick touch is sufficient.
  • Break Buffer: An extra ATR-based margin required beyond the line to confirm a breakout.
  • Max Line Age: The number of bars a line remains active before expiring.

Fibonacci Targets

  • Target Ratios: Configures the multiplier for the four projected Fibonacci levels.
  • Target Extension: Determines how many bars forward the target lines are drawn.

FAQ

How do I access Overextension Trendline Breakout?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Why do some trendlines disappear?

Lines that are violated by price action or exceed the "Max Line Age" setting are automatically removed or marked as expired to keep the chart clean.

What is the purpose of the Break Buffer?

The buffer is used to prevent "fakeouts" caused by minor price wicks, ensuring that the breakout is backed by sufficient momentum.

Free access on the following platforms
tradingviewSymbolTradingView
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

ninjatraderNinjaTrader
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

metatrader4MetaTrader 4/5
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

thinkorswimThinkorswim
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.

Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2026 LuxAlgo Global, LLC.