Input plotMa = yes #input(title='Plot MA?', defval=false) Input periodMa = 100 #input(title='MA Length', minval=1, defval=100) #study(title='Cumulative Volume Delta', shorttitle='CVD', precision=0)
#// Adjust the length of the moving average according to your needs (Symbol, Timeframe, etc.) A Cumulative Volume Delta approach based on the Bull and Bear Balance Indicator by Vadim Gimelfarb published in the October 2003 issue of the S&C Magazine.