تحلیل تکنیکال mmmmm1234567874 درباره نماد FET در تاریخ ۱۴۰۴/۴/۹

//version=5 indicator("استراتژی EMA 9/21 + RSI", overlay=true) // === ورودیها === emaShort = input.int(9, title="میانگین متحرک نمایی سریع") emaLong = input.int(21, title="میانگین متحرک نمایی آهسته") rsiLength = input.int(14, title="طول RSI") rsiBuy = input.int(50, title="حداقل RSI برای خرید") rsiSell = input.int(50, title="حداکثر RSI برای فروش") sl_pct = input.float(1.0, title="درصد حد ضرر", minval=0.1) tp_pct = input.float(1.5, title="درصد حد سود", minval=0.1) // === محاسبات === ema1 = ta.ema(close, emaShort) ema2 = ta.ema(close, emaLong) rsi = ta.rsi(close, rsiLength) longCondition = ta.crossover(ema1, ema2) and rsi > rsiBuy shortCondition = ta.crossunder(ema1, ema2) and rsi < rsiSell // === نمایش EMAها === plot(ema1, color=color.green, title="EMA 9") plot(ema2, color=color.red, title="EMA 21") // === نمایش سیگنالها === plotshape(longCondition, title="سیگنال خرید", location=location.belowbar, color=color.green, style=shape.circle, size=size.small) plotshape(shortCondition, title="سیگنال فروش", location=location.abovebar, color=color.red, style=shape.circle, size=size.small) // === اختیاری: نمایش سطوح SL و TP بعد از سیگنال === var float entryPrice = na var float stopLoss = na var float takeProfit = na if (longCondition) entryPrice := close stopLoss := close * (1 - sl_pct / 100) takeProfit := close * (1 + tp_pct / 100) label.new(bar_index, close, "BUY", style=label.style_label_up, color=color.green) if (shortCondition) entryPrice := close stopLoss := close * (1 + sl_pct / 100) takeProfit := close * (1 - tp_pct / 100) label.new(bar_index, close, "SELL", style=label.style_label_down, color=color.red) plot(stopLoss, title="حد ضرر", color=color.orange, style=plot.style_linebr, linewidth=1) plot(takeProfit, title="حد سود", color=color.teal, style=plot.style_linebr, linewidth=1)