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

instrument{name="SUP/RES ADAO

TRADER",icon='https://scontent-gru1-2.xx.fbcdn.net/v/t1.6435-
9/216893019_104750195228532_2284339452781480853_n.jpg?_nc_cat=108&ccb=1-
5&_nc_sid=09cbfe&_nc_eui2=AeEvslqQ3-m3r-hC-
0anBi1Y1pTnc74GP5rWlOdzvgY_mveXPhCogJYmOROEIOVamfg&_nc_ohc=XQpc_jUVBQsAX8EEsmE&_nc_
ht=scontent-gru1-
2.xx&oh=c38fa7240be09748d627e6616ba14db5&oe=616601FA',overlay=true}

local function a()local


b=make_series()local c=high[2]

if not get_value(c)then
return b end;
local d=high<=c and high[1]<=c and high[3]<=c and high[4]<=c;
b:set(iff(d,c,b[1]))return b end;
local function e()local b=make_series()local c=low[2]if not get_value(c)then return
b end;
local d=low>=c and low[1]>=c and low[3]>=c and low[4]>=c;
b:set(iff(d,c,b[1]))return b end;
input_group{"Color",color=input{default="lime",type=input.color},width=input{defaul
t=1,type=input.line_width}}h=a()l=e()hline(h,"High",color,high_width)hline(l,"Low",
color,width)hline(highest(10)[1],"HH10",color,1)hline(lowest(10)
[1],"LL10",color,1)hline(highest(30)[1],"HH30",color,1)hline(lowest(30)
[1],"LL30",color,1)hline(highest(60)[1],"HH60",color,1)hline(lowest(60)
[1],"LL60",color,1)hline(highest(100)[1],"HH100",color,1)hline(lowest(100)
[1],"LL100",color,1)hline(highest(150)[1],"HH150",color,1)hline(lowest(150)
[1],"LL150",color,1)hline(highest(200)[1],"HH200",color,1)hline(lowest(200)
[1],"LL200",color,1)

You might also like