PROTECTED SOURCE SCRIPT
Güncellendi Ultimate Orderflow: Diagonal hsitorical Liquidity

This Pine Script (v6) is a specialized Order Flow indicator designed to identify and track Diagonal Imbalances using Footprint data. It visualizes areas where aggressive buying or selling significantly outweighs the opposing side at a diagonal price level.Here is a breakdown of how the script functions and what it tells you:1. Core Logic: The "Diagonal Imbalance"The script uses the request.footprint() function to look inside each candle and see the volume traded at specific price levels (ticks). It compares:Buy Imbalance: Buying volume at a specific price level vs. Selling volume at the price level one step below it.Sell Imbalance: Selling volume at a specific price level vs. Buying volume at the price level one step above it.If the volume on one side is greater than the other by the Imbalance Ratio % (default is 300%, or 3:1), the script marks that price level as a zone of interest.2. Dynamic Zone TrackingUnlike static indicators, this script treats these imbalances as liquidity zones that persist over time:Extension: When an imbalance is found, the script draws a box that extends to the right indefinitely.Mitigation (Freezing): The script monitors whether future price action returns to these boxes.If "Stop extending once tagged" is on, the box stops extending as soon as the price touches it (mitigation).This helps you see which imbalances remain "open" (untouched) and which have been "filled."3. Key Components of the ScriptFeatureFunctionalityTicks Per RowSets the vertical resolution. A smaller number (e.g., 1 or 2) provides more detail; a larger number groups prices together.Imbalance RatioThe "aggressiveness" threshold. 300% means one side must be 3x larger than the other to trigger a zone.Memory ManagementUses a f_trim() function to ensure the script stays under TradingView’s limit of 500 drawing objects, preventing the script from crashing or slowing down.Tagging LogicYou can choose if a zone is "cleared" by a simple wick touch or if the candle must actually close inside the zone.4. How to Read It on Your ChartGreen Boxes: Represent Aggressive Buying. These often act as support levels where buyers showed significant strength.Red Boxes: Represent Aggressive Selling. These often act as resistance levels where sellers overwhelmed buyers.Extended Boxes: These are "Unmitigated" imbalances—price hasn't returned there yet. Traders often look for price to gravitate toward these zones to find liquidity.Summary for a TraderThis script is excellent for identifying Institutional Traps or Breakout Strength. If you see multiple buy imbalances stacked on top of each other, it indicates a very strong "Buy Wall." If price later returns to a long-standing unmitigated box, you might expect a reaction (bounce or rejection) at that level.
Sürüm Notları
updatedSürüm Notları
Daily 100 – 500 350% - 400% Focuses on major institutional "walls."4 Hour 40 – 100 300% - 350% Captures significant trend shifts.
1 Hour 10 – 20 300% The "Sweet Spot" for intraday levels.
5 Min 2 – 4 250% - 300% Scalping entries and micro-liquidity.
1 Min 1 (Minimum) 250% High noise; requires strict ratio to filter.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, ücretsiz ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgiyi buradan edinebilirsiniz.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, ücretsiz ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgiyi buradan edinebilirsiniz.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.