Is there a way to separate continues plot mark for each candlesticks

17 Views Asked by At

Currently have this and it automatically connecting the plot if they are continues marks.

plot(stopLossPrice, color=color.rgb(255, 153, 0), title="Mark", linewidth=2, style=plot.style_steplinebr, offset=0)

if (not na(stopLossPrice))
    label.new(bar_index, stopLossPrice, text="SL - 2%", style=label.style_label_up, color=color.new(#00f708, 100), textcolor=color.rgb(255, 153, 0), size=size.small)
 

enter image description here

I tried this, but its thickness is not enough and its width is too short.

plotchar(series=buyPrice, char="——", color=color.rgb(0, 255, 0), title="Mark", offset=0, location=location.absolute)

Is there a way or other alternatives to separate continues plot mark for each candlesticks like this image:

enter image description here

0

There are 0 best solutions below