Technical analysis by saiedrasol412 about Symbol GALA: Buy recommendation (5/24/2025)

//version=5strategy("Precision Scalp Pro Mobile Light", overlay=true)// تنظیمات کاربرallowedTF = input.timeframe("5", title="تایمفریم مجاز")useTimeFilter = input.bool(false, title="فعالسازی فیلتر سشن؟")sessionStartHour = input.int(0, title="ساعت شروع سشن (GMT+3)", minval=0, maxval=23)sessionEndHour = input.int(23, title="ساعت پایان سشن (GMT+3)", minval=0, maxval=23)isAllowedTF = (timeframe.period == allowedTF)currentHour = hour(time, "GMT+3")inSession = (currentHour >= sessionStartHour and currentHour <= sessionEndHour)sessionFilter = useTimeFilter ? inSession : true// اندیکاتورهاemaFast = ta.ema(close, 9)emaSlow = ta.ema(close, 21)rsi = ta.rsi(close, 14)// کندلهاbullEngulf = close > open and open < open[1] and close[1] < open[1]bearEngulf = close < open and open > open[1] and close[1] > open[1]isPinBarBull = (high - close) > 2 * (close - low) and close > openisPinBarBear = (close - low) > 2 * (high - close) and close < open// سیگنالهاlongEntry = ta.crossover(emaFast, emaSlow) and rsi > 55 and (bullEngulf or isPinBarBull) and isAllowedTF and sessionFiltershortEntry = ta.crossunder(emaFast, emaSlow) and rsi < 45 and (bearEngulf or isPinBarBear) and isAllowedTF and sessionFilter// ورود خروج استراتژیif (longEntry) strategy.entry("Long", strategy.long)if (shortEntry) strategy.entry("Short", strategy.short)// نمایش EMA و سیگنالهاplot(emaFast, color=color.orange, title="EMA 9")plot(emaSlow, color=color.blue, title="EMA 21")plotshape(longEntry, title="Buy", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")plotshape(shortEntry, title="Sell", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")// هشدارهاalertcondition(longEntry, title="BUY Alert", message="Precision BUY Signal Triggered!")alertcondition(shortEntry, title="SELL Alert", message="Precision SELL Signal Triggered!")