Indicador Nordic
Indicador Nordic
name = 'Nordic',
short_name = 'Nordic',
icon =
'https://i.pinimg.com/474x/c8/7b/cf/c87bcf1c27a47222f6174f67b729bb83.jpg',
overlay = true
}
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,
"CALL",
"green"
)
plot_shape(
(SELL_CONDITION),
"PUT",
shape_style.triangledown,
shape_size.auto,
colorSell,
shape_location.abovebar,
0,
"PUT",
"red"
)