TradingView
Tio_Patinhas_BR
May 14, 2020 12:46 AM

Como instalar script Education

Bitcoin / TetherUSBinance

Description

Como proceder com a instalação de um script utilizando o editor PINE
Comments
Kamolezi
é pelo software da binance ou pelo navegador cara ? nao achei a opção editor pine no meu .
Tio_Patinhas_BR
@Kamolezi, no nosso canal do youtube temos um video mais detalhado, qualquer coisa me chame no pv que te passo o link do canal
MarcoCamargo
@Tio_Patinhas_BR, amigo, quero inserir um script na binance, qdo estou usando o tradingview e não localizei onde posso colar, pode me passar o link do canal onde explica como inserir um script dentro da binance
andersonmagalhaesbit
tentei adicionar a binance da um erro de version nao sei oque pode ser
Tio_Patinhas_BR
@andersonmagalhaesbit, funciona no TV
andersonmagalhaesbit
ainda funciona ?
Tio_Patinhas_BR
Segue o script.

//@version=3
// custom ma long short
study("MATRIX Short e Long", overlay=true)

a = vwma(close, 1) //white
b = vwma(close,10) //yellow
c = vwma(close, 11) //red

long_ma = cross(a, b) and b <= a
short_ma = cross(c, a) and a <= c

//take_profit = a<c-100 or a<b-300 and (short_ma) and (long_ma) // play here with these conditions

// Plotting
//plotshape(long_ma, "Up Arrow", shape.triangleup,location.abovebar,green,0,0)
//plotshape(short_ma, "Down Arrow", shape.triangleup,location.belowbar,red,0,0)

// Plotting
plotshape(long_ma, style = shape.arrowup, color = white, location = location.belowbar, text = "Long")
plotshape(short_ma, style = shape.arrowdown, color = yellow, location = location.abovebar, text = "Short")
//plotshape(take_profit, style = shape.circle, color = orange, location = location.belowbar, text = "Take Profit")
plot(a, title="1", color=white, linewidth=1)
plot(b, title="10", color=yellow, linewidth=1)
plot(c, title="11", color=red, linewidth=1)
// Alerts
alertcondition(long_ma, "Abrir Long", "Fechar Short e Abrir Long")
alertcondition(short_ma, "Abrir short", "Fechar Long e Abrir Short ")
Rui25487
Pode passar esse script?
Tio_Patinhas_BR
@Rui25487, vou postar nos comentarios aqui o script
Rui25487
@matrixscm, muito obrigado pela partilha do seu conhecimento com todos nós.
Bem haja!
More