Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sample PerformanceMetric SampleCumProfit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Sample PerformanceMetric SampleCumProfit

    The PerformanceMetric SampleCumProfit shows up in the Backtest Optimization Summary but not in the Results Columns. I clicked on Properties but did not see an option to include it as a column.

    Can it be included?

    I also noticed that there is not an OptimizationFitnesses sample to go along with the Performance Metric. Am I missing something? Or is that a hint that I cannot optimize on the SampleCumProfit performance metric or any other Custom Performance Metric.?


    I have seen a lot of questions about creating a "Net Profit / Max Drawdown" Metric (which is a good one to have) and then optimize on that but have not seen any final solutions or work arounds.

    Before I jump down the rabbit hole I want to know if it is even possible to create a custom performance metric and then to be able optimize on it.


    Currently I am printing each iteration to the output window and then doing the copy and paste into a spreadsheet to get the best RoMaD (financial geek speak for 'Return over Maximum Drawdown'). This is very much a PITA (pain in the A$$) way of doing it.
    Last edited by TAJTrades; 09-04-2024, 03:40 PM.

    #2
    Hello TAJTrades,

    The PerformanceMetric SampleCumProfit shows up in the Backtest Optimization Summary but not in the Results Columns. I clicked on Properties but did not see an option to include it as a column.
    Can it be included?
    Unfortunately, custom metrics show as a row in the Summary page only, and cannot be added as a column.


    I want to know if it is even possible to create a custom performance metric and then to be able optimize on it.
    Yes, this is possible. Below is a link to an example of this.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    79 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X