instrument {overlay = true, name = 'SCRIPT WIN ROBSON TRADER 2022', short_name = 'OTC', icon="indicators:ADX"} input_group { "OTC - UP COLOR", call_color = input { default="#00FFFF", type = input.color } } input_group { "OTC - DOWN COLOR", put_color = input { default="#FF00FF", type = input.color } } if ((close > close[1]) and (close[1] > open[2]) and (close[3] > close[2])) then plot_shape(1, 'Bull_OTC', shape_style.arrowup, shape_size.huge, call_color, shape_location.belowbar, 0, "CALL", call_color ) else if ((close < close[1]) and (close[1] < open[2]) and (close[3] < close[2])) then plot_shape(1, 'Bear_OTC', shape_style.arrowdown, shape_size.huge, put_color, shape_location.abovebar, 0, "PUT", put_color) end end