I would welcome help with my code. I am beginner and dont know how to plot lines on filled dojis and unfilled dojis. In picture you can see what I would like to do with my script, unfilled dojis with green line and filled wont be seen (for purpose to see what I mean I made them red).
Here is my code:
//@version=5
indicator("My script", overlay = true)
Precision = input.float(0.15, minval=0.0001, title="Doji's Max Body size")
dojiup=(math.abs(open - close) <= (high - low) * Precision ? 1:0)
dojidown=dojiup
plotshape(dojidown, title="Doji",style = shape.xcross,location = location.abovebar, color=color.red)
plotshape(dojiup, title="Doji",style = shape.xcross,location = location.belowbar,color=color.rgb(34, 67, 255))
Thank you for your help