Breakout Follow Trend [Strategy]
Apr 26, 2026

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.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

