تحلیل تکنیکال riverratred درباره نماد XLM در تاریخ ۱۴۰۴/۱/۲

//version=5 indicator("کندلهای RSI با نقاط ورود", overlay=false) // محاسبه RSI rsi = ta.rsi(close, 14) // پیگیری مقادیر OHLC مربوط به RSI var float rsi_open = na var float rsi_high = na var float rsi_low = na var float rsi_close = na if barstate.isnew rsi_open := rsi rsi_high := rsi rsi_low := rsi else rsi_high := math.max(rsi_high, rsi) rsi_low := math.min(rsi_low, rsi) rsi_close := rsi // تعریف سطوح ورود obLevel = 70 osLevel = 30 // شرایط ورود shortCondition = (rsi_high >= obLevel) and (rsi_close < rsi_open) longCondition = (rsi_low <= osLevel) and (rsi_close > rsi_open) // تنظیمات بصری candle_color = rsi_close > rsi_open ? color.green : color.red // رسم کندلهای RSI plotcandle(rsi_open, rsi_high, rsi_low, rsi_close, "کندلهای RSI", candle_color, candle_color) // رسم سیگنالهای ورود plotshape(shortCondition, style=shape.triangledown, color=color.red, location=location.abovebar, size=size.small, title="نقطه ورود فروش") plotshape(longCondition, style=shape.triangleup, color=color.green, location=location.belowbar, size=size.small, title="نقطه ورود خرید") // رسم خطوط راهنما hline(obLevel, "بیش خرید", color=color.red, linestyle=hline.style_dotted) hline(osLevel, "بیش فروش", color=color.green, linestyle=hline.style_dotted)