[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:Color Volume



PureBytes Links

Trading Reference Links


Mohan, All,
 Is the daily volume included from Yahoo or othersjust 
for the day time trading hours and not to include after hours trading? If so, 
then calculating up/down volume from close of yesterday to close of today would 
draw incorrect color bars.
upbar = C > Ref(C,-1);downbar = C < 
Ref(C,-1);
If there was a gap up open and the close was less than the 
open, but, more than the previous close then it would show green, an up day, 
that would otherwise be a red down day.
This may be what was meant.
upbar = C > O;downbar = C < O;
 
Thanks,
Brian