OPEN-SOURCE SCRIPT
Candle Footprint POC and Fair Value Area @MaxMaserati

Candle Footprint POC and Fair Value Area
Draws each candle's real footprint Point of Control (POC) and Value Area directly from tick-level volume data, sizes the POC box by how much volume it actually carried relative to recent bars, and flags candles where the visible price outcome disagrees with the underlying order flow.

─── WHY THESE COMPONENTS TOGETHER ───
A POC/Value Area box alone shows where volume concentrated but says nothing about whether the candle's close agreed with it. Delta alone shows net aggressive buying or selling but not where in the range it happened. Candle color alone shows only the surface result. Combined, the script flags a specific condition neither part shows alone: a candle whose visible color disagrees with its own volume-weighted center — for example a green candle closing on a net-bearish POC.
─── POC AND DIVERGENCE LOGIC ───
POC midpoint = (POC row upper price + POC row lower price) / 2, taken directly from the real footprint row that carried the most volume. Basic divergence = candle body direction disagrees with delta's sign. Strict divergence additionally requires the close to land on the wrong side of the POC or Value Area for that candle's direction.

─── HOW TO USE ───
1. Read the POC box color and position for the bar's highest-volume price.
2. Check the Delta label — it can disagree with the candle's own color, which is the point.
3. Enable a Basic Divergence filter to isolate candles where price and volume disagree, focus on sweeps.
4. Enable a Strict Divergence filter for a higher-conviction version requiring the close itself to confirm the disagreement.
5. Use the Extended Current POC line/box to project the most recent bar's high-volume price forward.
─── SETTINGS ───
Global Display Elements — master toggles for boxes, labels, and historical candle limiting.
Bullish/Bearish Settings and Filters — colors and standard close-vs-POC/VA conditions.
Bullish/Bearish Divergence Filters — Basic and Strict disagreement conditions.
Extended Current POC — style, border, and extension length.
Footprint and Scaling Configuration — row height, Value Area percentage, and volume-based box scaling.
─── NOTES ───
Requires a TradingView Premium or Ultimate plan for footprint data. All values reflect confirmed, closed bars only — no repainting. Footprint calculation is limited to the most recent N bars (Performance setting) to prevent slow chart loads. Alerts are available for all standard and divergence conditions.
Draws each candle's real footprint Point of Control (POC) and Value Area directly from tick-level volume data, sizes the POC box by how much volume it actually carried relative to recent bars, and flags candles where the visible price outcome disagrees with the underlying order flow.
─── WHY THESE COMPONENTS TOGETHER ───
A POC/Value Area box alone shows where volume concentrated but says nothing about whether the candle's close agreed with it. Delta alone shows net aggressive buying or selling but not where in the range it happened. Candle color alone shows only the surface result. Combined, the script flags a specific condition neither part shows alone: a candle whose visible color disagrees with its own volume-weighted center — for example a green candle closing on a net-bearish POC.
─── POC AND DIVERGENCE LOGIC ───
POC midpoint = (POC row upper price + POC row lower price) / 2, taken directly from the real footprint row that carried the most volume. Basic divergence = candle body direction disagrees with delta's sign. Strict divergence additionally requires the close to land on the wrong side of the POC or Value Area for that candle's direction.
─── HOW TO USE ───
1. Read the POC box color and position for the bar's highest-volume price.
2. Check the Delta label — it can disagree with the candle's own color, which is the point.
3. Enable a Basic Divergence filter to isolate candles where price and volume disagree, focus on sweeps.
4. Enable a Strict Divergence filter for a higher-conviction version requiring the close itself to confirm the disagreement.
5. Use the Extended Current POC line/box to project the most recent bar's high-volume price forward.
─── SETTINGS ───
Global Display Elements — master toggles for boxes, labels, and historical candle limiting.
Bullish/Bearish Settings and Filters — colors and standard close-vs-POC/VA conditions.
Bullish/Bearish Divergence Filters — Basic and Strict disagreement conditions.
Extended Current POC — style, border, and extension length.
Footprint and Scaling Configuration — row height, Value Area percentage, and volume-based box scaling.
─── NOTES ───
Requires a TradingView Premium or Ultimate plan for footprint data. All values reflect confirmed, closed bars only — no repainting. Footprint calculation is limited to the most recent N bars (Performance setting) to prevent slow chart loads. Alerts are available for all standard and divergence conditions.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
MMM : No body close (PO4), No Trade.
maxmaserati.com/
maxmaserati.com/
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
MMM : No body close (PO4), No Trade.
maxmaserati.com/
maxmaserati.com/
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.