Is there a way to draw a horizontal line from a point on a chart all the way to the right of the chart .
So that it is a partial horizontal line from a particular point rather that a horizontal line all the way from left to right of the whole chart ?
I would need to code this as an indicator
thanks
There you go:
DEFPARAM DRAWONLASTBARONLY = true
hh = highest[30](high)
DRAWSEGMENT(barindex-30,hh,barindex,hh)coloured(0,128,0,255)
RETURN
There you go:
Added as Row 104 to here … Snippet Link Library