OPEN-SOURCE SCRIPT
My script

//version=5
indicator("200-Day Volume MACD Oscillator", overlay=false)
length = 200
vol_avg = ta.sma(volume, length)
oscillator = volume - vol_avg
plot(oscillator, style=plot.style_histogram, color=oscillator >= 0 ? color.green : color.red, title="Volume MACD Oscillator")
indicator("200-Day Volume MACD Oscillator", overlay=false)
length = 200
vol_avg = ta.sma(volume, length)
oscillator = volume - vol_avg
plot(oscillator, style=plot.style_histogram, color=oscillator >= 0 ? color.green : color.red, title="Volume MACD Oscillator")
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.