Trend Breakout

Jul 16, 2025

Static chart image
Support and Resistance
Signals
Dashboard
Patterns

The Trend Breakout indicator identifies pivot high and pivot low points to detect breakouts and signal potential trend changes through dynamic support and resistance levels.

Usage

The Trend Breakout tool is designed for swing traders and trend followers to identify market reversals and momentum shifts. When the price crosses above a confirmed pivot high resistance line, a "Br" (Breakout) label appears, and the chart background turns green to indicate an uptrend. Conversely, a cross below a pivot low support line triggers a red background and a short breakout signal.

Users can use these visual cues to:

  • Identify Reversals: Watch for the formation of new pivot lines to anticipate shifts in market direction.
  • Confirm Trend Direction: Use the background coloring and dotted line transitions to stay aligned with the prevailing market bias.
  • Spot Entries: The "Br" labels serve as execution triggers for breakout-based strategies.

Details

The script utilizes a specific pivot pattern recognition logic. It tracks the last three pivot highs and lows. A valid resistance line is only drawn when the middle pivot high is higher than both the preceding and succeeding pivot highs. Similarly, a support line is established when a middle pivot low is lower than the surrounding two pivots. This filtering process ensures that only significant structural peaks and valleys are used for breakout detection, reducing noise from minor price fluctuations.

Settings

Pivot Settings

  • Right side Pivot Candle: Determines the number of candles to the right required to confirm a pivot point.
  • Left side Pivot Candle: Determines the number of candles to the left required to confirm a pivot point.

Visual Settings

  • Color Transparency: Adjusts the opacity of the trend-based background coloring (0-90).
  • Show Info script name Symbol and Timeframe: Toggles the visibility of the information table on the top right of the chart.

Alert Settings

  • Enable Breakout Alerts: Enables or disables the internal alert logic.
  • Show Alert Markers: Displays "LONG BREAKOUT" or "SHORT BREAKOUT" labels on the chart when a signal is triggered.

FAQ

How do I access Trend Breakout?

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

What do the dotted lines signify?

When a solid trendline is broken, it becomes dotted and thinner. This indicates that the previous level has been breached and the script is now looking for the next structural pivot to form a new level.

Can I use this on lower timeframes?

Yes, however, you may need to increase the "Left side" and "Right side" pivot candle settings to filter out market noise and focus on more significant structural breakouts.

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.