You are on page 1of 1

--------------------------------

instrument {overlay = true,


name = 'CICLO AMARELO',
short_name = 'AMARELO',
description = 'Development @Masterlsno',
icon="indicators:ADX"}

input_group { "Cor Ciclo Amarelo", cor_amarelo = input { default="#FFFF00", type =


input.color } }

if ((close[5] < open[5]) and (close[4] > open[4]) and (close[3] > open[3]) and
(close[2] < open[2]) and (close[1] < open[1]) and (close > open)) then

plot_shape(1,
'Bull_Engulfing',
shape_style.square,
shape_size.huge,
"#FFFF00",
shape_location.belowbar,
0,
"AMARELO",
cor_amarelo )
else
if ((close[5] > open[5]) and (close[4] < open[4]) and (close[3] < open[3]) and
(close[2] > open[2]) and (close[1] > open[1]) and (close < open)) then

plot_shape(1,
'Bull_Engulfing',
shape_style.square,
shape_size.huge,
"#FFFF00",
shape_location.belowbar,
0,
"AMARELO",
cor_amarelo )
end
end

You might also like