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 samish18, 04-17-2024, 08:57 AM
              16 responses
              56 views
              0 likes
              Last Post samish18  
              Started by arvidvanstaey, Today, 02:19 PM
              3 responses
              10 views
              0 likes
              Last Post NinjaTrader_Zachary  
              Started by jordanq2, Today, 03:10 PM
              2 responses
              8 views
              0 likes
              Last Post jordanq2  
              Started by traderqz, Today, 12:06 AM
              10 responses
              18 views
              0 likes
              Last Post traderqz  
              Started by algospoke, 04-17-2024, 06:40 PM
              5 responses
              47 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Working...
              X