Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Compile error

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

    Compile error

    Hello,

    When I attempt to compile a new custom indicator, I get a CS0103 error about a name that is not even specified in the code. I get the exact same error if I try to recompile another custom indicator that used to be ok. It seems like Ninjatrader is corrupted or something. What to do?

    Thanks.

    #2
    Hello,
    So that we can assist further please provide a screenshot of the full error message you are receiving.
    To send a screenshot with Windows 7 or newer I would recommend using Window's Snipping Tool.

    Click here for instructions

    Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

    Click here for detailed instruction
    Cody B.NinjaTrader Customer Service

    Comment


      #3
      It looks like the issue is gone. I noticed that the error was referring to a strategy (not an indicator) that was not completed properly. I didn't need the strategy so deleted it and problem is gone since. Still don't know why the strategy was creating a compile error while I was editing an indicator but it is no more an issue for now.

      Thanks.

      Comment


        #4
        Hello,
        When you compile and indicator or strategy in NinjaTrader it compiles all indicators and strategies - not just one. This is done to give you the highest runtime performance possible.
        Cody B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        71 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        43 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        25 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        28 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        56 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X