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 CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      7 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      118 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      169 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      88 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      130 views
      0 likes
      Last Post cmoran13  
      Working...
      X