Dip Volume V1
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Dipankar_Biswas
// @version=4

study("Dip Volume V1") 

futures_volume =  input(defval = 'NSE:BANKNIFTY1!',title  = "Volume Data",options  = ['NSE:BANKNIFTY1!','NSE:NIFTY1!'])
referenceData = security(futures_volume, resolution=timeframe.period, expression=volume)

plot(referenceData, color=(open > close) ? #ef5350 : #26a69a,style=plot.style_columns, title="Volume", transp=50)
