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 jclose, Today, 09:37 PM
            0 responses
            5 views
            0 likes
            Last Post jclose
            by jclose
             
            Started by WeyldFalcon, 08-07-2020, 06:13 AM
            10 responses
            1,414 views
            0 likes
            Last Post Traderontheroad  
            Started by firefoxforum12, Today, 08:53 PM
            0 responses
            11 views
            0 likes
            Last Post firefoxforum12  
            Started by stafe, Today, 08:34 PM
            0 responses
            11 views
            0 likes
            Last Post stafe
            by stafe
             
            Started by sastrades, 01-31-2024, 10:19 PM
            11 responses
            169 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Working...
            X