AI-Powered Breakout with Advanced Features
Aug 7, 2024

The AI-Powered Breakout with Advanced Features indicator identifies key market breakout points by combining traditional pivot-based detection with an adaptive moving average to filter for trend momentum and reduce false signals.
Usage
The indicator can be used to identify potential entry points during periods of price consolidation and subsequent expansion.
- Bullish Breakouts: A green triangle appears below the bar when price breaks above a resistance zone confirmed by multiple historical pivot highs. A secondary AI-powered signal occurs when price crosses above the lookback high while remaining above the Adaptive MA.
- Bearish Breakouts: A red triangle appears above the bar when price breaks below a support zone confirmed by multiple historical pivot lows. Similarly, a breakdown signal is generated when price crosses below the lookback low while remaining below the Adaptive MA.
- Support/Resistance Zones: Horizontal boxes are drawn on the chart to visualize the "channel" or "cup" area where the breakout was validated, helping traders see the historical significance of the level.
Details
The script operates on two primary logic layers:
- Pivot-Based Breakout Finder: It stores pivot highs and lows in arrays over a specific "Max Breakout Length." A breakout is only validated if the price breaks a level that has been "tested" a minimum number of times (determined by the user) within a specified percentage threshold.
- Adaptive Moving Average (AMA): To improve signal quality, the tool uses an AMA calculated from the difference between a fast EMA and a slow EMA. This acts as a dynamic trend filter; bullish signals are only valid if price is above the AMA, and bearish signals are only valid if price is below it.
Settings
Main Settings
- Lookback Length: Sets the period for calculating the highest high and lowest low used for standard breakout signals.
- Multiplier for Adaptive MA: Controls the sensitivity of the adaptive moving average filter.
- Source: Determines the price input used for calculations (default is Close).
- Period: Sets the number of bars used to detect pivot highs and lows.
- Max Breakout Length: The maximum number of bars back the script will look to find valid pivot points.
- Threshold Rate %: Defines the width of the price channel around a pivot level to count "tests" of that level.
- Minimum Number of Tests: The required number of times a level must be touched to be considered a valid breakout zone.
Visuals
- Breakout Colors: Customizes the colors for bullish and bearish signals and zones.
- Line Style: Changes the appearance of the breakout zone borders (Solid, Dashed, or Dotted).
FAQ
How do I access AI-Powered Breakout with Advanced Features?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
What is the difference between the triangles and the lines?
The triangles represent the immediate execution signal when a breakout is validated, while the lines and boxes visualize the historical support or resistance zone that the price has just breached.
Can I use this for scalping?
Yes, the indicator is adaptable to various timeframes. However, users should adjust the "Pivot Period" and "Lookback Length" to match the volatility of lower timeframes to avoid market noise.
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.

