Voliom

indicator("فوليوم اختراق الهايكن آشي الأصفر 💡", overlay=false, precision=0)
// --- إعدادات المدخلات ---
length = input.int(3, "طول المتوسط") // تم تعديل الطول إلى 3
mom_limit = input.float(3.0, "حد الزخم الأقصى")
// --- دالة فحص شرط الهايكن آشي ---
f_check() =>
// جلب بيانات الهايكن آشي للسهم الحالي
[h_close, h_sma, h_roc] = request.security(ticker.heikinashi(syminfo.tickerid), timeframe.period, [close, ta.sma(close, length), ta.roc(close, length)])
is_y = ta.crossover(h_close, h_sma) and h_roc < mom_limit
is_y
is_yellow = f_check()
// --- منطق تلوين أعمدة الفوليوم الأصلي ---
upColor = color.new(#26a69a, 0) // أخضر
downColor = color.new(#ef5350, 0) // أحمر
// التلوين العادي (أخضر/أحمر) أو أصفر إذا تحقق الشرط
columnColor = is_yellow ? color.yellow : (close >= open ? upColor : downColor)
// رسم أعمدة الفوليوم
plot(volume, title="Volume", style=plot.style_columns, color=columnColor)
// --- خط الاختراق على الفوليوم ---
var float volLine = na
if is_yellow
volLine := volume
// رسم الخط الأصفر الأفقي (يظهر فقط عند وجود إشارة سابقة)
plot(volLine, color=color.yellow, style=plot.style_linebr, linewidth=2, title="خط اختراق السيولة")
// تم حذف سطر Volume MA الأزرق من هنا
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact qshm2030 directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact qshm2030 directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.