I've been working on a strategy that is proving to be extremely successful using an unmanaged order system. In order to determine which of the "triggers" that I have set that need to be satisfied to enter a trade are the best, I decided it would be a good idea to collect data. I understand NT8 allows you to export data internally, however, I'd like to have it export the trade data as soon as it successfully exits a trade (in other words, it satisfies the trade object requirement of an entry and exit) through the streamwriter. Through testing it seems that the unmanaged orders aren't counting towards a "trade" when using "SystemPerformance.AllTrades.Count" (it just continuously outputs "OnPositionUpdate: The strategy has taken 0 trades."). My question is do unmanaged orders have to have its own SystemPerformance coded into the base or should SystemPerformance.AllTrades.Count work with unamanged orders and perhaps there is something wrong with my code?
Thank you,
John

Comment