All indicators

Breakout Strategy Indicator

Feb 20, 2020

Static chart image
Support and ResistanceSignalsPivot Based (Retrospective)

The Breakout Strategy Indicator tool is designed to identify and highlight potential trend reversals or continuations by monitoring price breakouts from established pivot highs and lows.

Usage

The indicator can be used to spot momentum shifts when price breaks above a resistance level (Pivot High) or below a support level (Pivot Low).

  • Bullish Breakout: Occurs when the price crosses above the current Pivot High level. This is signaled by a green "Bull" label below the bar and a change in bar color.
  • Bearish Breakdown: Occurs when the price crosses below the current Pivot Low level. This is signaled by a red "Bear" label above the bar and a change in bar color.

Traders often use these signals to confirm entry points in trending markets or to identify the start of a new trend following a period of consolidation.

Details

The script utilizes pivot point calculations to establish dynamic horizontal levels. It calculates a Pivot High when a peak is found within a specific window of bars (defined by Left and Right length) and a Pivot Low when a trough is found.

The breakout logic is determined by a simple moving average (SMA) with a length of 1, effectively tracking the closing price. When this value crosses the sustained pivot levels, a signal is triggered. The indicator also features bar coloring to provide immediate visual feedback on the current price position relative to the established ranges.

Settings

  • Left Length: Determines the number of bars to the left of a potential pivot point to check for higher/lower values.
  • Right Length: Determines the number of bars to the right of a potential pivot point to confirm its status as a peak or trough.

FAQ

How do I use the Breakout Strategy Indicator?

You can use it to identify key breakout and breakdown levels based on historical price pivots. Look for "Bull" or "Bear" labels as potential entry signals.

What do the bar colors represent?

Green bars indicate price is trading above the last Pivot High, red bars indicate price is below the last Pivot Low, and orange bars typically indicate price is within the previous range or testing the high.

How can I access this script?

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.