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 protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.