Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawing short lines below candles

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

    Drawing short lines below candles

    I'm trying to create a net-line sell indicator which basically counts three consecutive higher candles and then draws a short line below the current candle. Obviously I know how to do most of that, however the length of the line is my problem. How can I draw a short horizontal line below a candle that's only the length of the candle's width?

    I have enclosed an image as a visual example of what I'm trying to do.

    Any input would be appreciated,

    Cheers,

    Molecool

    P.S.: I wish I could do it with DrawText but the y value can not be set price specific.
    Attached Files

    #2
    Use a Plot with PlotStyle.Hash

    Comment


      #3
      Do you have an example? How do I draw the line only one candle wide?

      Comment


        #4
        molecool, we would not have an example unfortunately, but you can set the plot value just for one bar for example and call then the reset method to remove segments of the plot - choosing then the Hash style for the Plot should give you what you seek.

        Comment


          #5
          Originally posted by molecool View Post
          Do you have an example? How do I draw the line only one candle wide?
          I am not quite sure what kind of example you seek.

          To use a hash for the plot, choose it as the plot style in the wizard when you are creating the indicator. (see attached picture).

          The hash style is 1 candle wide, centered on the wick. Hence my suggestion that you use it.
          Attached Files

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          601 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          347 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          559 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          558 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X