For anyone that is interested in a TOS watchlist column that shows dollar volume for the day. I have it coded so the values are grayed and less visible until they reach a specified dollar value (I use 500k for big board and 100k for OTC.) Once the level is passed, the values will highlight pink. This can be tweaked to whatever colors/dollar values you want. It can also be used as a custom study, but note that for the most accurate amount it would be best to use the smallest time frame possible.
To create a custom WL column, in the 'customize' menu, add a custom column, and click on the scroll to the left to edit the thinkscript. Below, paste the following code:
plot Data = close;
def volumeDollars = Round(volume * hlc3, 0);
def newDay = GetDay() <> GetDay()[1];
rec todaysVolumeDollars = if newDay then volumeDollars else todaysVolumeDollars[1] + volumeDollars;
AddLabel(yes, Concat("$", todaysVolumeDollars),(if todaysVolumeDollars>500000 then Color.MAGENTA else Color.DARK_GRAY));
To change the dollar value level, edit 'todaysVolumeDollars><<YOUR AMOUNT HERE>>'
To change the colors from magenta and Gray, replace those colors above with any of the ones in the thinkscript language format:
https://tlc.thinkorswim.com/center/reference/thinkScript/Constants/Color.html
If you just want a Dollar volume indicator, and don't care about the hiding/highlighting, simply remove the 'if' statement from the above AddLabel string.
Join now or log in to leave a comment