Folks, what is the difference between Count and TradeCount? For example, there is:
SystemPerformance.RealTimeTrades.Count
SystemPerformance.RealTimeTrades.TradeCount
I notice the example code uses both, seemingly interchangeably. I have a section of code:
Print SystemPerformance.RealTimeTrades.Count
Print SystemPerformance.RealTimeTrades.TradeCount
if (SystemPerformance.RealTimeTrades.TradeCount > 0)
Print SystemPerformance.RealTimeTrades[TradeCount - 1].ProfitCurrency
and after the first trade has concluded, I get:
0
1
Error: You are access an index with a value that is out-of-range
Thanks,

Comment