Strong Gold Breakouts M5
Mar 31, 2026

The Strong Gold Breakouts M5 indicator is a precision trading tool designed to identify high-probability consolidation zones and breakout opportunities on the 5-minute timeframe. It utilizes a multi-dimensional 0–10 scoring algorithm to detect price compression, automatically plotting breakout levels and dynamic profit targets based on market volatility.
Usage
The script is primarily intended for intraday gold trading. It visualizes market consolidation using color-coded boxes that represent the strength of the compression (White: 6, Yellow: 7, Orange: 8, Red: 9–10).
To use the indicator:
- Identify a Zone: Look for a high-scoring consolidation zone (score 6+).
- Set Breakout Levels: The tool automatically places "Buy Stop" and "Sell Stop" lines at a user-defined buffer (default 2 USD) from the zone edges to filter out market noise.
- Wait for Confirmation: An entry is triggered when an M5 candle closes above the Buy Stop or below the Sell Stop line.
- Manage Profits: Use the three dynamic Take Profit (TP) lines, which are calculated as percentages of the 10-day Average Daily Range (ADR).
Details
The indicator's core logic relies on a 10-point scoring system to quantify consolidation. It evaluates ten distinct technical factors:
- ADX Filter: Checks for low-trend environments.
- Compression Index: Measures price log-density.
- ATR Compression: Identifies periods where the current range is tight relative to historical volatility.
- EMA & Macro Slopes: Ensures price action is sideways on both local and higher timeframes.
- BB Width & RSI/Stochastic Bounds: Confirms price is bound within specific oscillators and volatility bands.
- Volume Participation: Checks for lower volume typically associated with "coiling" phases.
When these conditions align, a zone is formed. The tool also includes a merging feature where nearby overlapping zones are unified to create a cleaner chart and more robust structural levels.
Settings
Main Settings
- Minimum Zone Score (0-10): Filters zones based on the number of technical conditions met.
- Minimum Zone Span (Bars): Sets the minimum duration a consolidation must last to be considered valid.
- Zone Transparency: Adjusts the visual opacity of the plotted boxes.
Zone Merging
- Enable Merging: Toggles the merging of overlapping or adjacent zones.
- Max Bar Gap: Sets the maximum horizontal distance between zones for a merge to occur.
- Min Overlap Ratio: The required vertical price overlap percentage to trigger a merge.
Breakout Levels (Stop & TP)
- Show Buy/Sell Stop Lines: Toggles the visibility of the entry/stop lines.
- Buffer (USD): The price distance added to the zone edge to determine the breakout trigger.
- ADR Period (Days): The lookback period used to calculate volatility for TP targets.
- TP1/TP2/TP3 Distance (% of ADR): Sets the profit targets as a percentage of the calculated daily range.
FAQ
How do I use the breakout alerts? You can set an alert using the "Any alert() function call" condition. The script will notify you when an M5 candle closes past a stop level or when a TP target is reached.
Can I change the sensitivity of the zones? Yes, by adjusting the "Minimum Zone Score" and "Minimum Zone Span" in the settings, you can filter for only the most significant consolidation periods.
How can I access this tool? 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.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.