Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Price on Horizontal Line

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

    Price on Horizontal Line

    I'm using the NT built in horizontal line drawing tool for my levels but I would like to display the price on the line. Any suggestions.

    #2
    Hello WollenGeld,

    Thanks for your post and welcome to the forums!

    You can use the Ninjatrader indicator "ConstantLines", it will provide horizontal lines and display price markers. The indicator has 4 lines. You can add more copies of the indicator to create as many horizontal lines as needed.

    Additionally you may want to review the indicators in the file sharing area of the forums for other potential ideas: http://ninjatrader.com/support/forum/local_links.php

    Comment


      #3
      Thanks, Paul. I must have 'seen' this in the indicator box hundreds of time but hadn't noticed it, if you see what I mean!

      WollenGeld - if you want to see the price levels on the lines themselves, you could use the DrawText method.

      An example (sorry, I haven't tried this)

      Code:
      DrawText("Line1 Text",Line1Value.ToString(), 0, Line1Value + 2 * TickSize, Color.Blue);
      Note: each draw object needs a different tag, so use: "Line1 Text", "Line2 Text"
      Last edited by arbuthnot; 09-17-2015, 10:20 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      69 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      42 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      24 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      27 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      54 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X