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 CarlTrading, 03-31-2026, 09:41 PM
            1 response
            152 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            87 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            131 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            127 views
            1 like
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            106 views
            0 likes
            Last Post CarlTrading  
            Working...
            X