Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawTriangleUp/Down Missing

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

    DrawTriangleUp/Down Missing

    DrawTriangle Missing in NT7 ?

    i can't find

    #2
    Hello mydet,

    These actions are still available in NinjaTrader 7. When I checked the Strategy Wizard, I see them listed in the Conditions and Actions window in the 'Do the following' box upon adding an action under 'Drawing'. See screenshot.
    Attached Files

    Comment


      #3
      but in programming it give error

      DrawArrowUp("abclong" + CurrentBar, 0, Low[0]-2*TickSize - toffset, Color.Transparent);
      DrawTriangleUp("abclong" + CurrentBar, 0, Low[0]-2*TickSize - toffset, Color.Transparent);

      i use the same code but if i use Arrow it work but not Triangle

      Error : No overload for mathod "DrawTriangleUp" takes "4" arguments

      Comment


        #4
        There have been code breaking changes between NinjaTrader 6.5 and 7. I suspect it has been affected. More information can be found at the link below.
        Contains critical information including but not limited to migration, installation, connections and changes.


        I suggest to use the code that works.

        Comment


          #5
          Why code breaking changes.
          If in help file is writen that it needs 5 parameters, so..
          DrawTriangleDown(string tag, bool autoScale, int barsAgo, double y, Color color)

          Comment


            #6
            Baruch,

            In 6.5 there were extra signatures that could have been used outside of what was outlined in the Help Guide. Some of those have been deprecated and as such can cause compile issues as you try to bring those signatures over into 7. Quickly addressing it to methods available in 7 resolves the issue.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              The autoScale parameter is no longer optional in NT7; you MUST specify it.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              597 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              343 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              556 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              555 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X