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 NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        62 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        134 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        75 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        45 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        50 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X