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
    Paul H.NinjaTrader Customer Service

    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 Waxavi, Today, 02:00 AM
      0 responses
      1 view
      0 likes
      Last Post Waxavi
      by Waxavi
       
      Started by elirion, Today, 01:36 AM
      0 responses
      3 views
      0 likes
      Last Post elirion
      by elirion
       
      Started by gentlebenthebear, Today, 01:30 AM
      0 responses
      4 views
      0 likes
      Last Post gentlebenthebear  
      Started by samish18, Yesterday, 08:31 AM
      2 responses
      9 views
      0 likes
      Last Post elirion
      by elirion
       
      Started by Mestor, 03-10-2023, 01:50 AM
      16 responses
      391 views
      0 likes
      Last Post z.franck  
      Working...
      X