Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Compile error of "} expected" for ALL indicators & strategies?

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

    Compile error of "} expected" for ALL indicators & strategies?

    Is anyone else experiencing this?

    Essentially, when I try to compile ANY indicator or strategy (even the ones that come pre-installed with Ninja), I am getting this same error message "} expected"?

    In fact, I just realized that all of the strategies and indicators that I had previously created (and were working) are now missing when I right-click on a chart and try to add a strategy?

    Help.

    #2
    Originally posted by fosch View Post
    Is anyone else experiencing this?

    Essentially, when I try to compile ANY indicator or strategy (even the ones that come pre-installed with Ninja), I am getting this same error message "} expected"?

    In fact, I just realized that all of the strategies and indicators that I had previously created (and were working) are now missing when I right-click on a chart and try to add a strategy?

    Help.
    fosch,

    Double click on the error and the actual file with the error will open in the editor.

    Fix that and you may be good.

    RJay
    RJay
    NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

    Comment


      #3
      Thanks RJay. But this issue is more pervasive. As I mentioned in my post, I am getting this compile error on all indicators and strategies, not just the one that I was working on. If no one else is getting it, then I will probably just need to wait for Ninja Support to help me out. Thanks.

      fosch

      Comment


        #4
        fosch,

        Please send a note to Support [AT] NinjaTrader [DOT] com with 'ATTN: Kyle' in the subject line.

        In the message, include the following:
        1.) A link to this forum thread.

        2.) Your most current trace file.
        You will find the trace file in the Documents > NinjaTrader 7 > Trace folder.
        Today's trace file would be named 'trace.20100818.txt'.

        3.) An image of the error:
        To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.
        KyleNinjaTrader Customer Service

        Comment


          #5
          fosch, I just replied to your email. In the screenshot you provided us, it showed the error as being in one of your custom scripts 'aaa50dayCrossOver'. Once you fix the coding error there, you should have no problem compiling the rest of your scripts.
          AustinNinjaTrader Customer Service

          Comment


            #6
            As a side note, anytime the coding error is highlighted red, that means the error is coming from a indicator/strategy/script other than the one you are currently editing.
            AustinNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            595 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            343 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            103 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            556 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            554 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X