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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      166 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      321 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      246 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      350 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X