Technical analysis by mmmmm1234567874 about Symbol FET on 6/30/2025

//version=5indicator("EMA 9/21 + RSI Strategy", overlay=true)// === Inputs ===emaShort = input.int(9, title="Fast EMA")emaLong = input.int(21, title="Slow EMA")rsiLength = input.int(14, title="RSI Length")rsiBuy = input.int(50, title="Minimum RSI for Buy")rsiSell = input.int(50, title="Maximum RSI for Sell")sl_pct = input.float(1.0, title="Stop Loss %", minval=0.1)tp_pct = input.float(1.5, title="Take Profit %", minval=0.1)// === Calculations ===ema1 = ta.ema(close, emaShort)ema2 = ta.ema(close, emaLong)rsi = ta.rsi(close, rsiLength)longCondition = ta.crossover(ema1, ema2) and rsi > rsiBuyshortCondition = ta.crossunder(ema1, ema2) and rsi < rsiSell// === Plot EMAs ===plot(ema1, color=color.green, title="EMA 9")plot(ema2, color=color.red, title="EMA 21")// === Plot Signals ===plotshape(longCondition, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.circle, size=size.small)plotshape(shortCondition, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.circle, size=size.small)// === Optional: Plot SL and TP levels after signal ===var float entryPrice = navar float stopLoss = navar float takeProfit = naif (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="Stop Loss", color=color.orange, style=plot.style_linebr, linewidth=1)plot(takeProfit, title="Take Profit", color=color.teal, style=plot.style_linebr, linewidth=1)