instrument {overlay = true,
name = 'TARGET FT1 2024',
short_name = 'TARGET FT1 2024',
icon="indicators:ADX"}
input_group { "FT1 - UP COLOR", call_color = input { default="#39FF14", type =
[Link] } }
input_group { "FT1 - DOWN COLOR", put_color = input { default="#FF0000", type =
[Link] } }
if ((close > close[1]) and (close[1] > open[2]) and (close[3] > close[2])) then
plot_shape(1,
'Bull_FT1',
shape_style.arrowup,
shape_size.big,
call_color,
shape_location.belowbar,
0,
"FT",
call_color )
else
if ((close < close[1]) and (close[1] < open[2]) and (close[3] < close[2])) then
plot_shape(1,
'Bear_FT1',
shape_style.arrowdown,
shape_size.big,
put_color,
shape_location.abovebar,
0,
"FT",
put_color)
end
end