How can I resolve this error?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Unable to open chart strategy window
Collapse
X
-
Unable to open chart strategy window
As stated in the title, I am not able to open the strategy window for an existing chart. NT reports error "Unhandled exception. Object reference not set to an instance of object.", or sometimes a variation that states "Most likely either the implementation no longer exists or there is no..." and the NT app closes before I can read the entire message. I uninstalled and re-downloaded and installed the NT software after renaming my existing NinjaTrader 8 folder, but the problem persists. I found several mentions of this error in the support forum but none that were associated with not being able to open the strategy window.
How can I resolve this error? -
Hello Red_70,
Thanks for your post.
Please follow the steps below to send your log and trace files to support[at]ninjatrader[dot]com so that I may investigate this matter further. In the subject of the email include "ATTN: BrandonH" and in the body of the email include a link to this forum thread.
Follow the steps below to manually attach your log and trace files to your email.- Open your NinjaTrader folder under, "Documents" (sometimes called, "My Documents")
- Right click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
- Send the 2 compressed folders as attachments to this email.
- Once complete, you can delete these compressed folders.
<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
-
After following troubleshooting steps provided by Brandon, I found the problem: I had an incorrectly formatted variable declaration in the section
That incorrect declaration wasCode:public class HourlyLongOrShortES : Strategy { }
which is clearly not a legal datetime value. I'm surprised, though, that the compiler didn't catch it.Code:private DateTime referenceDateTime = new DateTime(2020, 0, 0, 0, 0, 0);
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
45 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
31 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
42 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment