All indicators

Breakout Follow Trend [Strategy]

Apr 26, 2026

Static chart image
Volume BasedChannelsMoving AveragesVolatility

The Breakout Follow Trend [Strategy] tool is an automated trading system designed to capture momentum by trading Bollinger Band breakouts confirmed by volume and filtered by long-term trend direction.

Usage

The strategy enters a trade when price closes outside of the Bollinger Bands. For a long entry, the price must close above the upper band while remaining above the EMA filter (if enabled), and volume must exceed its moving average. Conversely, for a short entry, the price must close below the lower band while remaining below the EMA filter.

Examples of usage include:

  • Trend Following: By using the 200 EMA filter, the strategy ensures entries align with the primary market direction, reducing "head-fake" signals during counter-trend consolidations.
  • Volatility Breakouts: The Bollinger Band width adjusts to market volatility, allowing the strategy to wait for significant price expansion before triggering.
  • Risk Control: Users can define a specific Risk-to-Reward ratio and use ATR-based stop losses to automatically manage position sizing and exit levels.

Details

This strategy implements a rule-based execution model based on mathematical statistics. It utilizes several core components:

  • Bollinger Bands: Acts as the primary breakout trigger.
  • EMA Filter: Serves as a trend-bias mechanism to filter out low-probability trades.
  • Volume Filter: Ensures that breakouts are backed by significant market participation, increasing the likelihood of a sustained move.
  • Dynamic Risk Management: The script calculates position size based on a percentage of equity or a fixed balance, accounting for ATR-based stop loss distances to maintain consistent risk per trade.

Settings

Risk Management

  • Risk % per Trade: Percentage of the account balance to risk on each individual trade.
  • Risk:Reward Ratio: The ratio used to calculate the take profit target relative to the stop loss.
  • ATR Multiplier (SL): Multiplier applied to the ATR to determine the stop loss distance.
  • Max Concurrent Trades: Limits the number of open positions the strategy can hold simultaneously.
  • Use Compounding Risk: Toggle between risking a percentage of current equity or a fixed balance.
  • Daily Loss Limit %: Blocks new entries for the day if realized losses exceed this percentage of the base balance.

Indicators

  • Use EMA Trend Filter: Enable/disable the EMA as a directional filter.
  • EMA Period: The lookback period for the trend-filtering Exponential Moving Average.
  • Bollinger Bands Period: The number of bars used to calculate the Bollinger Band basis.
  • Bollinger Bands Deviation: The standard deviation multiplier for the bands.
  • ATR Period: The period used for Average True Range calculations.

Volume Filter

  • Use Volume Filter: Enable/disable the requirement for volume to be above its moving average.
  • Volume MA Period: The lookback period for the Volume Moving Average.

Time Filters

  • Start/End Hour: Defines the intraday window during which the strategy is allowed to open new trades.
  • Weekend Close: If enabled, the strategy will close all positions and block entries during the specified weekend window.

FAQ

How do I use the Breakout Follow Trend [Strategy]?

Apply the strategy to your chart and adjust the Risk Management settings to match your account size. It is specifically optimized for high-liquidity assets like Gold (XAUUSD).

Can I change the trend filter?

Yes, you can modify the EMA Period in the settings or disable the trend filter entirely if you wish to trade breakouts in both directions regardless of the long-term trend.

How can I access Breakout Follow Trend [Strategy]?

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.