How can I get DollarVolume to show up as an addable column in a scan?
I created the following study:
Code:
plot DollarVolume = close * volume;
# DollarVolume
AddLabel(yes, AsDollars(DollarVolume), Color.WHITE);
But it doesn't show up in the list for columns in the scan tab.
Can anybody help with this? trying to make a custom column study to show the current cumulative dollars traded on the day (volume * price each minute added together).
@Welkin my buddy, how are you?
Code:
def RunningDollarVolume = CompoundValue(1, (RunningDollarVolume[1]*Close[1]) + (volume*close), volume*close);
plot TotalDollarVolume = RunningDollarVolume;
Ok, nevermind, I think I got it. Here's the SHARE LINK to the code, for anyone who wants to add it as a column:
http://tos.mx/yaHbUmX
CODE:
Code:
def RunningDollarVolume = CompoundValue(1, (RunningDollarVolume[1]) + (volume*close), volume*close);
plot TotalDollarVolumeMM = Round(RunningDollarVolume/1000000,1);
FYI, because it was putting out some large numbers, I rounded it to the millions.
Does anybody know how to make a DollarVolume lower indicator, so instead of Volume it plots DollarVolume? It would look the same as volume, just the units expressed would not be volume of shares/contracts traded in one bar, but rather in Dollars (Volume*(OHLC/4)) or perhaps it can be reverse engineered from VWAP.