OPEN-SOURCE SCRIPT
Real of matrix OSC

Here is a complete, publication-ready description for your indicator. It is written to match the official TradingView House Rules for Script Publishing (which require a detailed explanation of what the script does, how it calculates its data, and how traders can use it).You can copy and paste this directly into your TradingView script description box.DescriptionOverviewThe Consolidated Real Footprint Matrix Oscillator (Real OF Matrix Osc) is an institutional-grade order flow and market structure toolkit built natively in Pine Script v6. Unlike traditional momentum indicators (like RSI or MACD) which rely purely on lagging price formulas, this indicator leverages TradingView’s premium, server-side transaction database (request.footprint) to reveal what is happening inside the order book in real-time.By analyzing the precise volume hitting the Bid vs. the Ask, the script isolates Institutional Aggression, catches Passive Limit Order Absorption, and anchors these events to key structural Supply and Demand Zones.How It Works & Core Architecture1. Server-Side Footprint Delta EngineThe oscillator calculates the pure, true exchange-level transaction delta by tracking transactions executed via market orders on the Ask (aggressive buyers) minus transactions on the Bid (aggressive sellers):$$\text{True Delta} = \text{Volume}_{\text{Ask}} - \text{Volume}_{\text{Bid}}$$A robust localized math proxy is implemented as an automated fallback if the asset class or chart type doesn't support lower-level tick footprints.2. Institutional Aggression TrackingThe indicator dynamically tracks when large institutional participants are aggressively forcing market orders through the book to sweep liquidity. An Aggression Signal triggers when volume surges past 130% of the 20-period volume moving average, heavily driving delta in the direction of the candle's close.3. Passive Volumetric Absorption EngineAbsorption happens when a massive institutional limit order block completely soaks up incoming market orders, capping price movement. The script isolates these "walls" by scanning for bars with high volume (>120% of average) but heavily compressed candlestick bodies (under 25% of the total high-low range). This unmasks big players building hidden structural walls.Visual Interface GuideThe Delta Line & Fill: Displays the rolling tide of aggressive buying (Green) vs. aggressive selling (Red).▲ Green Triangle (Bottom): Institutional Ask Aggression (Heavy market buying).▼ Red Triangle (Top): Institutional Bid Aggression (Heavy market selling)."W" Character (Yellow): An active Absorption Wall in an open trading range.The Consolidated Matrix Table (Bottom Left): A persistent 5-bar diagnostic panel that color-codes incoming data based on macro-structural context.Key Trading Strategies🔴 Bearish Reversal (Supply Wall Absorption)Setup: Price rallies into a key structural swing high (Supply Zone).Signal: The Matrix Table prints Red Text ("Heavy Absorp - Supply Area") or prints a yellow "W". The delta line is strongly positive, but the candle body is tiny and cannot close higher.Meaning: Aggressive retail buyers are FOMO-buying the top directly into a massive institutional passive sell limit wall.Execution: Short on the bar close, stop loss just above the supply zone high.🟢 Bullish Reversal (Demand Wall Absorption)Setup: Price dips down into an established swing low (Demand Zone).Signal: The Matrix Table prints Pink/Magenta Text ("Heavy Absorp - Demand Area"). The delta line is deeply negative, yet price refuses to break lower.Meaning: Panic sellers are dumping inventory directly into a massive institutional passive buy limit wall.Execution: Long on the bar close, stop loss just below the demand zone low.Settings & ConfigurationsVolume Lookback (Default 20): Sets the baseline for normal vs. institutional volume expansions.Absorption Max Body % (Default 25%): Adjusts how compressed a candle must be to qualify as an institutional passive wall. Lowering this filters for tighter, more precise "Doji-style" absorption blocks.Delta Smoothing (Default 1): Set to 1 for raw, instantaneous bar-by-bar order flow. Increase to smooth out market noise.Zone Pivot Lookback (Default 10): The number of bars required to confirm macro swing points for structural zones.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。