Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Analyzer - Optmization a Strategy

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

    Strategy Analyzer - Optmization a Strategy

    Hello,
    when I optimize a MovAvg strategy on the MYM or FDAX Future in Strategy Analyzer,
    NinjaTrader 8 breaks shortly after the optimization or just stops.
    As usual when I optimize on Tick , Range or Renko a strategy.
    Optimizations with minutes data work.
    I have added a picture of the optimization in the attachment.
    I have three computers, with each the same.
    I know the problem also from other NinjaTrader 8 users.
    Does anyone have a solution how to fix the problem.
    With NinjaTrader 7 I do not have the problems.

    King Regards,
    Michael
    Click image for larger version

Name:	Bild_2022_12_20_14_32_37_910.png
Views:	134
Size:	121.5 KB
ID:	1228390Click image for larger version

Name:	Bild_2022_12_17_13_02_03_239.png
Views:	99
Size:	264.5 KB
ID:	1228391
    Last edited by NinjaTrader_ChelseaB; 12-20-2022, 08:55 AM.

    #2
    Hello Michael,

    May I confirm you are using 8.0.27.1?

    Help -> About -> Version



    Are you able to load a tick chart from May 5th to October 14th?

    Note, 162 days of tick data is a massive amount and will subsist of many gigabytes of data that will need to be loaded into memory.

    In the Windows Task Manager, is NinjaTrader using a high amount of memory?
    How much memory is used and how much memory is available?

    Is the script coded to take advantage of IsInstantiatedOnEachOptimizationIteration being set to false?
    Hi there, I recently noticed that there may be an issue with memory allocation when running back testing. I noticed that the memory utilisation of my windows
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello,

      I am using 8.0.26.1.
      Now have the new version 8.0.27.1
      Have the optimization now in FDAX with Tick 200 - October 3th to December 14th.
      Same problem.

      IsInstantiatedOnEachOptimizationIteration = false;

      The same optimization runs stable on NT7​
      Attached Files

      Comment


        #4
        Hello daxtrader,

        With IncludeTradeHistory set to false does the optimization still stall?

        Are you able to reproduce using the SampleMACrossover included with NinjaTrader?

        Can you reproduce over a smaller data set such as 2 weeks of data?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello,

          with IncludeTradeHistory set to false does the optimization still stall? Yes.

          Can you reproduce over a smaller data set such as 2 weeks of data?
          With 2 weeks it works.

          I don't understand why it is stable on NinjaTrader7 and not on NT8.
          I have 2 friends who have the same problem.​

          Comment


            #6
            Hello daxtrader,

            Please send an email to scriptingsupport [at] ninjatrader [dot] com so that I may connect with you and take a closer look.

            In the email, please include a link to this forum thread.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

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