تحلیل تکنیکال behzad9905 درباره نماد ZEN در تاریخ ۱۴۰۴/۸/۲
شناسایی ورود و خروج نهنگها در بازار: استراتژی حجمی پیشرفته (کد تریدینگ ویو)

// نسخه =5 indicator("🐋 ردیاب ورود نهنگ", shorttitle="ورود نهنگ", overlay=true) // تنظیمات length = input.int(20, "میانگین حجم (کندل)") mult = input.float(2.5, "ضریب حجم غیرعادی") showLabels = input.bool(true, "نمایش برچسبها") // محاسبه میانگین حجم avgVol = ta.sma(volume, length) // شناسایی حجم غیرعادی whaleBuy = (volume > avgVol * mult) and (close > open) whaleSell = (volume > avgVol * mult) and (close < open) // نمایش فلشها و برچسبها plotshape(whaleBuy, title="ورود نهنگ", location=location.belowbar, color=color.new(color.green, 0), style=shape.triangleup, size=size.large) plotshape(whaleSell, title="خروج نهنگ", location=location.abovebar, color=color.new(color.red, 0), style=shape.triangledown, size=size.large) if showLabels label.new(bar_index, low, "ورود نهنگ 🐋", style=label.style_label_up, color=color.new(color.green, 80), textcolor=color.white, size=size.small) if whaleBuy label.new(bar_index, high, "خروج نهنگ 🚨", style=label.style_label_down, color=color.new(color.red, 80), textcolor=color.white, size=size.small) if whaleSell // رنگ پسزمینه برای هشدار عمومی bgcolor(whaleBuy ? color.new(color.green, 90) : whaleSell ? color.new(color.red, 90) : na)