Script Value Signal
Script Value Signal
@indicadoresgratis
https://t.me/indicadoresgratis
@indicadoreschat
https://t.me/indicadoreschat
@comunidadgratis
https://t.me/comunidadgratis
--------------------------------
instrument {
name = 'VALUE SIGNAL TELEGRAM@INDICADORESGRATIS',
icon = 'indicators:BelkhayateTiming',
overlay = false
}
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
input_group {
"front.newind.barcolors",
up_color = input { default = "#2CAC40", type = input.color },
down_color = input { default = "#DB4931", type = input.color }
}
rect {
first = 0,
second = mad,
color = mad >= mad [1] and up_color or down_color,
width = 0.4
}
if
( mad <= 0 and ( mad[1] > mad) and (smaa < smab) and (smaao > smabo) and close <=
emaa ) then
plot_shape (1,
"Down",
shape_style.arrowdown,
shape_size.huge,
down_color,
shape_location.abovebar,
0,
" Down ",
1)
end
if
( mad >= 0 and (mad > mad[1]) and (smaa > smab) and close >= emaa and smaao <
smabo)
then
plot_shape (1 ,
"Up",
shape_style.arrowup,
shape_size.huge,
up_color,
shape_location.belowbar,
0,
"Up",
1)
end
function prev(s,i)
y=abs(round(i))
return s[y]
end
length = input(5, "Numero de Velas")
extTop = input(8, "Extreme Level Top")
extTop1 = input(9, "Extreme Level Top")
extBot = input(-5, "Extreme Level Bottom")
sigTop = input(5, "Significant Level Top")
sigmeio = input(0, "Significant Level Top")
sigBot = input(-8, "Significant Level Bottom")
sigBot1 = input(-9, "Significant Level Bottom")
fairTop = input(5, "Fair Value Top")
fairBot = input(-5, "Fair Value Bottom")
varp = round(length/5)
h_f = length > 7
plot_candle {
open = vopen,
high = vhigh,
low = vlow,
close = vclose,
candle_color = colorr
}
hline(extTop,"","red")
hline(extTop1,"","red")
hline(extBot,"","green")
hline(sigTop,"","red")
hline(sigmeio,"","gold")
hline(sigBot,"","green")
hline(sigBot1,"","green")
hline(fairTop,"","red")
hline(fairBot,"","green")
input_group { "ENG - UP COLOR", call_color = input { default="green", type =
input.color } }
input_group { "ENG - DOWN COLOR", put_color = input { default="red", type =
input.color } }
if ((close[1] < open[1]) and (close > open) and (close > high[1]) and close[1] >=
open) then
plot_shape(1,
'Bull_Engulfing',
shape_style.arrowup,
shape_size.huge,
call_color,
shape_location.belowbar,
0,
"COMPRE",
call_color )
else
if ((close[1] > open[1]) and (close < open) and (close < low[1]) and close[1]
<= open) then
plot_shape(1,
'Bear_Engulfing',
shape_style.arrowdown,
shape_size.huge,
put_color,
shape_location.abovebar,
0,
"VENDA",
put_color)
end
end