To verify this I print the current bar # in the start of my OnBarUpdate(). I would expect this to print the same bar # for however many ticks occur in this bar. Not so, only printed twice (why twice?) when there are MANY ticks coming in here (1000 tick graph).
What am I doing wrong? I could swear it WAS working at one point (i have sounds hooked up and they were repeating per tick) but it does not now.
Thanks for any help.
My code:
protected override void Initialize() { signals = new DataSeries(this); Overlay = true; PriceTypeSupported = false; CalculateOnBarClose = false; } protected override void OnBarUpdate() { Print("Current bar = " + CurrentBar); ... }
Current bar = 548
Current bar = 548
Current bar = 549
Current bar = 549
Current bar = 550
Current bar = 550
Current bar = 551
Current bar = 551
Comment