تحلیل تکنیکال saiedrasol412 درباره نماد GALA : توصیه به خرید (۱۴۰۴/۳/۳)

//version=5 strategy("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 > open isPinBarBear = (close - low) > 2 * (high - close) and close < open // سیگنالها longEntry = ta.crossover(emaFast, emaSlow) and rsi > 55 and (bullEngulf or isPinBarBull) and isAllowedTF and sessionFilter shortEntry = 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!")