OPEN-SOURCE SCRIPT

My script

67
//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")

Pernyataan Penyangkalan

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.