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

    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 wzgy0920, 04-20-2024, 06:09 PM
      2 responses
      26 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, 02-22-2024, 01:11 AM
      5 responses
      32 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, Yesterday, 09:53 PM
      2 responses
      49 views
      0 likes
      Last Post wzgy0920  
      Started by Kensonprib, 04-28-2021, 10:11 AM
      5 responses
      192 views
      0 likes
      Last Post Hasadafa  
      Started by GussJ, 03-04-2020, 03:11 PM
      11 responses
      3,234 views
      0 likes
      Last Post xiinteractive  
      Working...
      X