Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unable to open chart strategy window

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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?

    #2
    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.
    I look forward to assisting further.​
    <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>

    Comment


      #3
      Thanks, Brandon!

      Comment


        #4
        After following troubleshooting steps provided by Brandon, I found the problem: I had an incorrectly formatted variable declaration in the section
        Code:
        public class HourlyLongOrShortES : Strategy
        {
        }
        That incorrect declaration was
        Code:
        private DateTime referenceDateTime = new DateTime(2020, 0, 0, 0, 0, 0);
        which is clearly not a legal datetime value. I'm surprised, though, that the compiler didn't catch it.​

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        88 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        134 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        119 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        69 views
        0 likes
        Last Post PaulMohn  
        Working...
        X