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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。