Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ZenCortexCLICK, Today, 04:58 AM
    0 responses
    5 views
    0 likes
    Last Post ZenCortexCLICK  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    172 responses
    2,280 views
    0 likes
    Last Post sidlercom80  
    Started by Irukandji, Yesterday, 02:53 AM
    2 responses
    18 views
    0 likes
    Last Post Irukandji  
    Started by adeelshahzad, Today, 03:54 AM
    0 responses
    8 views
    0 likes
    Last Post adeelshahzad  
    Started by Barry Milan, Yesterday, 10:35 PM
    3 responses
    13 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X