OPEN-SOURCE SCRIPT
Atualizado

Moving Average Area

1 557
As a trader, it is much more convenient to draw support and resistance in a form of an area instead of just a straight line. Same thing with moving averages which are often used as dynamic support and resistance. This indicator plot a moving average on the chart in a form of an area. You can customize the size of the band in the options menu.
Notas de Lançamento
Change the band size data type from integer to float.
Notas de Lançamento
Added features to select moving average type between simple moving average (SMA) and exponential moving average (EMA)
I copied the line of code from the ATR indicator.
Notas de Lançamento
Separate the background fill into upper and lower band so that user can toggle them individually.

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.