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 argusthome, 03-08-2026, 10:06 AM
|
0 responses
88 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
48 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
31 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
34 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
69 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Restart it.
Comment