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 pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      147 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Started by mattbsea, Today, 05:44 PM
      0 responses
      5 views
      0 likes
      Last Post mattbsea  
      Started by RideMe, 04-07-2024, 04:54 PM
      6 responses
      33 views
      0 likes
      Last Post RideMe
      by RideMe
       
      Started by tkaboris, Today, 05:13 PM
      0 responses
      5 views
      0 likes
      Last Post tkaboris  
      Started by GussJ, 03-04-2020, 03:11 PM
      16 responses
      3,282 views
      0 likes
      Last Post Leafcutter  
      Working...
      X