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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      85 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      47 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      67 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X