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 DanielTynera, Today, 01:14 AM
        0 responses
        2 views
        0 likes
        Last Post DanielTynera  
        Started by yertle, 04-18-2024, 08:38 AM
        9 responses
        40 views
        0 likes
        Last Post yertle
        by yertle
         
        Started by techgetgame, Yesterday, 11:42 PM
        0 responses
        9 views
        0 likes
        Last Post techgetgame  
        Started by sephichapdson, Yesterday, 11:36 PM
        0 responses
        2 views
        0 likes
        Last Post sephichapdson  
        Started by bortz, 11-06-2023, 08:04 AM
        47 responses
        1,615 views
        0 likes
        Last Post aligator  
        Working...
        X