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.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.