Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bad indicator? Getting Ninjascript errors.

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

    Bad indicator? Getting Ninjascript errors.

    I'm new to Ninjartader, I added a couple ninjascript indicators to the platform and seem to have one (or more) thats broken. Can someone help me to identify the problem and resolve this?

    #2
    Hello Conceptzx,

    These errors are caused when a .dll file is being referenced that NinjaTrader is unable to find. Can you please repair NinjaTrader to restore these .dll files.Once NinjaTrader is repaired, please check if these compiling errors persist.

    Comment


      #3
      I've done that and the errors seem to still exist. The files displayed on the error list seem to exist in their respective locations.

      Comment


        #4
        Can you please right click in the NinjaScript Editor and select References. Remove the .dll references for the files mentioned in the error. Subsequently add these .dll references back in the References window. Compile again and check if the errors persist.

        Comment


          #5
          The errors are still there and the deleted references return after I compile again.

          Comment


            #6
            I suggest to proceed as follows.
            • Shut down NinjaTrader.
            • Navigate to the Documents folder in Windows.
            • Right click the "NinjaTrader 8" folder and select Rename. Name it "NinjaTrader 8 Old". This folder contains all settings and data.
            • Uninstall NinjaTrader via Windows start menu-->Settings-->Apps.
            • Reinstall NinjaTrader from the link below.
              https://ninjatrader.com/PlatformDirect
            You will have a fresh new installation without any of your settings and data. I assume you don't have compiling errors anymore. If so, please shut down NinjaTrader and you can manually restore settings and data between the newly created "NinjaTrader 8" folder and "NinjaTrader 8 Old" folder. I have included some file locations below.

            Workspaces
            Documents-->NinjaTrader 8-->workspaces

            Database
            Documents-->NinjaTrader 8-->db-->NinjaTrader.sdf

            Chart templates
            Documents-->NinjaTrader 8-->templates-->Chart

            Market Analyzer templates
            Documents-->NinjaTrader 8-->templates-->Market Analyzer

            Other templates
            Documents-->NinjaTrader 8-->templates-->Strategy, Indicator, etc

            Historical data
            Documents-->NinjaTrader 8-->db-->day/minute/tick folders

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            60 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            39 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            21 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            23 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            51 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X