Professional Documents
Culture Documents
OB Omar
OB Omar
input_group {
"Compra",
colorBuy = input { default = "green", type = input.color },
visibleBuy = input { default = true, type = input.plot_visibility }
}
input_group {
"Venda",
colorSell = input { default = "red", type = input.color },
visibleSell = input { default = true, type = input.plot_visibility }
}
plot_shape(
(BUY_CONDITION),
"CALL",
shape_style.triangleup,
shape_size.auto,
colorBuy,
shape_location.belowbar,
0,
"COMPRA M1",
"green"
)
plot_shape(
(SELL_CONDITION),
"PUT",
shape_style.triangledown,
shape_size.auto,
colorSell,
shape_location.abovebar,
0,
"VENDA M1",
"red"
)