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 argusthome, Yesterday, 10:06 AM
      0 responses
      20 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      18 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      14 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      9 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      38 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X