OPEN-SOURCE SCRIPT
Goldilocks Regime Filter

Goldilocks Regime Filter is a lightweight market condition confirmation indicator engineered specifically for 1-minute Gold scalping.
Rather than generating trade signals, this tool focuses on identifying the current market regime—helping traders quickly determine whether price action is behaving in a directional (trending) or rotational (ranging) manner. This allows traders to align their existing entry strategies with appropriate market conditions and avoid applying momentum tactics in unfavorable environments.
The indicator synthesizes multiple aspects of market behavior—trend strength, volatility behavior, and price efficiency—into a simple, intuitive top-right table with a clear regime label and confidence reading. This makes it easy to assess market state at a glance without adding clutter to the chart.
Key Features
Designed specifically for 1-minute Gold charts
Clear Trending / Ranging / Neutral regime classification
Confidence score to gauge strength of the current condition
Non-repainting, confirmation-only logic
Minimalist table display that stays out of the way
Works alongside any strategy or discretionary approach
Intended Use
This indicator is designed to be used as a confirmation filter, not a standalone trading system. It is best applied to:
Confirm momentum-based setups during directional conditions
Avoid overtrading during low-efficiency, rotational markets
Improve discipline and context during fast intraday sessions
Goldilocks Regime Filter does not provide buy or sell signals and should be used in conjunction with proper risk management and a defined trading plan.
Rather than generating trade signals, this tool focuses on identifying the current market regime—helping traders quickly determine whether price action is behaving in a directional (trending) or rotational (ranging) manner. This allows traders to align their existing entry strategies with appropriate market conditions and avoid applying momentum tactics in unfavorable environments.
The indicator synthesizes multiple aspects of market behavior—trend strength, volatility behavior, and price efficiency—into a simple, intuitive top-right table with a clear regime label and confidence reading. This makes it easy to assess market state at a glance without adding clutter to the chart.
Key Features
Designed specifically for 1-minute Gold charts
Clear Trending / Ranging / Neutral regime classification
Confidence score to gauge strength of the current condition
Non-repainting, confirmation-only logic
Minimalist table display that stays out of the way
Works alongside any strategy or discretionary approach
Intended Use
This indicator is designed to be used as a confirmation filter, not a standalone trading system. It is best applied to:
Confirm momentum-based setups during directional conditions
Avoid overtrading during low-efficiency, rotational markets
Improve discipline and context during fast intraday sessions
Goldilocks Regime Filter does not provide buy or sell signals and should be used in conjunction with proper risk management and a defined trading plan.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.