Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help needed.on a Ninjascript error

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

    Help needed.on a Ninjascript error

    I had Using the script in Ninja trader 6.5 . recently I changed using Ninja trader 7.0.1000.4 and imported this script . I had the following errors when I compiled. Could someone help where is the problem in the code?




    Regards

    #2
    Something is wrong w/ the syntax inside the paren's on each of those 4 lines

    DrawTriangleUp( check what's inside here);

    Go to Help>>NinjaScript>>Language Reference>>Drawing and look at the syntax examples for each of those methods.. DrawTriangleUp etc and fix the syntax from what you have to what the examples give.

    Comment


      #3
      You are missing the autoScale parameter. It is no longer optional: it is now mandatory. You need to place a true or false before the "1" in your statements.

      Comment


        #4
        could you people say what & how to do that? I am new to Ninjatrader & lack in coding. will be helpful if some one can say what exactly need to be done.

        Regards

        Comment


          #5
          trillian, please go through the Draw method overloads with the help of Intellisense and it would show you where the new AutoScale parameter is now needed for NT7 - as Koganam kindly pointed out, it would be needed after the tag parameter before the '1' in your code snippets shown.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          637 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          366 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          107 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          569 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          571 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X