The Mean Distance Indicator The distance indicator is a market regime technique that measures the relative distance between the market price and the moving average. To calculate the indicator we can follow these steps:
Calculate the difference between the market price and the current moving average value. Calculate the RSI on the differenced values.