All indicators

breakout and swing

Oct 9, 2018

Static chart image
Price Action BasedSupport and ResistanceSignalsChannelsVolatility

The breakout and swing indicator is a price action tool designed to identify trend direction, potential reversals, and price targets using a combination of swing points and breakout levels. It provides traders with a visual framework to determine bias and potential exit areas across various timeframes.

Usage

The indicator can be used to identify trend bias and potential trade entries through several visual components:

  • Breakout Line (Black): This line represents the main trend direction. When price is trading above this line, the bias is considered long; when below, the bias is considered short. By default, this is calculated based on a daily timeframe, making it suitable for 15m to 1h charts.
  • Swing Points (Blue Circles): These points mark support and resistance levels that appear after a market top or bottom. A break of these points often signifies a trend inversion or a significant shift in local market structure.
  • Targets (Red Circles): These levels attempt to project potential price targets following a reversal from a top/bottom or after a swing point is breached.
  • Donchian-style Channels: The green and red lines represent the highest and lowest points over a specific lookback period, helping to define the current trading range.

Details

The script utilizes a dual-timeframe approach by pulling data from a higher timeframe (Daily by default) to establish the breakout line. This ensures that intraday traders are aligned with the broader market trend. The swing points are derived from price action relative to the highest highs and lowest lows of a defined channel length. When price reaches the edge of these channels and随后 reverses, the script calculates a "trigger line" which serves as the swing point. Target projections are calculated using specific multipliers (such as 1.272 or 0.786) relative to the channel width and previous swing levels.

Settings

  • Close Time Frame: Determines the timeframe used for calculating the main Breakout Line. Default is Daily ("D").
  • high/lowChannel barback: Sets the lookback period for calculating the highest highs and lowest lows used to define the trading range and swing points. Default is 40.

FAQ

How do I use the Breakout Line?

The Breakout Line acts as a trend filter. Generally, you look for long opportunities when the price is above the line and short opportunities when it is below. You can adjust the "Close Time Frame" setting to align this line with your preferred higher-timeframe trend.

What do the blue circles indicate?

The blue circles represent swing support and resistance levels. A price crossover or crossunder of these levels can indicate a change in momentum or a reversal in the local price action.

How can I access breakout and swing?

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.