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)

Idées en relation

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.