I'm doing some tests and what is explaining in the help guide of TradeCollection in Backtest isn't true:
Trade lastTrade = Performance.AllTrades[0];
Trade firstTrade = Performance.AllTrades[Performance.AllTrades.Count - 1];
I realized that last trade in BackTesting is Performance.AllTrades.Count - 1, and first trade is zero index.
Thanks

Comment