OPEN-SOURCE SCRIPT
Customizable Disparity Index (Short EMA + Mid SMA, Base 100%)

This indicator plots the Disparity Index (%) from both a short-term EMA and a mid-term SMA, using 100% as the baseline.
1. How to use:
- Disparity above 100% means price is above the selected moving average.
- Disparity below 100% indicates the price is below the moving average.
- This can help identify overbought/oversold conditions or mean-reversion opportunities.
Fully customizable periods for both EMA and SMA. Suitable for fast-moving markets like crypto.
2. Practical Interpretation of the 100% Baseline Disparity Index
100%: Price is equal to the moving average (neutral baseline)
100–103%: Normal bullish movement, price riding above MA support
105%+: Potential short-term overbought, especially after a sharp rise
110–115%+: Strong overbought signal, often followed by pullback or consolidation
95% or lower: Possible oversold condition, potential bounce or reversal zone
Use in combination with volume, RSI, or candlestick patterns for confirmation.
1. How to use:
- Disparity above 100% means price is above the selected moving average.
- Disparity below 100% indicates the price is below the moving average.
- This can help identify overbought/oversold conditions or mean-reversion opportunities.
Fully customizable periods for both EMA and SMA. Suitable for fast-moving markets like crypto.
2. Practical Interpretation of the 100% Baseline Disparity Index
100%: Price is equal to the moving average (neutral baseline)
100–103%: Normal bullish movement, price riding above MA support
105%+: Potential short-term overbought, especially after a sharp rise
110–115%+: Strong overbought signal, often followed by pullback or consolidation
95% or lower: Possible oversold condition, potential bounce or reversal zone
Use in combination with volume, RSI, or candlestick patterns for confirmation.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.