I am working on a strategy which uses Trade count NT 8 64 bit. I am testing this in PlayBack. It was working for about 2 weeks then it just stopped working. When it first happened, I reset my database and it started working. Now it has stopped again. Resetting the database did not fix it.
First off, I want to verify my code and make sure it is not user error.
Print("Trade Count Onbarupdate: " + SystemPerformance.AllTrades.Count.ToString()); if (SystemPerformance.AllTrades.Count > 0) { //Do Something }
...
Trade Count Onbarupdate: 0
Trade Count Onbarupdate: 0
Trade Count Onbarupdate: 0
Trade Count Onbarupdate: 0
Trade Count Onbarupdate: 0
If I run a strategy performance report the trades and counts are there.
Checked the log and there are no errors.
What am I missing?
Robert
Comment