Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Accessing Max Drawdown

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

    Accessing Max Drawdown

    Hi NT,

    I am creating a custom Performance Metric and it's unclear to me from reading through the documentation on how to access the "Max Drawdown."

    I want to create a custom metric where "net profit / max drawdown" is used when optimizing a strategy.

    Is there a way to access Max Drawdown so that I calculate the ratio i'm looking for?

    Thank you

    #2
    Hello bigsurftrader,

    In a performance metric script use:
    TradesPerformance.Percent.Drawdown or TradesPerformance.Currency.Drawdown.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Drawdown

      Thanks Chelsea,

      So, if I'm running a 3-year Strategy Analysis, I would reference the Drawdown when the performance metrics are merged to obtain the Max Drawdown. Is that correct?

      Thanks!!

      Comment


        #4
        Hello bigsurftrader,

        I'm not quite sure that I understand.

        When you mention "when the performance metrics are merged" are you asking if there is a way to trigger an action when the summary is being generated instead of an individual backtest within the optimization?

        No, there is not a way to trigger an action when the summary is being generated.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        49 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        126 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        67 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        42 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X