1Copy the scriptPress Copy script above, or the copy button on the code below.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
31 lines of Pine Script v6 from public/indicators/instituteliquid.pine, published under Apache-2.0. Keep the author's credit and licence lines when you reuse it.
instituteliquid.pine
//@version=6
indicator("AAPL Institutional Liquidity Grid", overlay=true)
// Function: Draw persistence lines for levels
draw_level(price, color_in, width_in) =>
line.new(bar_index - 30, price, bar_index, price, color=color_in, width=width_in)
// 1. Identify Institutional "Order Block" levels using Pivots
ph = ta.pivothigh(high, 10, 10)
pl = ta.pivotlow(low, 10, 10)
if not na(ph)
draw_level(ph, color.new(color.red, 40), 2)
if not na(pl)
draw_level(pl, color.new(color.green, 40), 2)
// 2. Mean Reversion Lines (The "Fair Value" Channels)
sma20 = ta.sma(close, 20)
sma50 = ta.sma(close, 50)
line.new(bar_index - 10, sma20[10], bar_index, sma20, color=color.blue, width=3)
line.new(bar_index - 10, sma50[10], bar_index, sma50, color=color.orange, width=3)
// 3. Volatility/Range Midpoint Projection
range_high = ta.highest(high, 60)
range_low = ta.lowest(low, 60)
mid_point = (range_high + range_low) / 2
line.new(bar_index - 20, mid_point, bar_index, mid_point, color=color.white, width=1, style=line.style_dashed)
// 4. Trend Velocity Indicator
// Draws a line showing the steepness of the current price relative to 5 days ago
line.new(bar_index - 5, close[5], bar_index, close, color=color.purple, width=2)
Overview
AAPL Institutional Liquidity Grid identifies order block levels using pivot highs and lows, then draws mean reversion lines from the 20 and 50 period simple moving averages, a volatility range midpoint projection, and a trend velocity line showing price steepness relative to five bars ago. All elements are plotted directly on the price chart without any input settings, signals, alerts, or exit rules. The tool helps visualize potential support and resistance areas but repaints lines on new bars.
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This overlay indicator marks ICT liquidity void fills on the price chart and can show long and short signals. It places a Fibonacci level inside a displacement candle, defaulting to the midpoint, and draws lines in a chosen style. Optional filters limit the fi
This indicator maps market structure and supply and demand zones on the price chart. It marks validated and optional unvalidated swing highs and lows using a pivot length and extra confirmation bars. Consolidation and impulse moves are measured against ATR to
This indicator overlays options gamma-exposure levels, session VWAP bands, and intraday market structure tools directly on the price chart. It provides three modular components: strike walls with standard deviation bands and opening ranges, a gamma regime engi
This indicator combines six trading tools into a single chart overlay to optimize indicator limits. It calculates Bollinger Bands, projects weekend price boundaries, plots market structure elements like order blocks, breaker blocks, and MSB lines, marks New Yo
This indicator combines Centered Triangular Moving Average (TMA) bands offset by Average True Range (ATR) with Smart Money Concepts (SMC) market structure analysis on the price chart. It calculates upper, center, and lower bands alongside swing and internal ma
This overlay indicator scores liquidity-sweep reversals on the price chart. It looks for a swing high or low violation followed by a recovery close, then grades optional conditions such as RSI and structure into a 0–2 quality score with separate long and short