OPEN-SOURCE SCRIPT

Distance From EMA

This indicator plots the distance in percent from price action to a moving average. Negative values mean that the price is below the moving average and positive values mean that the price is above the moving average. You can chose from EMA, MA, WMA, HMA for your input moving average. You can also change the period and source( open, close, high, low ). This is a useful tool for scalpers.
Moving Averages

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer