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 Tim-c, Today, 10:58 AM
      0 responses
      0 views
      0 likes
      Last Post Tim-c
      by Tim-c
       
      Started by traderqz, Yesterday, 09:06 AM
      3 responses
      21 views
      0 likes
      Last Post NinjaTrader_ThomasC  
      Started by f.saeidi, Today, 10:19 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by kujista, Today, 06:23 AM
      5 responses
      17 views
      0 likes
      Last Post kujista
      by kujista
       
      Started by traderqz, Today, 12:06 AM
      3 responses
      6 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X