Mr.Snake

Mr.Snake Chanell

Mr.Snake Atualizado   
229
Mr.Snake Chanell
Comentário:
Channel. Automatically shows the highs and lows, both local and global.
Knowing the previous high and at least you can predict the future price, the script indicates that for you.
You can change the weight and length and cross of your choice in the settings
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?
study("Mr.Snake Chanell", overlay=true)
Mr_Snake_Chanell = input("D")
Range = input(1)

SELL = security(tickerid, Mr_Snake_Chanell, highest(Range))
BUY = security(tickerid, Mr_Snake_Chanell, lowest(Range))

HI = plot(SELL, color=SELL!=SELL[1]?na:black,linewidth=1 )
LO = plot(BUY, color=BUY!=BUY[1]?na:black,linewidth=1 )
fill(HI, LO, color=white, transp=80)
Hcon = high >= SELL
Lcon = low <= BUY

plotshape(Hcon, style=shape.xcross, color=black, location=location.abovebar)
plotshape(Lcon, style=shape.xcross, color=black, location=location.belowbar)
range = SELL-BUY

Mr_Snake_Chanelli = input('W')
M_HIGH = security(tickerid, Mr_Snake_Chanelli, high)
M_LOW = security(tickerid, Mr_Snake_Chanelli, low)
plot(M_HIGH, color=M_HIGH != M_HIGH[1] ?na:blue, style=line, linewidth=2)
plot(M_LOW, color=M_LOW != M_LOW[1] ?na:blue, style=line, linewidth=2)
length = input(2)
hls = rma(hl2, length)
isRising = hls >= hls[1]