Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error Generating Indicator

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

    Error Generating Indicator

    Hey all,

    I'm new to NT, I work as a software developer.

    Anyway, I was trying to make my first indicator to get to know the platform a little
    And first thing I did after creating a new indicator was to try and compile it.

    Now I haven't changed a thing to the generated code and it throws an error:
    Strategy\MyCustomStrategy.cs 'NinjaTrader.Strategy.MyCustomStrategy.OnTick()': no suitable method found to override CS0115 - click for info 44 25

    What gives...?

    Would appreciate any help, Thanks.

    #2
    Hello ahadari28,

    Thank you for your post and welcome to the NinjaTrader Support Forum!

    Please double click the error in the error display, this will highlight the line of code. Then take a screenshot and attach the screen shot to your response so we may investigate the matter further.

    To send a screenshot with Windows 7 or newer I would recommend using Window's Snipping Tool.

    Click here for instructions: http://windows.microsoft.com/en-us/w...#1TC=windows-8

    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: http://take-a-screenshot.org/

    Comment


      #3
      Thanks PatrickH, I appreciate the quick response, the fault was lying with a custom strategy that was partially finished and was getting in the way of the compiling process, I fixed it.


      Thanks again!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by elirion, Today, 01:36 AM
      0 responses
      3 views
      0 likes
      Last Post elirion
      by elirion
       
      Started by gentlebenthebear, Today, 01:30 AM
      0 responses
      3 views
      0 likes
      Last Post gentlebenthebear  
      Started by samish18, Yesterday, 08:31 AM
      2 responses
      9 views
      0 likes
      Last Post elirion
      by elirion
       
      Started by Mestor, 03-10-2023, 01:50 AM
      16 responses
      389 views
      0 likes
      Last Post z.franck  
      Started by rtwave, 04-12-2024, 09:30 AM
      4 responses
      34 views
      0 likes
      Last Post rtwave
      by rtwave
       
      Working...
      X