Average daily volume - Watchlist Column - Number Format

  • Thread starter traderintheroom
  • Start date
traderintheroom

traderintheroom

Member
Hi All. I am stuck on this one. I really like to have a column in my watchlist next to volume for average daily volume for a 60 day period. I have it, but the column's format is off, it has no commas and has decimals. Would like it to look just like the volume number format. Is this possible?

I am using the ThinkScript VolumeAvg ("length" = 60) . "volavg"
 
RobertPayne

RobertPayne

Member
Use this instead.

Ruby:
def avgVol = Average(volume, 60);
AddLabel(yes, Round(avgVol, 0));
 
traderintheroom

traderintheroom

Member
Thank you so much - my eyes will appreciate this :)
 

Similar threads

Top