Assume I have the same strategy running on 2-4 different instruments, but all placing orders in the same account.
I have 2 scenarios:
1) I want to Stop Trading When My Daily NetProfit in the Account Reaches a Certain Target
Is my understanding correct, that for overall profit/loss I need to use the AccountItem.GrossRealizedProfitLoss ,to Compare to my Daily Max Profit / Loss targets. Right?
2) I want to Stop Trading When My Daily NetProfit on the specific strategy/instrument Reaches a Certain Level
I'd use
SystemPerformance.AllTrades.TradesPerformance.Curr ency.CumProfit to get the current CumProfit just on that Strategy/Chart combination. (as shown in the educational sample "SamplePnL")
In other words, If I run this strategy on 4 charts, each is treating the strategy independently of any other instances of this strategy running. I.e. it ignores the same strategy's CumProfit on a different chart (data series).
And lastly, If I disable the strategy on the chart and re-enable it, does this value for CumProfit reset to zero? (for the 2nd scenario)
Comment