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 charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            60 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            148 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            162 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            98 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            286 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Working...
            X