BINANCE:XRPUSDT   XRP / TetherUS
//@version=5
indicator('Ajab Alhajeri', overlay=true)
basePeriods = 26
donchian(len) => math.avg(ta.lowest(len), ta.highest(len))
baseLine = donchian(basePeriods)
dataUP = ta.wpr(8) > -10 and baseLine > open and baseLine < close
dataDN = ta.wpr(8) < -90 and baseLine > close and baseLine < open
plotshape(dataUP, style=shape.triangleup,
location=location.belowbar, color=color.green, size=size.normal)
plotshape(dataDN, style=shape.triangledown,
location=location.abovebar , color=color.red, size=size.normal)
plot(baseLine, color=color.blue, title="Kijun-Sen", linewidth=2)

Liknande idéer

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.