Professional Documents
Culture Documents
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