How can I tell when I'm executing the first or last symbol of a dataset within Initialize()?
Rename
You can use BacktestData:
CODE:
public override void Initialize(BarHistory bars) { int i = BacktestData.IndexOf(bars); WriteToDebugLog(i); }
Your Response
Post
Edit Post
Login is required