OPEN-SOURCE SCRIPT
BALAJEE Style: Liquidity & Volume POC

//version=5
indicator("Order Flow Delta - Footprint Style", overlay=true)
// --- Settings ---
showLabels = input.bool(true, "Show Volume Delta Labels")
highVolThreshold = input.float(1.5, "High Volume Alert (x Average)", step=0.1)
// --- Calculations ---
// Calculating "Delta" (Simple version: Volume * Direction)
float delta = (close > open) ? volume : -volume
float avgVol = ta.sma(volume, 20)
bool isHighVol = volume > avgVol * highVolThreshold
// --- Colors ---
// Professional "Muted" colors like the pros use
color bullColor = color.new(#089981, 0)
color bearColor = color.new(#f23645, 0)
color neutralColor = color.new(color.gray, 50)
// --- Visuals ---
// Color the candles based on Volume Delta
barcolor(delta > 0 ? bullColor : bearColor)
// Plot Delta Labels (The "Numbers" look)
if showLabels
label.new(bar_index, high, text=str.tostring(math.round(volume/1000, 1)) + "k",
style=label.style_none,
textcolor=delta > 0 ? color.green : color.red,
yloc=yloc.abovebar)
// Highlight Institutional Activity (Yellow dots for huge volume)
plotshape(isHighVol, "Institutional Vol", shape.circle, location.bottom, color.yellow, size=size.tiny)
// --- Trend Background ---
var float trendPOC = na
trendPOC := ta.vwap(close)
plot(trendPOC, "VWAP (Fair Value)", color=color.new(color.white, 70), style=plot.style_linebr)
indicator("Order Flow Delta - Footprint Style", overlay=true)
// --- Settings ---
showLabels = input.bool(true, "Show Volume Delta Labels")
highVolThreshold = input.float(1.5, "High Volume Alert (x Average)", step=0.1)
// --- Calculations ---
// Calculating "Delta" (Simple version: Volume * Direction)
float delta = (close > open) ? volume : -volume
float avgVol = ta.sma(volume, 20)
bool isHighVol = volume > avgVol * highVolThreshold
// --- Colors ---
// Professional "Muted" colors like the pros use
color bullColor = color.new(#089981, 0)
color bearColor = color.new(#f23645, 0)
color neutralColor = color.new(color.gray, 50)
// --- Visuals ---
// Color the candles based on Volume Delta
barcolor(delta > 0 ? bullColor : bearColor)
// Plot Delta Labels (The "Numbers" look)
if showLabels
label.new(bar_index, high, text=str.tostring(math.round(volume/1000, 1)) + "k",
style=label.style_none,
textcolor=delta > 0 ? color.green : color.red,
yloc=yloc.abovebar)
// Highlight Institutional Activity (Yellow dots for huge volume)
plotshape(isHighVol, "Institutional Vol", shape.circle, location.bottom, color.yellow, size=size.tiny)
// --- Trend Background ---
var float trendPOC = na
trendPOC := ta.vwap(close)
plot(trendPOC, "VWAP (Fair Value)", color=color.new(color.white, 70), style=plot.style_linebr)
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.