Smart Disparity IndexThe Smart Disparity Index (SDI) is an optimized version of the Disparity Index indicator invented by Steve Nison (book "Beyond Candlesticks").
According to Steve Nison, "The disparity index (or disparity ratio), compares, as a percentage, the latest close to a chosen moving average", which means that the indicator gives the difference in % between the closing price and a simple moving average.
The calculation formula is therefore as follows:
Disparity Index = 100 x (closing_price - simple_moving_average) / simple_moving_average
In order to optimize the calculation, I replaced the closing price with the 6-period exponential moving average (EMA6) which, according to many years of experience, allows prices to be smoothed by eliminating excesses.
Formula for calculating the Smart Disparity Index:
SDI = 100 x (EMA6 - simple_moving_average) / simple_moving_average
The provided script displays the SDI for the 20, 50, 100 and 200 periods.
From my point of view, I recommend using the SDI50 as a priority:
SDI50 = 100 x (EMA6 - SMA50) / SMA50
In the chart, we can see the SDI50 (in purple) is on a long-term support (in green), this indicates a probability of a Bitcoin rise in the coming months.
The SDI can also be used as a momentum type indicator.
디스패리티 인덱스
Disparity Index Optimized for BTC_USD by M.YALCINThe 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.
On Balance Volume Disparity IndicatorThe On Balance Volume Disparity Indicator was created by Phillip C. Holt (Stocks & Commodities V. 14:6 (265-269)). This converts the classic OBV indicator into Bollinger Bands and calculates the percentage of where the value lies within the Bollinger Bands. Buy when the obvdi rises above its signal line and sell when it falls below the signal line.
This was a special request so let me know what other indicators you would like me to write scripts for!
Combo Backtest 123 Reversal & CMOaDisparity Index This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The related CMOaDisparity Index article is copyrighted material from Stocks & Commodities Dec 2009
My strategy modification.
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Strategy 123 Reversal & CMOaDisparity Index This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The related CMO Disparity Index article is copyrighted material from Stocks & Commodities Dec 2009
My strategy modification.
WARNING:
- For purpose educate only
- This script to change bars colors.
CMOaDisparity Index Backtest The related article is copyrighted materialfrom Stocks & Commodities Dec 2009
My strategy modification.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
CMOaDisparity Index Strategy The related article is copyrighted material from Stocks & Commodities Dec 2009
My strategy modification.
WARNING:
- This script to change bars colors.