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 Hwop38, 05-04-2026, 07:02 PM
            0 responses
            156 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            307 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            244 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            346 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            176 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X