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

compile error

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

    compile error

    Hi

    I dont know what happened but I am getting an error for all the indicators and strategies on my computer. None of them will compile. They all gives a error saying "member modifier 'protected' must precede the member type and name. It refers to the line of code below in all the strategies. Any idea as to what is going on ?

    protected override void Initialize()


    thanks

    #2
    trader413, you likely have some braces set incorrectly for this indicator, you could try just deleting this one and see if you can compile then - we would always compile all your scripts into one assembly to be used at runtime for maximum performance, hence all source codes have to be error free and in compilable state.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Bertrand

      Ok that did it. thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by ScottWalsh, Today, 04:29 PM
      0 responses
      4 views
      0 likes
      Last Post ScottWalsh  
      Started by rtwave, 04-12-2024, 09:30 AM
      2 responses
      21 views
      0 likes
      Last Post rtwave
      by rtwave
       
      Started by tsantospinto, 04-12-2024, 07:04 PM
      5 responses
      69 views
      0 likes
      Last Post tsantospinto  
      Started by cre8able, Today, 03:20 PM
      0 responses
      7 views
      0 likes
      Last Post cre8able  
      Started by Fran888, 02-16-2024, 10:48 AM
      3 responses
      49 views
      0 likes
      Last Post Sam2515
      by Sam2515
       
      Working...
      X