I tested it on ES last night on 30 second ES chart, and it was hitting every 30 seconds...and doing it's business.
Well, today, I put the indicator, with a 30 second timer, on a 1 minute chart, and then it only fired every one minute!!! LOL
OnBarUpdate was in charge of plotting my lines every 1 minute...
// Initiate our Timer object with an interval of 1000ms (1 second) MyTimer.Interval=30000; //30 seconds MyTimer.Enabled=true;
Oh smacks....
that might be why.. the dataseries might be tied to the OnBarUpdate still...
so is anyone else aware of this?
So I was setting every 30 seconds probably, but the dataseries.Set would simply over write what was there previously, since it didn't advance from an OnBarUpdate call of 1 minute.
My chart is set today to 30 seconds, so I expect 1080 or so data points.
I'm pretty sure only 4 other people here would understand what's going on.
Comment