Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawing a vertical line NOT using DrawVerticalLine()

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

    Drawing a vertical line NOT using DrawVerticalLine()

    ...there is not much info on the Line class, I'm looking for something where I can draw a vertical line similar to the VLine's for a chart, I don't want to have to tag each line and keep track of them etc, I just want to draw a simple vertical line that is not modifiable by clicking on it etc. Any idea's.

    #2
    Hello,

    I am not aware of any way to do this, if I understand you correctly. Someone else will look into this after the weekend and repost.
    DenNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Ben View Post
      Hello,

      I am not aware of any way to do this, if I understand you correctly. Someone else will look into this after the weekend and repost.

      Thanks Ben, I guess what I am talking about would be similar to a moving average in NT, the line is drawn but not modifiable however all I am looking for is just a vertical line similar to this without using the DrawVerticalLine()

      Comment


        #4
        Hello,

        OK I understand what you want now. Yes, you can do this by Adding a plot with Add() then just plot a constant value. Go to the file sharing>indicator section of this forum and look at ATRatio. It has one set up as a uer defined value called TriggerLevel.
        DenNinjaTrader Customer Service

        Comment


          #5
          Thanks Ben!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Belfortbucks, Today, 09:29 PM
          0 responses
          3 views
          0 likes
          Last Post Belfortbucks  
          Started by zstheorist, Today, 07:52 PM
          0 responses
          7 views
          0 likes
          Last Post zstheorist  
          Started by pmachiraju, 11-01-2023, 04:46 AM
          8 responses
          150 views
          0 likes
          Last Post rehmans
          by rehmans
           
          Started by mattbsea, Today, 05:44 PM
          0 responses
          6 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
           
          Working...
          X