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 maybeimnotrader, Today, 05:46 PM
            0 responses
            6 views
            0 likes
            Last Post maybeimnotrader  
            Started by quantismo, Today, 05:13 PM
            0 responses
            6 views
            0 likes
            Last Post quantismo  
            Started by AttiM, 02-14-2024, 05:20 PM
            8 responses
            166 views
            0 likes
            Last Post jeronymite  
            Started by cre8able, Today, 04:22 PM
            0 responses
            8 views
            0 likes
            Last Post cre8able  
            Started by RichStudent, Today, 04:21 PM
            0 responses
            5 views
            0 likes
            Last Post RichStudent  
            Working...
            X