Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

error importing an indicator

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

    error importing an indicator

    "You have custom ninja script files on your pc that have programming errors. These errors must be resolved before you can import a ninja script achieve file"

    How can I fix this? I have NT 7.0.1000.7 (last version)

    Thanks,
    Alan

    #2
    Hello Futuros,

    Thank you for your post.

    Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader compiles all indicators and strategies- not just one.

    Open NinjaTrader
    From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
    Select an indicator and double click on it.
    A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
    At the bottom of the window a new section will appear were you can find the error locations.
    From there you have the option to remove the indicator or debug it.

    Let me know if this does the trick for you.

    Comment


      #3
      The problem is, the indicator that I was importing tried to replace StdDev and then Bollinger, at the end NT did not import the indicator and gave me an error. Now, I went to Bollinger and tried to compiled the indicator but is giving me an error too "Ninja Trader indicator StdDev is a ....CS0118 - click for info"

      what should I do?

      Comment


        #4
        Hello Alan,

        Thank you for your post.

        I have created a video demonstarting how to debug error CS0118, please visit the following link to view this video: http://screencast.com/t/HgIgJJMYc

        For more information on Compile Error Codes, please visit the following link: http://www.ninjatrader.com/support/h...rror_codes.htm

        Please let me know if I may be of further assistance.

        Comment


          #5
          Patrick,

          I am receiving the same error code and I can’t find to delete the indicator, because I’m not sure of the exact indicator causing the issue. Your video is helpful but.... I can’t resolve.

          Comment


            #6
            Hello Joshua 1:8,

            Thank you for your post.

            Please send a note to support[at]ninjatrader[dot]com with ATTN: Patrick in the subject line and a reference to this thread: http://www.ninjatrader.com/support/f...740#post258740

            I look forward to assisting you further.

            Comment


              #7
              ninja script file errors

              I get ninja script file errors, I read thru the suggestions on NT support on how to solve the problem, I applied the suggestions, I still have the problem, can I uninstall NT7 completely and start from scratch, I has the same problem on NT6.5, really time consuming, when the objective is too trade

              Comment


                #8
                Hello euroventure,

                Thank you for your post.

                Without investigating further I cannot say for certain that an uninstall of NinjaTrader will remedy this situation.

                Please reply with a screenshot of the error with the name and description fields clearly readable so that I may assist you further.

                To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and attache the file to your response.

                I look forward to assisting you further.

                Comment


                  #9
                  Error while importing indicator script

                  Hi All,

                  I have exactly the same problem as futuros describes above, as when I want to add an indicator archive file via file-->utilities-->import ninjascript it states:

                  'You have custom NinjaScript files on your PC that have programming errors. These errors must be resolved before you can import a NinjaScript Archive File.'

                  I am not aware of any custom ninjascript files running on my computer, how can I resolve this problem in order to be able to add new indicators (which I downloaded via the sharing page on this site, what a great feature by the way!!)

                  Hope somebody can help me out asap, thanks!

                  Comment


                    #10
                    Hello Daan Pothof,

                    Thank you for your post.

                    Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader always compiles all indicators and strategies - not just one. This is done to give you the highest runtime performance possible.
                    • Open NinjaTrader
                    • From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
                    • Select any indicator and double click on it (we need only to open and compile one script to see all compile errors for all files).
                    • A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
                    • At the bottom of the window a new section will appear where you can find the error locations.
                    • From there you have the option to comment out offending code sections, remove the complete indicator or debug it to be able to compile again.

                    If you are unsure as to what the error is indicating, please send me a screenshot of the error with the name and description fields clearly readable.

                    To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

                    We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip on our forums - http://www.ninjatrader.com/support/f...ead.php?t=4678

                    Please let me know if you have any questions.

                    Comment


                      #11
                      Hi Patrick,

                      Thanks for your quick response! I did as you suggested and picked a random indicator from the list, after which I got the following error message trying to compile it.

                      I hope I attached the file correctly, if I did so, as you can see the it gives the following error codes; CS1518 (3times with lines 144,151,158 and columns 16) and CS1022.

                      I have no clue on how to solve this so I hope you can help me out.

                      Regards, Daan
                      Attached Files

                      Comment


                        #12
                        Hello Daan Pothof,

                        Thank you for your response.

                        Please send a note to support[at]ninjatrader[dot]com with 'ATTN: Patrick-554009' in the subject line and a reference to this thread in the body of the e-mail: http://www.ninjatrader.com/support/f...ad.php?t=44732

                        Once we have received the e-mail we can schedule a support session to resolve these errors on your PC.
                        Last edited by NinjaTrader_PatrickH; 10-03-2013, 09:43 AM.

                        Comment


                          #13
                          How i did it.

                          Hello. How i did it.

                          Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.


                          Open NinjaTrader
                          From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
                          Select any indicator and double click on it (we need only to open and compile one script to see all compile errors for all files).
                          A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
                          At the bottom of the window a new section will appear where you can find the error locations.
                          From there you have the option to comment out offending code sections, remove the complete indicator or debug it to be able to compile again.

                          Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.


                          Go to Indicator folder and delete wrong file.

                          Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.



                          This is it.

                          Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.
                          Last edited by semoa; 11-06-2013, 04:24 AM.

                          Comment


                            #14
                            Hello semoa,

                            Thank you for your post and welcome to the NinjaTrader Support Forum!

                            Thank you for providing those detailed instructions and screenshots.

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by andrewtrades, Today, 04:57 PM
                            1 response
                            5 views
                            0 likes
                            Last Post NinjaTrader_Manfred  
                            Started by chbruno, Today, 04:10 PM
                            0 responses
                            3 views
                            0 likes
                            Last Post chbruno
                            by chbruno
                             
                            Started by josh18955, 03-25-2023, 11:16 AM
                            6 responses
                            436 views
                            0 likes
                            Last Post Delerium  
                            Started by FAQtrader, Today, 03:35 PM
                            0 responses
                            7 views
                            0 likes
                            Last Post FAQtrader  
                            Started by rocketman7, Today, 09:41 AM
                            5 responses
                            19 views
                            0 likes
                            Last Post NinjaTrader_Jesse  
                            Working...
                            X