OPEN-SOURCE SCRIPT
Z-Score Distortion Lab

Name: Z-Score Distortion Lab 🔬
Description:
The Anatomy of Market Volatility
Most indicators focus on price direction, but Z-Score Distortion Lab dives deeper into the "Statistical Health" of the market. This tool analyzes the 3rd and 4th statistical moments—Skewness and Excess Kurtosis—to identify when price action is deviating from a normal distribution.
Key Clinical Features:
Skewness (Neon Line): Measures the asymmetry of price distribution. A high positive/negative skew indicates a strong directional bias or "Distortion" that often precedes trend exhaustion or sharp reversals.
Excess Kurtosis (Aqua Line): Monitors "Fat-Tail Risk." When Kurtosis spikes, it signals extreme market conditions and high volatility where outliers (black swan events) are more likely to occur.
Visual Diagnostics: Equipped with "Risk Triangles" and "Bias Arrows" to highlight statistical anomalies in real-time.
How to use in your "Lab":
Risk Monitoring: Use the Kurtosis threshold to identify high-risk environments where standard strategies might fail.
Bias Detection: Use Skewness arrows to confirm the underlying strength of a move.
Customizable Thresholds: Fully adjustable inputs to fit your specific timeframe and asset class.
Disclaimer:
This tool is for statistical analysis and educational purposes only. It does not provide financial advice or guaranteed trade signals. Always use proper risk management.
Description:
The Anatomy of Market Volatility
Most indicators focus on price direction, but Z-Score Distortion Lab dives deeper into the "Statistical Health" of the market. This tool analyzes the 3rd and 4th statistical moments—Skewness and Excess Kurtosis—to identify when price action is deviating from a normal distribution.
Key Clinical Features:
Skewness (Neon Line): Measures the asymmetry of price distribution. A high positive/negative skew indicates a strong directional bias or "Distortion" that often precedes trend exhaustion or sharp reversals.
Excess Kurtosis (Aqua Line): Monitors "Fat-Tail Risk." When Kurtosis spikes, it signals extreme market conditions and high volatility where outliers (black swan events) are more likely to occur.
Visual Diagnostics: Equipped with "Risk Triangles" and "Bias Arrows" to highlight statistical anomalies in real-time.
How to use in your "Lab":
Risk Monitoring: Use the Kurtosis threshold to identify high-risk environments where standard strategies might fail.
Bias Detection: Use Skewness arrows to confirm the underlying strength of a move.
Customizable Thresholds: Fully adjustable inputs to fit your specific timeframe and asset class.
Disclaimer:
This tool is for statistical analysis and educational purposes only. It does not provide financial advice or guaranteed trade signals. Always use proper risk management.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。