PROTECTED SOURCE SCRIPT
MA Distance Indicator

The distance from a moving average is a common way to look at how extended a stock is. This simplifies it a bit by plotting the distance below the chart, so you don't have to eyeball estimate it.
This indicator allows plotting the distance from 2 MAs, one is a histogram and one is a line.
The line MA is off by default.
The scale factor is in case you are using it intraday, it helps with small multiples of the Moving Average that would be common intraday.
"Scale by" lets you decide if the distance is measured as a percentage of the moving average level or as a count of ATRs.
This indicator allows plotting the distance from 2 MAs, one is a histogram and one is a line.
The line MA is off by default.
The scale factor is in case you are using it intraday, it helps with small multiples of the Moving Average that would be common intraday.
"Scale by" lets you decide if the distance is measured as a percentage of the moving average level or as a count of ATRs.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.