Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Wizard causing error

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

    Strategy Wizard causing error

    Hello

    I just started to create a skeleton of a strategy using the strategy wizard. When I clicked "Finish" to go to the code, it said there was an error in creating the code. I was not able to do anything to work around that until I restarted NinjaTrader completely. Then it finally did unlock it. But when I attempted to compile it, I got another error. (I did not write any of my own code in it yet - it is currently only Wizard code).

    Attached is a screenshot of the errors showing and the lines that they refer to.

    I have never had this problem before. The only thing that I am doing differently now than other times is that I am using my laptop to create this on a free version of NT rather than my desktop using the multi broker lifetime license. Otherwise, everything else that I am doing is exactly the same.

    Thank you very much for any help that you are able to provide.

    #2
    Hello jg123,

    Thank you for your post.

    Can you re-attach the screenshot to your response?

    Comment


      #3
      oh, that is odd. It disappeared. haha

      or I just didn't actually attach it....

      no idea

      but anyway, here it is (again)
      Attached Files

      Comment


        #4
        Hello jg123,

        Thank you for your response.

        Line 56 has (); which is not valid. Try deleting this and creating a new strategy and advise if there are any errors.

        Comment


          #5
          That worked. Thanks!

          Would you have any idea why the Wizard would have automatically put that there if it wasn't valid?

          Comment


            #6
            Hello jg123,

            I do not know why that would occur. Do you see the same item when creating a new strategy through the wizard?

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            558 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            324 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            545 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            547 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X