Then there is the following sample code;
Trade lastTrade = Performance.AllTrades[Performance.AllTrades.Count - 1];
If the most recent trade has an index value of zero, then the variable in the sample code called "firstTrade" should not be assigned the value of Performance. AllTrades[0]. And the lastTrade variable should have the zero index value assigned to it.
Please confirm.
Comment