I downloaded your two files, and I am looking first at the 'CustomSampleCumProfit" code.
I see the reference to the performance metric of 'Profit' in this satement:
Values[(int)Cbi.PerformanceUnit.Currency] += trade.ProfitCurrency;
I am just now learning how to write custom performance metrics, so this is a newbie question: If I wanted to create a CumMAE metric (cumulative MAE)--would I change this and the other 'Values[] assignment statements to reference 'Mae' instead of Profit? ((I'm just using this as a hypothetical example to ask this question))
Comment