Scripts Mhi
Scripts Mhi
Scripts Mhi
--LINK: https://youtu.be/sNRJgzRQzhw
--@karlkiing
-----------------------------
----------------------------
----------------------------
end
TD=iff(open>close,"red",iff(open<close,"lime","gray"))
pt=true
else
TD=nil
pt=false
end
plot_shape(m4==true or
m9==true,"MHI",shape_style.cross,shape_size.large,rgba(0,0,0,0),shape_location.bott
om,1,"MHI","white")
if count_d == 0 then
_, count_g = string.gsub(velas_cores, 'g', '')
_, count_r = string.gsub(velas_cores, 'r', '')
plot_shape((count_g < count_r and (open >= close)) or (count_g > count_r
and (open <= close)) and resultado <= 1,
'LOSS',
shape_style.xcross,
shape_size.huge,
loss_color,
shape_location.abovebar,
0,
"LOSS",
loss_color)
else
if exibir_doji == 1 then
drop_plot_value("PUT", current_bar_id)
drop_plot_value("CALL", current_bar_id)
drop_plot_value("LOSS", current_bar_id)
plot_shape(1,
'DOJI',
shape_style.circle,
shape_size.huge,
doji_color,
shape_location.abovebar,
0,
"LOSS",
doji_color)
end
end
end