Candle % locator
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © jonarod

//@version=5
indicator("Candle % locator", overlay = true)

min_perc_move = input.float(20.0, "Minium %")/100

bar_range = (math.abs(open[0] - close[0]) / open[0])

// plot(bar_range)

plotshape(bar_range >= min_perc_move, "plot move", style=shape.triangleup, color=color.blue, location=location.belowbar, size=size.small)
