Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
          BertrandNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Stanfillirenfro, Today, 07:23 AM
          9 responses
          23 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by George21, Today, 10:07 AM
          0 responses
          6 views
          0 likes
          Last Post George21  
          Started by DayTradingDEMON, Today, 09:28 AM
          2 responses
          18 views
          0 likes
          Last Post DayTradingDEMON  
          Started by navyguy06, Today, 09:28 AM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by cmtjoancolmenero, Yesterday, 03:58 PM
          8 responses
          32 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X