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.
    JasonNinjaTrader Customer Service

    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.
        JasonNinjaTrader Customer Service

        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
            JasonNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by SteveReiza, Today, 09:41 PM
            0 responses
            5 views
            0 likes
            Last Post SteveReiza  
            Started by astor, Today, 09:20 PM
            1 response
            11 views
            0 likes
            Last Post astor
            by astor
             
            Started by astor, Today, 09:19 PM
            0 responses
            5 views
            0 likes
            Last Post astor
            by astor
             
            Started by WaleeTheRobot, 01-07-2024, 10:07 AM
            17 responses
            509 views
            2 likes
            Last Post kashter
            by kashter
             
            Started by Kraken29, 02-26-2024, 10:40 AM
            2 responses
            19 views
            0 likes
            Last Post Kraken29  
            Working...
            X