----------------------------------- CaptainKirk Sun Jun 06, 2010 8:24 pm Re: TOS bar counting help! ----------------------------------- If you can be more clear about what you want, I can probably help. I have written about 30 TOS studies. There exists a function BarNumber() whch tells you the current bar number... But I am a bit lost as to the importance of counting bars from an arbitrary bar standpoint. Also, beware, that if you PAD the right side of a TOS chart with 5 bars, they will be numbered the highest bar numbers, DESPITE a lack of data for them. But you can plot in that area if you wish. Kirk Out!