Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sometimes optimization parameter-cache is > manual change of parameter

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

    Sometimes optimization parameter-cache is > manual change of parameter

    After quite a bit of trial and error I've finally confirmed that, at least in some circumstances, static parameters in the strategy analyzer (when backtest type is set to optimization - not sure about other backtest types) can be cached in such a way that even a manual change to the parameter in the settings window is ignored in favor of whatever is in the cache. This obviously creates a lot of room for confusion and/or misinterpretation of test results (e.g., the test and results which show up are actually for a different set of parameter values than what is showing up in the setting input boxes).

    The one way that I have found to correct this fairly easily is to compile my strategy, which then apparently clears out the cached parameter settings, which allows the system to finally honor what I've manually keyed into the settings input. Attached is a screenshot to hopefully help clarify.



    Attached Files

    #2
    Hello Calebg, thanks for your post.

    This is not happening for me with the SampleMACrossover strategy. How are you setting up these parameters? If you do not want to share your code here you may send it to platformsupport at ninjatrader.com and reference "Attn ChrisL 2230490" in the body of the email.

    I look forward to hearing from you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    53 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X