Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Freeze during optimization.

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

    Freeze during optimization.

    Many times when I run the optimizer, Ninjatrader freezes up and goes into "Not Responding" mode. A lot of times I am not even asking it to optimize very many parameters. This happens even when the time window is set to something small like 1 month. While frozen, memory usage shoots up to ~6 GB.

    Every time this happens I have to restart Ninjatrader.

    #2
    I've used it only once.

    How many runs are you doing before this happens?

    Does restarting NT before each run help any?

    Comment


      #3
      It seems to keep becoming more susceptible to crashing the more runs I do, even after restarting the program.

      If it helps any, I just crunched the numbers for one instance of the optimizer crashing, and it came out to 1,716 possible combinations of values that it had to test for. I don't know, this might be on the high side of what the optimizer is capable of, but I didn't think it was.

      Comment


        #4
        Hello isaiahb07,

        Here is a list of things that can cause the Strategy Optimizer to run slowly

        • It is possible for the Strategy Optimizer to download data from the internet. To prevent this, either
          • Uncheck NinjaTrader Control Center -> Tools -> Options -> Data -> Get Data From Server (if available)
          • Disconnect from your data provider
        • Charts, especially with strategies or indicators running, especially with CalculateOnBarClose set to "false" or a lot of logging and printing
        • Debugging can slow down Ninja. To turn this off, right-click in a NinjaScript Editor window and uncheck "Debugging".
        • Ensure only one workspace is running at a time.

        I would also recommend reviewing all the settings here,





        If none of the above is helping, if you could provide a list containing the data type of every variable parameter (bool, int, double, enum, etc.) it will enable us to better assist you.
        Jessica P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by giulyko00, Today, 12:03 PM
        0 responses
        2 views
        0 likes
        Last Post giulyko00  
        Started by AttiM, 02-14-2024, 05:20 PM
        12 responses
        213 views
        0 likes
        Last Post DrakeiJosh  
        Started by cre8able, 02-11-2023, 05:43 PM
        3 responses
        238 views
        0 likes
        Last Post rhubear
        by rhubear
         
        Started by frslvr, 04-11-2024, 07:26 AM
        8 responses
        117 views
        1 like
        Last Post NinjaTrader_BrandonH  
        Started by stafe, 04-15-2024, 08:34 PM
        10 responses
        47 views
        0 likes
        Last Post stafe
        by stafe
         
        Working...
        X