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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment