My goal is to get a reliable real-time profit-loss value for just one session.
In order to achieve this I'm working with similar system variables that I don't still fully understand.
Performance.RealtimeTrades.TradesPerformance.Curre ncy.CumProfit
and
Performance.AllTrades.TradesPerformance.Currency.C umProfit
So, here my questions, waiting for answers to code this right
1. What is the difference between them? it seems that they are both the same
2. If I stop a Strategy, and re-run it again, would they be these variables values reset to zero for a new session or they keep cumulative?
3. Under which conditions would these variables reset to zero?
Thanks
Comment