Reputation: 71
How can I get a plotshape function as user input so that one can manually turn on / off visual effects from the chart?
Upvotes: 1
Views: 237
Reputation: 865
Example below
show = input.bool(false, title = "Show?")
plotshape(show ? close : na, title = "Close", style = shape.labelup, text = "Close", size = size.normal, location = location.belowbar)
Upvotes: 3