- ago
How can I tell when I'm executing the first or last symbol of a dataset within Initialize()?
0
397
Solved
1 Replies

Reply

Bookmark

Sort
- ago
#1
You can use BacktestData:
CODE:
public override void Initialize(BarHistory bars) {          int i = BacktestData.IndexOf(bars);          WriteToDebugLog(i); }
1
Best Answer

Reply

Bookmark

Sort