Professional Documents
Culture Documents
99WIN
99WIN
name = 'Secret_solution',
icon="indicators:ADX",
short_name = 'Secret_solution',
overlay =true
}
method_id = input(1, "YOUTUBE", input.string_selection, {"TRADERB90"})
input_group {
"Compra",
colorBuy = input { default = "yellow", type = input.color },
visibleBuy = input { default = true, type = input.plot_visibility }
}
input_group {
"Venda",
colorSell = input { default = "yellow", type = input.color },
visibleSell = input { default = true, type = input.plot_visibility }
}
buyCondition = conditional(buffer1 > buffer2 and buffer1[1] < buffer2[1] and not
(buffer1 < buffer2 and buffer1[1] > buffer2[1]))
buyCondition = conditional(buffer1 > buffer2 and buffer1[1] < buffer2[1])
sellCondition = conditional(buffer1 < buffer2 and buffer1[1] > buffer2[1] and not
(buffer1 > buffer2 and buffer1[1] < buffer2[1]))
sellCondition = conditional(buffer1 < buffer2 and buffer1[1] > buffer2[1] )
plot_shape(
(buyCondition),
"30",
shape_style.arrowup,
shape_size.large,
colorBuy,
shape_location.belowbar,
-1,
"99% WIN",
"YELLOW"
)
plot_shape(
(sellCondition),
"30",
shape_style.arrowdown,
shape_size.large,
colorSell,
shape_location.abovebar,
-1,
"99% WIN",
"YELLOW"
)