The last bar index is 3425, and the trace print of my indicator just do until 3424! (I have searched for 3425 with find, but no result)
All indicators on the chart has Calculate = Calculate.OnPriceChange;
Another indicator at the chart, had a trace print showing 3425!
protected override void OnBarUpdate()
{
//fixedDistDays = UpAndDowns().FixedDistDays;
Print(String.Format("CurrentBar {0} LastBarIndex_G {1}", CurrentBar, LastBarIndex_G));
if (CurrentBar == LastBarIndex_G)
{
//doEndOf_OnBarUpdate();
}
}
Please, give me some hint what might be wrong?
Thank you. /andbro
Comment