I'm new to NT8, so excuse my ignorance.
I want to understand how BarsInProgress is actually working. I have the following setup:
protected override void OnStateChange() {
if (State == State.Configure) {
AddDataSeries(BarsPeriodType.Minute, 5);
AddDataSeries(BarsPeriodType.Day, 1);
}
}
protected override void OnBarUpdate() {
Print(BarsInProgress);
}
Knowing that my primary time series is minute candles, I would expect something like this as output:
0
0
0
0
0
1
0
0
0
0
0
1
...
2
But I only see zero's...
What am I missing here?
Thanks in advance and merry Xmas
Comment