Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 crashes in Strategy analyzer

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

    NT8 crashes in Strategy analyzer

    So i was optimizing my strategy on usdjpy on 1 min time frame and it keeps giving me this error eventually leading to a crash, the bars required to trade is 20 but even when i change it it still crashes. for reference during backtesting in the same time periods there is no such error and this error only happens when i try optimizing more than one year. i also don't have any custom add ons so i don't whats causing the problem.
    Attached Files

    #2
    Hi Mo98alda, thanks for posting.

    Does your strategy add a 1 tick series? Can you share some details of the strategy you are running (OnStateChanged() and OnBarUpdate())?

    I look forward to hearing from you.

    Comment


      #3
      this strategy replicates the error when you set the parameter on "Bbp: 1;100;1 and "Sd" 1;50;1 in strategy analyzer and try to optimize for net profit and try to optimize it from 2017 to 2021 on 1 minute. when i look at task manager it shows memory usuage at 97% permanently i have 16gb ddr4 ram
      Attached Files
      Last edited by Mo98alda; 08-19-2021, 02:10 PM.

      Comment


        #4
        Hi Mo98alda, thanks for sharing.

        5 years of optimizing 100 iterations is likely filling up the memory of the PC. Please test on a small time frame, like 6 months to a year. Can you confirm if the backtest finishes this test?

        Kind regards.

        Comment


          #5
          the backtesting is completely fine, optimizing 1 year barely finishes the optimization before crashing, 5 years never finishes even when i try to abort instantly it still ends up crashing does NT8 not clear the memory after it does something since even after closing the analyzer and doing nothing it still uses up 95%+ of my memory

          Comment


            #6
            Hi Mo98alda,

            The optimization runs on my PC with the same parameters but on a shorter time frame. Please test an optmization with a smaller time frame (like a week or 2 weeks maximum) with BarsRequiredToTrade = 0. This set up completed on my PC, so this seems to be a performance issue with the large data set + many optimization iterations.

            Kind regards.

            Comment


              #7
              okay thanks

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by NullPointStrategies, Yesterday, 05:17 AM
              0 responses
              56 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              133 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              73 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              45 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              49 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X