All indicators

Breakout Indicator

Jan 7, 2019

Static chart image
Price Action BasedSupport and ResistanceSignals

The Breakout Indicator tool allows traders to set specific price levels and receive alerts when price breaks and closes beyond those predefined points.

Usage

The Usage section focuses on monitoring specific support and resistance levels for confirmation. Traders can interactively select a "Breakout Time" and two price levels (Long and Short) directly on the chart.

  • Long Breakout: When the closing price of a candle finishes above the user-defined long level after the specified start time, a bullish alert is triggered.
  • Short Breakout: When the closing price of a candle finishes below the user-defined short level after the specified start time, a bearish alert is triggered.

This tool is particularly useful for traders waiting for a range expansion or a breakout from a consolidation pattern, ensuring they are notified immediately upon a confirmed candle close rather than just a temporary wick touch.

Details

The script utilizes the confirm=true attribute in its input functions, allowing users to visually pick the time and price coordinates on the chart upon adding the script or modifying settings. The logic ensures that signals are only processed if the current bar's time is greater than or equal to the selected "Breakout Time," preventing historical alerts from triggering prematurely. Visual horizontal lines are plotted to show the active breakout levels, which are offset for better visibility.

Settings

  • Breakout Time: Sets the starting point in time from which the indicator begins looking for price breakouts.
  • Long Breakout Price: The price level that must be broken and closed above to trigger a long alert.
  • Short Breakout Price: The price level that must be broken and closed below to trigger a short alert.
  • Offset: Shifts the visual plot of the breakout lines to the right, helping to distinguish the target levels from historical price action.

FAQ

How do I use this to trade ranges? Identify the top and bottom of your range, then set the Long Breakout Price at the resistance and the Short Breakout Price at the support. The tool will alert you when price successfully closes outside of that range.

Can I set only one direction? Yes, by leaving one of the price inputs at 0 (or a level that price won't reach), you can focus exclusively on either long or short breakouts.

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

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.