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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.