All indicators

Breakout Filter

Jul 16, 2023

Static chart image
Price Action BasedVolume BasedSignalsChannelsMoving Averages

The Breakout Filter indicator identifies potential breakout trading opportunities by combining price and volume criteria with Donchian Channels and Exponential Moving Average (EMA) trend analysis.

Usage

The indicator utilizes three distinct signal layers to highlight market strength and momentum. Traders can use these filters to identify entry points based on specific breakout characteristics.

  • Filter 1 (Price & Volume): This signal appears when the price crosses above the middle line of the Donchian Channel and is accompanied by trading volume exceeding its moving average. This suggests a confirmed shift in momentum backed by market participation.
  • Filter 2 (Upper Band): This signal triggers when the price breaks above the upper band of the Donchian Channel, indicating a potential continuation of strong upward momentum.
  • Filter 3 (Combined): This represents the strongest signal, occurring when both Filter 1 and Filter 2 conditions are met simultaneously, suggesting a highly significant breakout event.

Traders can also enable the EMA lines to determine the broader trend context. For example, a breakout signal that occurs while price is above the 200-period EMA may be considered higher probability than one occurring in a long-term downtrend.

Details

The script is built around the Donchian Channel framework, which measures the highest high and lowest low over a user-defined period. The "middle line" acts as a short-term trend pivot. The volume component ensures that breakouts are not just price fluctuations but are supported by increased activity.

The tool also integrates three Exponential Moving Averages (EMAs) which are calculated based on the closing prices. These provide dynamic support and resistance levels and help traders maintain a "trend-following" perspective when evaluating signals.

Settings

Breakout Settings

  • Price Breakout Period: Sets the lookback period for the Donchian Channel calculation (default is 20).
  • Volume Breakout Period: Sets the length of the Simple Moving Average (SMA) used to determine if volume is significantly higher than average.

EMA Settings

  • Plot EMA Lines: Toggles the visibility of the three Exponential Moving Average lines on the chart.
  • EMA1: Sets the period for the first EMA line (e.g., 50).
  • EMA2: Sets the period for the second EMA line (e.g., 100).
  • EMA3: Sets the period for the third EMA line (e.g., 200).

FAQ

How do I use this with the TradingView Screener?

To find assets meeting the breakout criteria, you can add a column for "Donchian Channels (20) Upper" and filter for "Equal" or "Crossing" price levels.

Can I change the sensitivity of the signals?

Yes, by adjusting the "Price Breakout Period," you can make the Donchian Channels more reactive (shorter period) or more stable (longer period) to suit different timeframes and asset classes.

How do I access the Breakout Filter?

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.