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