Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Analyzer inconsistencies

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

    Strategy Analyzer inconsistencies

    Hi,
    a client asks the below, if you could please advise.

    thanks,
    saltminer

    the Optimization does strange things. It appears that the results shown on the top do not always match the results in the bottom. I have done a few tests and in many cases the results in the graph (which seem to be the correct results you also get these in a single run) are way lower (see picture). For example there is a total profit of 6956 shown in the top but the graph has only 5474.
    Click image for larger version

Name:	260522.png
Views:	111
Size:	451.2 KB
ID:	1204041

    #2
    Hello saltminer,

    Thank you for your post.

    Does the strategy use IsInstantiatedOnEachOptimizationIteration set to false?

    Does clearing the cache show consistent results?

    To delete the cache, follow the steps below.
    • Shut down NinjaTrader.
    • Open the Documents > NinjaTrader 8 > db folder.
    • Delete the sub-folder named 'cache'.
    • Restart NinjaTrader and test.
    Please let us know if we may be of further assistance.

    Comment


      #3
      Hi,
      if I use a boolean property to be able to configure IsInstantiatedOnEachOptimizationIteration at will, setting the base Property in State.Configure, is this supported?

      Thanks,
      saltminer

      Comment


        #4
        Hello saltminer,

        Thank you for your reply.

        Yes, you can set IsInstantiatedOnEachOptimizationIteration in State.Configure based on a user input. It must be set either in State.SetDefaults or State.Configure so you're ok to do that.

        Please let us know if we may be of further assistance to you.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        57 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        37 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        18 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        20 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        49 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X