Mr.Snake

Mr.Snake Chanell

Mr.Snake Aggiornato   
229
Mr.Snake Chanell
Commento:
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 open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?
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]