Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Question about Strategy Analyzer

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

    Question about Strategy Analyzer

    Hello,

    In Strategy Analyzer, is there a way to see your drawdowns before your position closes?

    For example, sometimes a position will stay open, be in the red and then recover for a profit. I want to see how far down the position goes before it becomes profitable.

    Is this currently available?

    Thanks,

    -Omer

    #2
    Hello omermirza,

    Thank you for your post.

    Max drawdown could be viewed when running a strategy in the Strategy Analyzer window. The maximum drawdown statistic provides you with information regarding the biggest decrease (drawdown) in account size experienced from the highest high seen.

    See the attached image demonstrating where max drawdown could be viewed.

    Let us know if we may assist further.
    Attached Files
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Thank you but isn't that after the position closes? I want to see the running max drawdown - while a position is open.

      Comment


        #4
        Hello omermirza,

        Thank you for your note.

        That is correct. That value would be the max drawdown after the positions close. It would not be possible to see the running drawdown when backtesting the Strategy Analyzer.

        If you would like to see the drawdown forming throughout the trades life you would need to use the Playback Connection and modify your strategy so that it prints out the Drawdown of each trade.

        You could track individual trades by using OnOrderUpdate(). You would create an order object and assign the order to it in OnOrderUpdate(). Then, check if the order object is not null and that the order object is equal to the order and print out the Drawdown.

        See the help guide documentation below for more information.
        OnOrderUpdate() - https://ninjatrader.com/support/help...rderupdate.htm
        Drawdown - https://ninjatrader.com/support/help...8/drawdown.htm
        TradesPerformance Values - https://ninjatrader.com/support/help...ancevalues.htm
        SampleOnOrderUpdate() - https://ninjatrader.com/support/help...and_onexec.htm

        Let us know if we may assist further.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment


          #5
          Thanks - I'll take a look.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          88 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          135 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          68 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          119 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          69 views
          0 likes
          Last Post PaulMohn  
          Working...
          X