OPEN-SOURCE SCRIPT
SmartPhase Analyzer

📝 SmartPhase Analyzer – Composite Market Regime Classifier
SmartPhase Analyzer is an adaptive regime classification tool that scores market conditions using a customizable set of statistical indicators. It blends multiple normalized metrics into a composite score, which is dynamically evaluated against rolling statistical thresholds to determine the current market regime.
✅ Features:
Composite score calculated from 13+ toggleable statistical indicators:
Sharpe, Sortino, Omega, Alpha, Beta, CV, R², Entropy, Drawdown, Z-Score, PLF, SRI, and Momentum Rank
Uses dynamic thresholds (mean ± std deviation) to classify regime states:
🟢 BULL – Strongly bullish
🟩 ACCUM – Mildly bullish
⚪ NEUTRAL – Sideways
🟧 DISTRIB – Mildly bearish
🔴 BEAR – Strongly bearish
Color-coded histogram for composite score clarity
Real-time regime label plotted on chart
Benchmark-aware metrics (Alpha, Beta, etc.)
Modular design using the StatMetrics library by RWCS_LTD
🧠 How to Use:
Enable/disable metrics in the settings panel to customize your composite model
Use the composite histogram and regime background for discretionary or systematic analysis
⚠️ Disclaimer:
This indicator is for educational and informational purposes only. It does not constitute financial advice or a trading recommendation. Always consult your financial advisor before making investment decisions.
SmartPhase Analyzer is an adaptive regime classification tool that scores market conditions using a customizable set of statistical indicators. It blends multiple normalized metrics into a composite score, which is dynamically evaluated against rolling statistical thresholds to determine the current market regime.
✅ Features:
Composite score calculated from 13+ toggleable statistical indicators:
Sharpe, Sortino, Omega, Alpha, Beta, CV, R², Entropy, Drawdown, Z-Score, PLF, SRI, and Momentum Rank
Uses dynamic thresholds (mean ± std deviation) to classify regime states:
🟢 BULL – Strongly bullish
🟩 ACCUM – Mildly bullish
⚪ NEUTRAL – Sideways
🟧 DISTRIB – Mildly bearish
🔴 BEAR – Strongly bearish
Color-coded histogram for composite score clarity
Real-time regime label plotted on chart
Benchmark-aware metrics (Alpha, Beta, etc.)
Modular design using the StatMetrics library by RWCS_LTD
🧠 How to Use:
Enable/disable metrics in the settings panel to customize your composite model
Use the composite histogram and regime background for discretionary or systematic analysis
⚠️ Disclaimer:
This indicator is for educational and informational purposes only. It does not constitute financial advice or a trading recommendation. Always consult your financial advisor before making investment decisions.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.