tapRoot_coding

(IK) Color Coded MA

Just a simple Moving Average indicator. Choose between SMA, EMA, and WMA, set the length and the source. There are 3 color indicators that represent whether price is above or below the moving average:
- the moving average line itself
- the background of the chart (optional)
- the 'underglow' of price action (optional - set 'underglow strength' to 0 to turn off)
You can customize the colors

I wasn't planning on publishing this, because, again, it doesn't really do anything special, but I've been using it for a little bit now in place of regular MAs, and I really dig the visual effect of the underglow, so I thought I'd share.

Feel free to steal/modify this.

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

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.

Quer usar esse script no gráfico?