Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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
      Paul H.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Jonafare, 12-06-2012, 03:48 PM
      5 responses
      3,986 views
      0 likes
      Last Post rene69851  
      Started by Fitspressorest, Today, 01:38 PM
      0 responses
      2 views
      0 likes
      Last Post Fitspressorest  
      Started by Jonker, Today, 01:19 PM
      0 responses
      2 views
      0 likes
      Last Post Jonker
      by Jonker
       
      Started by futtrader, Today, 01:16 PM
      0 responses
      8 views
      0 likes
      Last Post futtrader  
      Started by Segwin, 05-07-2018, 02:15 PM
      14 responses
      1,792 views
      0 likes
      Last Post aligator  
      Working...
      X