Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Completely random results when running optimizer

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

    Completely random results when running optimizer

    Hi,

    I have a multi-timeframe strategy that I've tested successfully on 6.5.

    When trying to optimize it in 7.06 I get different results from each and every execution.

    I believe I know what the problem is, but i wanted to bring it to your attention and see also if you might have guidance on how to approach this differently.

    My strategies use an external class "GlobalAccountBalance" to manage and draw from a universal account balance. This allows me to optimally use the equity in my account amongst several different strategies.

    This GlobalAccountBalance is implemented as a singleton.

    From what I can tell from the output of my strategy, the executions appear to be concurrent, which I'm assuming has each strategy thread fighting over the limited global account balance.

    Can you confirm this interpretation is correct, and if so do you have any thoughts on how to work around this?

    Thanks

    #2
    >> From what I can tell from the output of my strategy, the executions appear to be concurrent, which I'm assuming has each strategy thread fighting over the limited global account balance.
    Correct, NT7 optimization is multi-threaded.

    Comment


      #3
      bridenour,
      Strategy has a property MultiThreadSupport. Set it to false. Optimizer will run iterations sequentially. This is just suggestion. I haven't tested if it works.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      607 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      353 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      560 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      561 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X