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 Perr0Grande, Today, 08:16 PM
          0 responses
          2 views
          0 likes
          Last Post Perr0Grande  
          Started by elderan, Today, 08:03 PM
          0 responses
          5 views
          0 likes
          Last Post elderan
          by elderan
           
          Started by algospoke, Today, 06:40 PM
          0 responses
          10 views
          0 likes
          Last Post algospoke  
          Started by maybeimnotrader, Today, 05:46 PM
          0 responses
          11 views
          0 likes
          Last Post maybeimnotrader  
          Started by quantismo, Today, 05:13 PM
          0 responses
          7 views
          0 likes
          Last Post quantismo  
          Working...
          X