Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Compiling Errors

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

    Compiling Errors

    I've had a blue screen shut down of my computer which I was able to simply reboot and everything looks fine except Ninja Trader. When compiling any indicator, I get the errors as shown in the attachment.

    These are all proprietary indicators which I think use dll's.

    How can I fix these?

    thanks
    taddypole...
    Attached Files

    #2
    Hello TaddyPole,

    This indicates you are missing some required reference DLL's or have corrupted ones listed - please follow the steps below to rectify the errors.

    In Control Center menu bar go to Tools > Edit NinjaScript > Indicator
    In the indicator dialog select any indicator and click on the 'Ok' button.
    This will open the NinjaScript editor for you :

    Right click in the code section of the NinjaScript editor.
    In the context menu click on 'References'
    In the Reference dialog, if a reference to the noted DLL files exists already then select the DLL's which are giving errors one by one and click on the 'Remove' button.
    After removing, add back the reference with the right path :

    In the Reference dialog, Click on the 'Add' button.
    Select all the missing DLL's (located in the Documents\NinjaTrader 7\bin\Custom\ folder or in the NinjaTrader installation folder, typically C:\Program Files (x86)\NinjaTrader 7\bin64) one by one and then click 'Ok'. [Please adjust if needed for 32 bit setup]
    Compile the indicator now by pressing F5.
    The issues should be resolved and your NT should be again in properly compiled state
    Please also see the section "How to add a reference" from our help guide


    Here is a short video to help as well: http://www.ninjatrader.com/support/m...yReference.mp4

    If you run into any issues fixing the issue with the steps provided please let us know and we can setup a remote assistance session.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thank you Paul,

      That fixed it.!!!

      Comment


        #4
        "In the Reference dialog, if a reference to the noted DLL files exists already then select the DLL's which are giving errors one by one and click on the 'Remove' button.After removing, add back the reference with the right path ..."

        after deleting the dll's will the program tell me which ones need to be added back?

        "Select all the missing DLL's (located in the Documents\NinjaTrader 7\bin\Custom\ folder or in the NinjaTrader installation folder..."

        So should I write down each one that I remove or will the program tell me?

        Sorry but I'm being extra cautious here before I start deleting dll files.

        Thanks

        Comment


          #5
          Hello dougn,

          Thanks for your post.

          Please do not delete any DLLs, what is being discussed in this thread is the assembly reference (file location pointer) to a DLL being removed or added as needed. In the original posters case there may have been a corruption to this references list which tells Ninjatrader compiler where the DLLs are located.
          Paul H.NinjaTrader Customer Service

          Comment


            #6
            Originally posted by NinjaTrader_Paul View Post
            Hello dougn,

            Thanks for your post.

            Please do not delete any DLLs, what is being discussed in this thread is the assembly reference (file location pointer) to a DLL being removed or added as needed. In the original posters case there may have been a corruption to this references list which tells Ninjatrader compiler where the DLLs are located.
            Thanks Paul. Sorry..I thought that my errors were in the same topic but then I realized that I never attached my pictures.
            Attached Files

            Comment


              #7
              Hello dougn,

              Thanks for your post.

              Please take a screen shot with the entire error message visible (or as much as you can get, sometimes they are lengthy messages). You can "grab" a column line at the top and expand the width of the error column.

              Thank-you
              Paul H.NinjaTrader Customer Service

              Comment


                #8
                Thanks for the help Paul.
                Attached Files

                Comment


                  #9
                  Hello dougn,

                  Thanks for your reply.

                  Could be a number of things going here. Please check your folder Documents>NinjaTrader7>Bin>Custom Do you see any files related to GomDeltaIndicator? CS or DLL?
                  Paul H.NinjaTrader Customer Service

                  Comment


                    #10
                    Originally posted by NinjaTrader_Paul View Post
                    Hello dougn,

                    Thanks for your reply.

                    Could be a number of things going here. Please check your folder Documents>NinjaTrader7>Bin>Custom Do you see any files related to GomDeltaIndicator? CS or DLL?
                    Thats it...you got it Paul. Thank you.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by ghoul, Today, 06:02 PM
                    1 response
                    11 views
                    0 likes
                    Last Post NinjaTrader_Manfred  
                    Started by jeronymite, 04-12-2024, 04:26 PM
                    3 responses
                    44 views
                    0 likes
                    Last Post jeronymite  
                    Started by Barry Milan, Yesterday, 10:35 PM
                    7 responses
                    20 views
                    0 likes
                    Last Post NinjaTrader_Manfred  
                    Started by AttiM, 02-14-2024, 05:20 PM
                    10 responses
                    180 views
                    0 likes
                    Last Post jeronymite  
                    Started by DanielSanMartin, Yesterday, 02:37 PM
                    2 responses
                    13 views
                    0 likes
                    Last Post DanielSanMartin  
                    Working...
                    X