The documentation appears to be incorrect for this help item.
[FONT=Courier New][COLOR=#0000ff]TradeCollection[/COLOR] myTrades = Performance.AllTrades("MSFT", "myEntrySignal", 1);[/FONT]
[FONT=Courier New]Print("The last position was comprised of " + myTrades.Count + " trades.");[/FONT]
[FONT=Courier New][COLOR=#0000ff]TradeCollection[/COLOR] myTrades = Performance.AllTrades.GetTrades("MSFT", "myEntrySignal", 1);[/FONT]
[FONT=Courier New]Print("The last position was comprised of " + myTrades.Count + " trades.");[/FONT]

Comment