I got the following error when using the OriginalCloseTimeSeries indicator. I did some tests seems it happens when it's on Weekly timeframe with C# code strategy. I attached screenshot for a sample block based weekly strategy on SP900. With the block version it works fine, but when it's opened as a C# strategy, I got the error.
CODE:
Initialize Exception (LO-201506) Line 22 - Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') Initialize Exception (LTM-201506) Line 22 - Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at WealthLab.Norgate.OriginalCloseTimeSeries.PopulateInternal() at WealthScript3.MyStrategy.Initialize(BarHistory bars) in :line 22 at WealthLab.Backtest.UserStrategyExecutor.CloneContainer(List`1 symbols)
Rename
Currently there are no replies yet. Please check back later.
Your Response
Post
Edit Post
Login is required