OPEN-SOURCE SCRIPT
Disparity Index Optimized for BTC_USD by M.YALCIN

The disparity index measures the relative position of an asset's most recent closing price to a selected moving average and reports the value as a percentage.
A value greater than zero—a positive percentage—shows that the price is rising, suggesting that the asset is gaining upward momentum. Conversely, a value less than zero—a negative percentage—can be interpreted as a sign that selling pressure is increasing, forcing the price to drop. A value of zero means that the asset’s current price is exactly consistent with its moving average.
The disparity index is a momentum indicator that indicates the direction an asset is moving relative to a moving average.
Large moves in either direction for the index may foreshadow that a price correction is ahead, i.e., whether the asset is overbought or oversold.
A value greater than zero—a positive percentage—shows that the price is rising, suggesting that the asset is gaining upward momentum. Conversely, a value less than zero—a negative percentage—can be interpreted as a sign that selling pressure is increasing, forcing the price to drop. A value of zero means that the asset’s current price is exactly consistent with its moving average.
The disparity index is a momentum indicator that indicates the direction an asset is moving relative to a moving average.
Large moves in either direction for the index may foreshadow that a price correction is ahead, i.e., whether the asset is overbought or oversold.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.