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

Compiler error on all NT indicators

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

    Compiler error on all NT indicators

    Hi,

    When I run the compiler on any existing indicator (such as the standard ones supplied with NT), I get the following errors:
    DescriptionFileLineColumnInvalid token 'namespace' in class struct or interface member declarationIndicator\test.cs731Invalid token '{' in class struct or interface member declarationIndicator\test.cs741} expectedIndicator\test.cs 1782

    Its seems that something somewhere has become corrupted. Does anyone have any ideas what it could be?

    Thanks.

    #2
    Let's see what we have got:
    - did it ever work for you before?
    - what has changed since?
    - did you by chance manually (!) copy any file into <my documents>/NinjaTrader6.5/bin?

    Comment


      #3
      Thanks for the quick response.

      1. It did work previously.
      2. I am not sure what has changed since. I successfully created a couple of indicators using the strategy wizard to generate the code and then copying the code back into a new indicator. Then at some point it stopped working.
      3. Not that I am aware of. It was already a couple of weeks ago since I had the problem, so I can't totally rules this one out.

      Comment


        #4
        Thanks for the information... I guess you will need to go through an isolation process.

        This tip can help - http://www.ninjatrader-support.com/v...ead.php?t=4678
        RayNinjaTrader Customer Service

        Comment


          #5
          Thanks for the link.

          I deleted my own custom indicator files one by one until I found the one causing the problem. Then I didn't get any compiler errors.

          Many thanks for the speedy answers

          Comment


            #6
            Excellent! Thanks for reporting back to us.
            RayNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by George21, Today, 10:07 AM
            0 responses
            5 views
            0 likes
            Last Post George21  
            Started by Stanfillirenfro, Today, 07:23 AM
            8 responses
            23 views
            0 likes
            Last Post Stanfillirenfro  
            Started by DayTradingDEMON, Today, 09:28 AM
            2 responses
            16 views
            0 likes
            Last Post DayTradingDEMON  
            Started by navyguy06, Today, 09:28 AM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by cmtjoancolmenero, Yesterday, 03:58 PM
            8 responses
            32 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X