Bars.Count() always returns 201.
Created at 03 Mar 2023, 17:03
Bars.Count() always returns 201.
03 Mar 2023, 17:03
At backtesting, Print("Bars.Count=",Bars.Count); always returns size of 200.
I tried
Bars.LoadMoreHistory();
Still it prints size of 200.
How can I deal with Bars of longer size?
firemyst
09 Mar 2023, 07:54
Maybe show more of your code so we can see how you're implementing it and what you're setting "Bars" to?
For example, you don't say if you're using Chart.Bars.Count or Algo.Bars.Count, which is probably why you're getting the same count -- using the incorrect one in context.
@firemyst