LongTrades is a TradeCollection object of long trades generated by a strategy.
Syntax
SystemPerformance.LongTrades
Examples
protectedoverridevoidOnBarUpdate() { // Print out the number of long trades Print("The strategy has taken "+SystemPerformance.LongTrades.Count+" long trades."); }