Script Elite 2023 JV Trader
Script Elite 2023 JV Trader
= true }
method_id = input (1, "Type", input.string_selection, { "SCRIPT COREANO 3.0 UNIAO1"
})
end
instrument{name="ZARTH TRADER",
short_name="ZARTH TRADER UNIAO1",
icon = 'indicators:BB',
overlay=true}
if Exibir_tracamento == 1 then
plot(emaa, "SMA", ema_color)
plot(upper_band, "UPPER_BAND", bbsup_color)
plot(lower_band, "LOWER_BAND", bbinf_color)
end
instrument {
name = 'ZARTH TRADER',
short_name = 'super',
icon = 'indicators:BB',
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 }
}
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),
"ENTRAR",
shape_style.triangleup,
shape_size.huge,
colorBuy,
shape_location.belowbar,
-1,
"ENTRAR",
"yellow"
)
plot_shape(
(sellCondition),
"ENTRAR",
shape_style.triangledown,
shape_size.huge,
colorSell,
shape_location.abovebar,
-1,
"ENTRAR",
"yellow"
)
input_group {
"Color",
color1 = input {default = "rgba(7, 243, 247, 0.3)", type = input.color},
color2 = input {default = "rgba(7, 243, 247, 0.4)", type = input.color},
color3 = input {default = "rgba(7, 243, 247, 0.5)", type = input.color},
color4 = input {default = "rgba(7, 243, 247, 0.6)", type = input.color},
color5 = input {default = "rgba(7, 243, 247, 0.7)", type = input.color},
color6 = input {default = "rgba(7, 243, 247, 0.9)", type = input.color},
width = input {default = 1, type = input.line_width}
}
input_group {
"Maxima",
level_1_color = input { default = "Purple", type = input.color },
level_1_width = input { default = 4, type = input.line_width }
}
input_group {
"Minima",
level_2_color = input { default = "Purple", type = input.color },
level_2_width = input { default = 4, type = input.line_width }
}
c1 = candle.high
c2 = candle.low
end
local methods = { h1 }
if sec then
local method = methods [method_id]
method (sec)
end