There's two separated regions inside OnBarUpdate(), one if (State == State.Historical) an the other if (State != State.Historical), but the problem is when the historical state finishes I'm seeing that the script calls to if(BarsInProgress == 0), that is to say, the 3 minutes data series, but the actual bar doesn't finish and that generates me a bug when real processing begins.
Can I check if that last historical bar (minutes series) it's not finished?
Thanks.
Comment