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.
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.