this is code that works:
plotshape(xvalue, location=location.absolute, style=shape.labeldown, color=red, size=size.tiny, text ="Upper")
this is code that doesn't work:
plotshape(xvalue, location=location.absolute, style=(label?shape.xcross:shape.labeldown), color=red, size=size.tiny, text ="Upper")
Variable "label" here is true/false variable. It compiles without errors, but it just doesn't plot.
But it you use same logic on color, for example:
color=(label?blue:red)
It works without problems.
Did I made mistake in typing or logic anywhere or this is another one of pine bugs?