JEEF (By User - 010101) Oficial

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

instrument{ name="JEEF (By @User_010101) Oficial",

short_name="JEEF",
icon="yellow",
overlay = true}
---By @User_010101
exibir_tracamento = input(1, "Quer as linhas de base?", input.string_selection,
{"SIM", "NAO"} )

input_group { "EMA", ema_color = input{ default = "blue", type = input.color } }


input_group { "BANDA SUPERIOR", bbsup_color = input{ default = "red", type =
input.color } }
input_group { "BANDA INFERIOR", bbinf_color = input{ default = "yellow", type =
input.color } }
input_group { "JEEF", call_color = input{ default = "green", type = input.color } }
input_group { "JEEF", put_color = input{ default = "red", type = input.color } }
---By @User_010101
sec = security(current_ticker_id, "1s")
---By @User_010101
if sec and sec.open_time == open_time then
---By @User_010101
smaa = sma(close, '59')
upper_band = smaa + (stdev(close, 59) * 2.9)
lower_band = smaa - (stdev(close, 59) * 2.9)
---By @User_010101
emaa = ema(close, '2')
---By @User_010101
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
---By @User_010101
plot_shape((high >= upper_band and emaa > upper_band),
"JEEF PUT",
shape_style.arrowdown,
shape_size.huge,
put_color,
shape_location.abovebar,
0,
"JEEF PUT",
put_color)
---By @User_010101

plot_shape((low <= lower_band and emaa < lower_band),


"JEEF CALL",
shape_style.arrowup,
shape_size.huge,
call_color,
shape_location.belowbar,
0,
"JEEF CALL",
call_color)

end
---By @User_010101

instrument{ name="JEEF JEEF (By @User_010101) Oficial",


short_name="JEEF",
icon="yellow",
overlay = true}
---By @User_010101
input_group { "JEEF", call_color = input{ default = "green", type = input.color } }
input_group { "JEEF", put_color = input{ default = "red", type = input.color } }

sec = security(current_ticker_id, "1s")

if sec and sec.open_time == open_time then


---By @User_010101
smaa = sma(close, '100')
upper_band = smaa + (stdev(close, 100) * 3.1)
lower_band = smaa - (stdev(close, 100) * 3.1)
---By @User_010101
emaa = ema(close, '2')
---By @User_010101
plot_shape((high >= upper_band and emaa > upper_band),
"JEEF PUT",
shape_style.arrowdown,
shape_size.huge,
put_color,
shape_location.abovebar,
0,
"JEEF PUT",
put_color)

---By @User_010101
plot_shape((low <= lower_band and emaa < lower_band),
"JEEF CALL",
shape_style.arrowup,
shape_size.huge,
call_color,
shape_location.belowbar,
0,
"JEEF CALL",
call_color)

end

You might also like