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 CaptainJack, 05-29-2026, 05:09 AM
              0 responses
              53 views
              0 likes
              Last Post CaptainJack  
              Started by CaptainJack, 05-29-2026, 12:02 AM
              0 responses
              34 views
              0 likes
              Last Post CaptainJack  
              Started by charlesugo_1, 05-26-2026, 05:03 PM
              0 responses
              100 views
              0 likes
              Last Post charlesugo_1  
              Started by DannyP96, 05-18-2026, 02:38 PM
              1 response
              180 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 05-11-2026, 05:56 AM
              0 responses
              170 views
              0 likes
              Last Post CarlTrading  
              Working...
              X