Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom drawn text

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

    Custom drawn text

    Could someone please point me in the right direction on how to draw the lines shown on the attached via code on NT 8 or provide a sample?

    Thank
    Attached Files

    #2
    Hello eebene,

    Thanks for your post.

    Please see the helpguide here for code and example of the Draw.Line() method: http://ninjatrader.com/support/helpG...?draw_line.htm

    Comment


      #3
      Since lines are drawn based on either time or X bars ago, you need to know which bars you want it from / to.

      Also, lines are based on Y values, or price. If you are doing this near the bottom of a chart you might consider drawing this in a separate panel otherwise it becomes very complicated, such as gathering Y values / X values from bars and using those values to determine the scope of the chart.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      656 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      371 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      109 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      574 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      579 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X