When adding and running a strategy from the Control Center Strategies tab, the AllTrades collection is not populated, resulting in problems when trying to reference the last trade.
Since System.Performance.AllTrades is always zero, referencing the last trade by means of SystemPerformance.AllTrades[SystemPerformance.AllTrades.Count - 1] gives the standard error:
Could you please flag this for fixing, and/or suggest a workaround? My problem is I use NT for automated trading, and it's so much easier to add/manage a portfolio of strategies from the Strategies tab as opposed to having a whole bunch of charts open, and a lot of my framework relies on this collection for both reporting and capital management/trade sizing.
Thanks
Comment