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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。