OPEN-SOURCE SCRIPT
Entropy-Gated Expansion State

This indicator identifies sustained directional expansion regimes by separating regime qualification from regime persistence. Directional entropy is used to detect when price transitions from a disordered environment into a structured one, acting as a gate that enables participation only during favorable market conditions. Once qualified, trend structure maintains the active state through consolidations and minor pullbacks, ensuring the indicator remains engaged throughout the expansion phase rather than firing as a short-lived signal.
The result is a persistent, state-based output that avoids sideways markets, reduces noise, and remains active during sustained trends across a wide range of assets, including high-volatility instruments.
The result is a persistent, state-based output that avoids sideways markets, reduces noise, and remains active during sustained trends across a wide range of assets, including high-volatility instruments.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。