Hi. I wanted to draw a vertical line on the main chart. If draws it through the center of the candle and I cannot see the wicks.
DRAWVLINE (barindex) coloured(34,153,84)
Have tried – DRAWVLINE (barindex -1) coloured(34,153,84)
but that moves it one full candle, and when I tried – DRAWVLINE (barindex -.1) coloured(34,153,84) – nothing happens.
Is there a way to move the candle off the wick?
Or maybe make the wick thicker? I could not find a way to do this in the latest version.
Thanks in advance.
Try with DrawSegment:
Offset = 20 * PipSize
Length = range*5
DRAWSEGMENT(BarIndex,high+Offset,BarIndex,high+Length) COLOURED(34,153,84,255)
DRAWSEGMENT(BarIndex,low-Offset,BarIndex,low-Length) COLOURED(34,153,84,255)
Return
You can also use STYLE to change the style and thickness of the lines.
Thanks Robertogozzi. That’s done the trick. The range is great too. Shows strength or lack of it.
Is there any way to extend the lines to the top and bottom. Only cause that is what I am use to!
So if it cannot be done that is okay.
Thanks again. This is just what I needed.
Sorry, there’s no way to know where the top and bottom are.
At line 2 you can multiply RANGE by 10 or 20. Maybe this could do.
Better cancel that as it would not be effective for the strength