PROTECTED SOURCE SCRIPT

Mean Distance Indicator

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

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?

Disclaimer