Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Red X
Collapse
X
-
Then it means that one, or the interactions of more than one, of your classes is causing the problem. The only way to troubleshoot is to start with a clean slate and add back the indicators/strategies until you isolate the culprit.Originally posted by retrofx View PostFirst thing I tried. No luck.
The easiest way to start clean is to remove or rename the ...\workspaces\_Workspaces.xml file under your NT user directory after shutting down NT, then restarting NT.
Comment
-
Thank you koganam,
The culprit seems to be The NT Parameter "Exit on Close" in the Strategy Analyzer. Where the confusion arises in that I have performed thousands of backtest with this strategy and never experienced this problem and no code has changed for my NT Script.
I even reinstalled and the same problem exists.
So...If I set Order Handling > Exit on Close to False it works OK. When I set it to True the Red X returns. After that point even when I return the value to False the Red X persists.
Comment
-
Hm. That is certainly a strange one, and would point to a snafu in NT itself. Did you reinstall over the top or did you uninstall then reinstall?Originally posted by retrofx View PostThank you koganam,
The culprit seems to be The NT Parameter "Exit on Close" in the Strategy Analyzer. Where the confusion arises in that I have performed thousands of backtest with this strategy and never experienced this problem and no code has changed for my NT Script.
I even reinstalled and the same problem exists.
So...If I set Order Handling > Exit on Close to False it works OK. When I set it to True the Red X returns. After that point even when I return the value to False the Red X persists.
Comment
-
Thank you for the answer. There were no files in the ...templates>Strategy folder. I uninstalled NT, manually deleted any remnants, backups, checked Registry and then installed a fresh copy. When I try to backtest using weekly charts and the Close on Exit feature the Red X returns.
How do I debug this? I spent several hours doing all of this and then downloading data again, and organizing my files.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
144 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
71 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
125 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
79 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Restart it.
Comment