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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    66 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    141 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    75 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    46 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    51 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X