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

Optimizer equity curve calculation

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

    Optimizer equity curve calculation

    Hi, I am having a recurring issue with the calculation of my equity curve in optimizations. I've attached pictures of the equity curve spike and the trades taken in the time window. Click image for larger version

Name:	btc1.png
Views:	281
Size:	40.8 KB
ID:	1137741Click image for larger version

Name:	btc.png
Views:	261
Size:	331.1 KB
ID:	1137740

    thanks
    Attached Files

    #2
    Hello Bmatarese,

    Are you using 8.0.23.2? (Help -> About)

    Can you reproduce this with the Sample MA Crossover included with NinjaTrader?

    In the trades, are you finding the entry and exit order prices are correct and are correctly paired with each other?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Yes, I am using the latest version of ninja. The trades, aside from that huge spike, are accurate. For some reason I keep getting a 40k spike in net profit early in the ETHUSD and BTCUSD backtests. It does not happen with the MA crossover but it only happens when using my custom script on those two symbols^^.

      Comment


        #4
        Correction, the trades on the chart are not matching up with the results report.

        Comment


          #5
          Hello Bmatarese,

          This is Jim responding on behalf of Chelsea who is out of the office at this time.

          Could you attach an example version of this strategy that generates these results so we can test and have a close look? Please also include screenshots showing how the test should be set up. We ask that the test be made as simple as possible for us to better assist.

          Also, what time zone and data provider are you using so we can run the same test with the requested example?

          You may also send it in directly to scriptingsupport [at] ninjatrader [dot] com with the text "Attn Jim 2930280" and a link to this thread.

          I look forward to hearing form you.
          JimNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by wzgy0920, 04-20-2024, 06:09 PM
          2 responses
          26 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, 02-22-2024, 01:11 AM
          5 responses
          32 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, Yesterday, 09:53 PM
          2 responses
          49 views
          0 likes
          Last Post wzgy0920  
          Started by Kensonprib, 04-28-2021, 10:11 AM
          5 responses
          191 views
          0 likes
          Last Post Hasadafa  
          Started by GussJ, 03-04-2020, 03:11 PM
          11 responses
          3,230 views
          0 likes
          Last Post xiinteractive  
          Working...
          X