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.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Sometimes optimization parameter-cache is > manual change of parameter
Collapse
X
-
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.
Tags: None
- Likes 1
-
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.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
56 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
133 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
73 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment