Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

max drawdowns

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

    max drawdowns

    Since theres only Realized and Unrealized, how can we keep track of real time draw downs when back testing a strategy in playback?
    I want a way to see my biggest draw downs while running playback.
    Thanks

    #2
    Would also like to see the number of times I've taken a loss in real time.
    I'm basically trying to build an analyzer without using the analyzer

    Comment


      #3
      Hello ezrollin,

      Thanks for your post.

      "how can we keep track of real time draw downs when back testing a strategy in playback?"
      When you are running your strategy in playback you can always right mouse click on the chart and select strategy performance and select Real time (Playback would be considered real time) to generate strategy performance report.

      NOTE: In playback, as soon as you change the time of the controller, the playback101 account is reset, so always check your strategy performance before changing/resetting your playback time

      If you want to keep track of your max draw down while running playback (or live), one way to do that would be to create a double type variable and compare the variable value to the unrealizedPNL when the unrealized PNL is less than the value of the variable. You would set the value of the variable to be 0 at the start of the trade. This would likely require the strategy to be running with Calculate.OnPriceChange (or Calculate.OnEachTick).

      "Would also like to see the number of times I've taken a loss in real-time."
      When you run or are running a strategy you can always right mouse click on the chart and select "Strategy performance" and then select real time to generate a strategy performance report which is only about the strategy generated trades.

      Reference: https://ninjatrader.com/support/help...tegyFromAChart

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      286 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      180 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      176 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      263 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      216 views
      0 likes
      Last Post CarlTrading  
      Working...
      X