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 algospoke, 04-17-2024, 06:40 PM
          6 responses
          49 views
          0 likes
          Last Post algospoke  
          Started by arvidvanstaey, Today, 02:19 PM
          4 responses
          11 views
          0 likes
          Last Post arvidvanstaey  
          Started by samish18, 04-17-2024, 08:57 AM
          16 responses
          61 views
          0 likes
          Last Post samish18  
          Started by jordanq2, Today, 03:10 PM
          2 responses
          11 views
          0 likes
          Last Post jordanq2  
          Started by traderqz, Today, 12:06 AM
          10 responses
          21 views
          0 likes
          Last Post traderqz  
          Working...
          X