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 charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      75 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      152 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      101 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      289 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X