Announcement

Collapse
No announcement yet.

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 Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            637 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            366 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            107 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            569 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            571 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X