
-----------------------------------
boilingsnail
Fri Jun 17, 2011 9:45 am


-----------------------------------
bar counting is real easy in thinkdesktop, although it took me a while to find this simple solution. It's for a 5min chart as 5*60=300.


# plot bar number using seconds since open at 0930 EST
plot barNum = 1 + (secondsFromTime(0930)/300);
barNum.SetPaintingStrategy(PaintingStrategy.VALUES_BELOW);
