Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug: Variables with same name on different strategies

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

    Bug: Variables with same name on different strategies

    I have found a bug in NT 6.5, if you have a GUI-changeable/optimizeable variable with the same name in more than one strategy, the GUI does not re-load the saved defaults from the script, instead it uses the saved defaults in memory from the last execution.

    Example:
    Strategy 1 has variable "optimizeme" set to 1.
    Strategy 2 has variable "optimizeme" set to 2.

    Steps:
    Open strategy 1, change optimizeme from its script default of 1 to 3. Run a backtest or initialize the strategy to run/execute.

    Open strategy 2, the optimizeme figure should show 2, per the script default since it is first time this strategy has been opened. However, it shows 3.

    Naturally, renaming the variable in the script will solve this problem. Just thought you should be aware, unless you consider this a 'feature'.

    Mike

    #2
    Thanks for bringing this to our attention.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    576 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    334 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X