Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7 Crashes on startup

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

    NT7 Crashes on startup

    I updated to the latest NT7 Version last night, now NT7 beta crash's on startup, as soon as the grey box appears with the NT7 Icon, its crashes

    I attach my Trace file

    I hope you can help

    Seems to stop on initializing database
    Attached Files
    Last edited by tinkerz; 10-05-2010, 07:52 AM. Reason: more info

    #2
    Hello tinkerz,

    Thank you for your post.

    From the looks of it, you upgraded to 7.0.0.22 from a pre-7.0.0.16 version of NinjaTrader. When upgrading from a pre-.16 version, some special steps were required. Unfortunately, you'll need to completely reinstall NinjaTrader to get back up and running. Custom settings will be deleted as part of this procedure.


    Please follow the steps listed below to completely uninstall and reinstall NinjaTrader:
    1. Close all running applications.
    2. Then from the Start menu select --> Control Panel --> Add and Remove Programs.
    3. From Add and Remove Programs select NinjaTrader 7 and click Remove.
    4. Then manually delete the folder "NinjaTrader 7" located under Start --> My Documents.
    5. Delete any NinjaTrader installation files. This can be done by going to Start --> My Computer --> Search button --> search for (NinjaTrader*) --> select Local C Disk and then press search.
    6. Then you will need to clear your internet browser cache and history. You will clear this from within your internet browser (with IE, Tools-->Options, delete cookies and files, clear history).
    7. Reboot your machine.
    8. Once these steps are completed, download NT7 from the link below:
      Download

    Please let us know if you are able to get up and running after the reinstall.
    KyleNinjaTrader Customer Service

    Comment


      #3
      will i lose my custom scripts?

      Comment


        #4
        tinkerz,

        Yes, you will. Unfortunately, all custom settings will be deleted.
        KyleNinjaTrader Customer Service

        Comment


          #5
          custom settings like charts, but what about Ninja scripts that i wrote, can i save them?

          Comment


            #6
            tinkerz,

            The only supported way to save settings is using the backup and restore options. Since it's not possible to start NinjaTrader, it's not possible to backup.

            Do you have a prior backup of your settings?
            KyleNinjaTrader Customer Service

            Comment


              #7
              Yes, i just wish i did it before updateing, i was sure that i was pre 16 beta

              Comment


                #8
                Ok I have reinstalled everything is working fine, I reloaded my last backup, that is all working apart from one script

                Accessing prior day data etc..GetDayBar() CurrentDayOHL()

                I dont have either of these in my script. it was working before, any ideas

                Tinkerz

                Comment


                  #9
                  tinkerz,

                  Is this the compile error? If so, can you provide me with an image of this error as it is reported in the code window?
                  KyleNinjaTrader Customer Service

                  Comment


                    #10
                    Its not a compile error

                    Its in the Log

                    Error on calling the Onbarupdate method for indicator Orange on bar 0 should only be used for accessing prior trading day data, to access current trading day use currentdayOHL()

                    Comment


                      #11
                      Hello Tinkerz,

                      The error message suggests you are trying to access this method on the first bar and it should be called for the most recent session. Can you share the script you're using and we can take a look?
                      Ryan M.NinjaTrader Customer Service

                      Comment


                        #12
                        Here is the file, it just looks at overnight range, and pivots, it worked pre beta 22
                        Attached Files
                        Last edited by tinkerz; 10-05-2010, 12:09 PM.

                        Comment


                          #13
                          Thanks. I took a look at the file.

                          There are a couple items here:
                          • GetSessionBar() should be changed to GetDayBar()
                          • If you need to access the current session bar, it should be with CurrentDayOHL()
                          This was changed in Beta 21. Release notes here.

                          If you use GetDayBar(0) you will get the error message when applying the indicator.
                          Ryan M.NinjaTrader Customer Service

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                          0 responses
                          607 views
                          0 likes
                          Last Post Geovanny Suaza  
                          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                          0 responses
                          353 views
                          1 like
                          Last Post Geovanny Suaza  
                          Started by Mindset, 02-09-2026, 11:44 AM
                          0 responses
                          105 views
                          0 likes
                          Last Post Mindset
                          by Mindset
                           
                          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                          0 responses
                          560 views
                          1 like
                          Last Post Geovanny Suaza  
                          Started by RFrosty, 01-28-2026, 06:49 PM
                          0 responses
                          561 views
                          1 like
                          Last Post RFrosty
                          by RFrosty
                           
                          Working...
                          X