(1) <net profit> + <open position profit> - <total commissions paid>
While I've been able to find TradesPerformance.NetProfit, I could not find the other fields. Obviously, NinjaTrader knows these values - how can I access them?
(2) I would really like to create my own performance metrics object and use it's values in the strategy. I have added methods to access the values I am after to my custom performance metrics object. However, it seems I can't access these values from the strategy. Is there a sample available showing how to do that?
Thank you,
best regards, Felix
Comment