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 Mindset, 04-21-2026, 06:46 AM
          0 responses
          102 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          144 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          71 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          125 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          79 views
          0 likes
          Last Post PaulMohn  
          Working...
          X