Professional Documents
Culture Documents
icon = 'https://midia.gruposinos.com.br/_midias/jpg/2020/10/21/download-
19246341.jpeg',
overlay = true
}
input_group {
"front.ind.dpo.generalline",
up_color = input { default = "", type = input.color },
width = input { default = 1, type = input.line_width },
visiblepercentage = input { default = false, type = input.plot_visibility }
}
input_group {
"front.ind.dpo.generalline",
down_color = input { default = "", type = input.color },
width = input { default = 1, type = input.line_width },
visiblepercentage = input { default = false, type = input.plot_visibility }
}
input_group {"CALL", call_color= input{ default= "rgba(0, 250, 154, 0.80)", type=
input.color}}
input_group {"PUT", put_color= input{ default= "rgba(220, 20, 60, 0.8)", type=
input.color}}
if Exibir_tracamento == 1 then
plot(emaa, "SMA", ema_color)
plot(upper_high, "UPPER_HIGH", sup_color)
plot(lower_high, "LOWER_HIGH", inf_color)
end
rect {
first = 0,
second = mad,
color = mad >= mad [1] and up_color or down_color,
width = 0.4
}
if
( mad <= 0 and ( mad[1] > mad) and (smaa < smab) and (smaao > smabo) and close <=
emaa ) then
plot_shape (1,
"Down",
shape_style.arrowdown,
shape_size.auto,
down_color,
shape_location.abovebar,
0,
" Down ",
1)
end
if
( mad >= 0 and (mad > mad[1]) and (smaa > smab) and close >= emaa and smaao <
smabo)
then
plot_shape (1 ,
"Up",
shape_style.arrowup,
shape_size.auto,
up_color,
shape_location.belowbar,
0,
"Up",
1)
end
input_group {
"front.ind.dpo.generalline",
up_color = input { default = "", type = input.color },
width = input { default = 1, type = input.line_width },
visiblepercentage = input { default = false, type = input.plot_visibility }
}
input_group {
"front.ind.dpo.generalline",
down_color = input { default = "", type = input.color },
width = input { default = 1, type = input.line_width },
visiblepercentage = input { default = false, type = input.plot_visibility }
}
input_group {"CALL", call_color= input{ default= "rgba(0, 250, 154, 0.80)", type=
input.color}}
input_group {"PUT", put_color= input{ default= "rgba(220, 20, 60, 0.8)", type=
input.color}}
rect {
first = 0,
second = mad,
color = mad >= mad [1] and up_color or down_color,
width = 0.4
}
if
( mad <= 0 and ( mad[1] > mad) and (smaa < smab) and (smaao > smabo) and close <=
emaa ) then
plot_shape (1,
"Down",
shape_style.arrowdown,
shape_size.auto,
down_color,
shape_location.abovebar,
0,
" Down ",
1)
end
if
( mad >= 0 and (mad > mad[1]) and (smaa > smab) and close >= emaa and smaao <
smabo)
then
plot_shape (1 ,
"Up",
shape_style.arrowup,
shape_size.auto,
up_color,
shape_location.belowbar,
0,
"Up",
1)
end
input_group {
"front.ind.dpo.generalline",
up_color = input { default = "", type = input.color },
width = input { default = 1, type = input.line_width },
visiblepercentage = input { default = false, type = input.plot_visibility }
}
input_group {
"front.ind.dpo.generalline",
down_color = input { default = "", type = input.color },
width = input { default = 1, type = input.line_width },
visiblepercentage = input { default = false, type = input.plot_visibility }
}
input_group {"CALL", call_color= input{ default= "rgba(0, 250, 154, 0.80)", type=
input.color}}
input_group {"PUT", put_color= input{ default= "rgba(220, 20, 60, 0.8)", type=
input.color}}
if Exibir_tracamento == 1 then
plot(emaa, "SMA", ema_color)
plot(upper_high, "UPPER_HIGH", sup_color)
plot(lower_high, "LOWER_HIGH", inf_color)
end
rect {
first = 0,
second = mad,
color = mad >= mad [1] and up_color or down_color,
width = 0.4
}
if
( mad <= 0 and ( mad[1] > mad) and (smaa < smab) and (smaao > smabo) and close <=
emaa ) then
plot_shape (1,
"Down",
shape_style.arrowdown,
shape_size.auto,
down_color,
shape_location.abovebar,
0,
" Down ",
1)
end
if
( mad >= 0 and (mad > mad[1]) and (smaa > smab) and close >= emaa and smaao <
smabo)
then
plot_shape (1 ,
"Up",
shape_style.arrowup,
shape_size.auto,
up_color,
shape_location.belowbar,
0,
"Up",
1)
end
input_group {
"front.ind.dpo.generalline",
down_color = input { default = "", type = input.color },
width = input { default = 1, type = input.line_width },
visiblepercentage = input { default = false, type = input.plot_visibility }
}
input_group {"CALL", call_color= input{ default= "rgba(0, 250, 154, 0.80)", type=
input.color}}
input_group {"PUT", put_color= input{ default= "rgba(220, 20, 60, 0.8)", type=
input.color}}
if Exibir_tracamento == 1 then
plot(emaa, "SMA", ema_color)
plot(upper_high, "UPPER_HIGH", sup_color)
plot(lower_high, "LOWER_HIGH", inf_color)
end
rect {
first = 0,
second = mad,
color = mad >= mad [1] and up_color or down_color,
width = 0.4
}
if
( mad <= 0 and ( mad[1] > mad) and (smaa < smab) and (smaao > smabo) and close <=
emaa ) then
plot_shape (1,
"Down",
shape_style.arrowdown,
shape_size.auto,
down_color,
shape_location.abovebar,
0,
" Down ",
1)
end
if
( mad >= 0 and (mad > mad[1]) and (smaa > smab) and close >= emaa and smaao <
smabo)
then
plot_shape (1 ,
"Up",
shape_style.arrowup,
shape_size.auto,
up_color,
shape_location.belowbar,
0,
"Up",
1)
end