- ago
When using the Nasdaq 100 Current & Past dataset, I get an error that the index is out of range.

I tried to solve the problem - closed Wealth-lab, reloaded the Norgate database, launched Wealth-Lab again - I got the same error.
This is the main question.

There is also a question regarding the construction of trading strategies. Usually I built all strategies based on changing the bar number (idx).
In this case, the bar number can change significantly.


How to build a logic in this case??
0
94
2 Replies

Reply

Bookmark

Sort
Glitch8
 ( 9.93% )
- ago
#1
It’s hard to speculate without seeing your Strategy 🤷🏼‍♂️
0
Cone8
 ( 7.81% )
- ago
#2
Most common reason - StartIndex is not properly assigned in Initialize(). Generally, it should be assigned to the greatest period of all indicators (or more).
0

Reply

Bookmark

Sort