I've tried closing and restarting my NT platform, however this doesn't resolve the issue.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy analyzer results discrepancy
Collapse
X
-
Strategy analyzer results discrepancy
I frequently experience an issue in Strategy Analyzer in which the results displayed in the summary don't match the results in the main results window (see attachment). Is there an explanation for this, and some way to fix this discrepancy?
I've tried closing and restarting my NT platform, however this doesn't resolve the issue.Last edited by 2inthebush; 09-24-2021, 01:05 PM.Tags: None
-
Hello 2inthebush,
Thanks for your reply.
This can be caused by a few things.
Does your code use static variables?
Do you have IsInstantiatedOnEachOptimizationIteration set to false? Reference: https://ninjatrader.com/support/help...niteration.htm
Does you code reset variables in State.dataLoaded?
-
Thanks for your reply, Paul. I'll need to look into those. I've built all of my strategies with the NT Builder, so I haven't included any coding beyond what's available in Builder.
Comment
-
Hello 2inthebush,
Thanks for your reply.
Please check the "Log" tab of the Ninjatrader8 control center for any errors related to running your strategy in the analyzer.
The only parameter then you can check would be IsInstantiatedOnEachOptimizationIteration.
Are you using any 3rd party indicators in the Strategy Builder strategy?
Please test the Sample MA Crossover and advise if you see the same/similar distorted results.
What version of NinjaTrader 8 are you using?
Comment
-
Hi Paul,
I wanted to follow up on this thread, as I've realized that the data mismatch I've described above is caused by another issue that I've been working on in another support post, regarding inconsistent test behavior in applying "exit at session close". So I'll tackle resolving the "exit at session close" issue in the other thread first. Thanks for your help so far.
I've been experiencing an ongoing issue with my strategies exiting positions on session close inconsistently in NT8 backtests. For example, in Analyzer settings I have set "exit at session close" to false. I have also checked that in Tools>Options>Trading settings that "auto close positions" is
- Likes 1
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
54 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
72 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 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