• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"Error on generating strategy " why?

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

    "Error on generating strategy " why?

    im am using ninjatrader strategy developer and whenever i press finish this error shows up "Error on generating strategy " i am not even using code just adding simple conditions

    also is there a book where i can learn ninjatrader coding ?

    #2
    Post the error and we can help...

    I suspect you have other items with errors that need attention. All items in your indicators and strategies must compile cleanly for any new work to compile.

    Comment


      #3
      Originally posted by sledge View Post
      Post the error and we can help...

      I suspect you have other items with errors that need attention. All items in your indicators and strategies must compile cleanly for any new work to compile.
      see images

      note: the code is on view mode, so i did not mess with the code
      Attached Files

      Comment


        #4
        ffdgh contains the start of your problems.

        Comment


          #5
          Originally posted by sledge View Post
          ffdgh contains the start of your problems.
          ??
          is there a specific requirement for the name of the system ?

          Comment


            #6
            Hello,
            There is not a specific requirement for the name of the strategy.
            What sledge indicated in his last post is the compile errors you are seeing are coming from other strateiges and the errors need to resolved in those strategies code or you would need to remove them from NinjaTrader.
            The strategies that contain the errors are your ffdgh, OverboughtOversold, and the SMAdd strategy.
            The reason you are seeing these compile is because NinjaTrader always 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


              #7
              Originally posted by maaz1598 View Post
              ??
              is there a specific requirement for the name of the system ?
              Not beyond the standard restrictions of c#.

              However, your graphic shows 3 separate strategies that have errors, and has identified the errors. Correct them all. Until all errors are corrected, in all files, you cannot get a successful compilation.

              Click on the error, and you will be taken to the correct file and place to make corrections.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by StevenNelson, 10-11-2019, 05:51 AM
              2 responses
              12 views
              0 likes
              Last Post ManIp
              by ManIp
               
              Started by TazoTodua, Today, 12:29 PM
              1 response
              21 views
              0 likes
              Last Post bltdavid  
              Started by sdauteuil, Today, 03:16 PM
              0 responses
              6 views
              0 likes
              Last Post sdauteuil  
              Started by Zenersev, Today, 02:11 PM
              0 responses
              4 views
              0 likes
              Last Post Zenersev  
              Started by TazoTodua, Today, 12:00 PM
              0 responses
              7 views
              0 likes
              Last Post TazoTodua  
              Working...
              X