instrument {overlay = true,
name = 'NINA',
short_name = 'NINA',
icon="nina:trader"}
input_group { "CALL - UP COLOR", call_color = input { default="#00FF00", type = input.color } }
input_group { "PUT - DOWN COLOR", put_color = input { default="#FF0000", type = input.color } }
if ((close[1] < open[1]) and (close > open) and (close > high[1]) and close[1] >= open) then
plot_shape(1,
'nina_Engulfing',
shape_style.arrowup,
shape_size.huge,
call_color,
shape_location.belowbar,
0,
"COMPRAR",
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,
"VENDER",
put_color)
end
end
Essa é para os feras.
Tenho um script para ser usado em operações binárias. Esse script da sinais para compra e venda de ativos. Bom...estou tentando adaptar um código para sempre que surgir o sinal de compra ou venda, ele dar um aviso sonoro de QQ áudio.
Segue o script que tenho.
Entendo quase nada dessa programação. Peguei esse script já pronto. Funciona bem. Alguém sabe se é possível adaptar isso e como fazer?