Tomukas Elite SMCTomukas Elite SMC is a premium Smart Money Concepts strategy designed to focus on high-probability institutional setups instead of frequent signals.
The strategy combines three core concepts into a single trading framework:
Liquidity Sweeps
Market Structure Shift (MSS/BOS)
Fair Value Gap (FVG) Retracement
Rather than chasing price, the strategy waits for liquidity to be taken, confirms a genuine shift in market structure, and enters only after price retraces into an imbalance. This approach aims to filter out low-quality trades and improve overall consistency.
Key Features
Non-repainting signals
Higher-timeframe trend confirmation
Liquidity sweep detection
MSS/BOS confirmation using candle closes
Automatic Fair Value Gap detection
Session filter (London & New York)
ATR volatility filter
Built-in risk management
Break-even automation after TP1
Runner management for extended trends
Strategy Tester compatible
The strategy is designed for traders who value patience and precision over constant market participation. By waiting for multiple confirmations to align, it seeks to reduce false entries while maintaining favorable risk-to-reward opportunities.
Best suited for: Gold (XAUUSD), major Forex pairs, and indices on lower timeframes such as 1M, 3M, and 5M.
As with any trading strategy, no setup guarantees profits. Proper risk management, disciplined execution, and thorough testing are essential before using it with live capital. Strategy

COT Heatmap [invincible3]COT Heatmap
COT Heatmap is a professional Commitment of Traders dashboard designed to visualize historical positioning pressure between two selected markets, currencies, commodities, indices, or crypto futures. The indicator converts weekly COT positioning data into an easy-to-read heatmap table, allowing traders to compare Non-Commercial and Commercial positioning strength, extremes, long/short participation, and A-B spread pressure directly on the chart.
The tool is built for macro, forex, commodities, futures, and intermarket analysis. It can automatically detect the current chart symbol or allow the user to manually select Pair A and Pair B from a predefined COT market list.
-----------------------------------------------------------------------------------------------
Main Features
Historical COT heatmap table
Auto symbol detection from the chart
Manual Pair A / Pair B selection
Futures Only or Futures + Options data mode
Non-Commercial, Commercial, or Both participant modes
Separate metric control for Pair A and Pair B
Historical weekly values displayed by date
Adjustable table size, position, start date, and number of periods
Heatmap coloring for fast visual interpretation
Optional A-B positioning spread columns
-----------------------------------------------------------------------------------------------
Data Source
The indicator uses weekly COT data through PulseWire’s COT Library.
Available data modes:
Futures Only
Uses futures positioning data only.
Futures and Options
Uses combined futures and options positioning data.
The indicator uses Legacy COT report categories:
Non-Commercial Positions
Commercial Positions
Open Interest
All COT calculations are performed on the weekly timeframe.
-----------------------------------------------------------------------------------------------
Participant Modes
The indicator supports three participant display modes:
Non-Commercial Only
Shows speculative positioning metrics.
Commercial Only
Shows hedger/commercial positioning metrics.
Both
Shows both Non-Commercial and Commercial metrics side by side.
-----------------------------------------------------------------------------------------------
Core Positioning Formulas
For each selected market:
Open Interest
OI = Total Open Interest
Non-Commercial Net Position
NC Net = NC Long − NC Short
Commercial Net Position
Commercial Net = Commercial Long − Commercial Short
Long Change
Long Change = Current Long − Previous Week Long
Short Change
Short Change = Current Short − Previous Week Short
Net Change
Net Change = Long Change − Short Change
-----------------------------------------------------------------------------------------------
Long% and Short% Formulas
The indicator normalizes long and short positions against open interest.
Long Percentage
Long% = Long Positions / Open Interest × 100
Short Percentage
Short% = Short Positions / Open Interest × 100
These values show how much of total open interest is held on the long or short side by a specific participant group.
-----------------------------------------------------------------------------------------------
Flip% Formula
Flip% measures the net long/short bias as a percentage of open interest.
Flip%
Flip% = Long% − Short%
Interpretation:
Positive Flip% = participant group is net long
Negative Flip% = participant group is net short
Higher positive values show stronger bullish positioning
Lower negative values show stronger bearish positioning
Example:
If Non-Commercial Long% = 42%
and Non-Commercial Short% = 25%
Then:
NC Flip% = 42 − 25 = +17%
This means Non-Commercial traders are net long by 17% of open interest.
-----------------------------------------------------------------------------------------------
Difference Metrics
The indicator compares Non-Commercial and Commercial net positioning.
Non-Commercial Difference
NC Difference = NC Net − Commercial Net
This measures how strongly speculative positioning differs from commercial positioning.
Commercial Difference
Commercial Difference = Commercial Net − NC Net
This is the inverse view, useful when analyzing commercial hedger pressure.
-----------------------------------------------------------------------------------------------
Diff13 / Diff26 / Diff52 Formulas
The Diff columns are stochastic-style normalized scores of the positioning difference over different historical windows.
Stochastic Positioning Score
Stoch(X, Length) =
(X − Lowest(X, Length)) / (Highest(X, Length) − Lowest(X, Length)) × 100
If the range is zero, the value returns 50.
Where:
X = selected positioning series
Length = 13, 26, or 52 weeks
NC Diff13 *
NC Diff13 = Stoch(NC Difference, 13)
NC Diff26
NC Diff26 = Stoch(NC Difference, 26)
NC Diff52
NC Diff52 = Stoch(NC Difference, 52)
Commercial Diff13
Commercial Diff13 = Stoch(Commercial Difference, 13)
Commercial Diff26
Commercial Diff26 = Stoch(Commercial Difference, 26)
Commercial Diff52
Commercial Diff52 = Stoch(Commercial Difference, 52)
Interpretation:
Values near 100 show positioning is near the upper extreme of the selected lookback period
Values near 50 show neutral/mid-range positioning
Values near 0 show positioning is near the lower extreme of the selected lookback period
-----------------------------------------------------------------------------------------------
COT Index Formulas
The COT Index measures where current net positioning stands relative to its own historical range.
COT Index
COT Index =
(Current Net Position − Lowest Net Position over N weeks) /
(Highest Net Position over N weeks − Lowest Net Position over N weeks) × 100
If the range is zero, the value returns 50.
-----------------------------------------------------------------------------------------------
Non-Commercial COT Index
NC Index 52
NCIdx52 = Stoch(NC Net, 52)
This shows where current Non-Commercial net positioning stands within its 1-year range.
NC Index 156
NCIdx156 = Stoch(NC Net, 156)
This shows where current Non-Commercial net positioning stands within its 3-year range.
-----------------------------------------------------------------------------------------------
Commercial COT Index
Commercial Index 52
ComIdx52 = Stoch(Commercial Net, 52)
This shows where current Commercial net positioning stands within its 1-year range.
Commercial Index 156
ComIdx156 = Stoch(Commercial Net, 156)
This shows where current Commercial net positioning stands within its 3-year range.
-----------------------------------------------------------------------------------------------
A-B Spread Formulas
The indicator can also compare Pair A and Pair B positioning directly.
A-B Non-Commercial Flip%
A-B NC Flip% = Pair A NC Flip% − Pair B NC Flip%
A-B Commercial Flip%
A-B Commercial Flip% = Pair A Commercial Flip% − Pair B Commercial Flip%
Interpretation:
Positive A-B Flip% means Pair A has stronger positioning than Pair B
Negative A-B Flip% means Pair B has stronger positioning than Pair A
Useful for forex pair analysis, relative commodity analysis, and intermarket comparison
Example:
If EUR NC Flip% = +20%
and USD NC Flip% = +5%
Then:
EUR − USD NC Flip% = +15%
This suggests stronger speculative positioning in EUR relative to USD.
-----------------------------------------------------------------------------------------------
Heatmap Color Logic
The table uses color gradients to make positioning extremes easy to identify.
For score-based columns such as Diff13, Diff26, Diff52, NCIdx52, NCIdx156, ComIdx52, and ComIdx156:
High values move toward the positive color
Mid-range values move toward the neutral color
Low values move toward the negative color
Default colors:
Positive: Blue
Neutral: Pink
Negative: Red
For Long% columns:
Higher Long% is treated as stronger
Lower Long% is treated as weaker
For Short% columns:
Higher Short% is treated as weaker
Lower Short% is treated as stronger
For Flip% columns:
The heatmap uses a signed scale.
Signed Heatmap Normalization
Normalized Flip Value =
(Flip% + Flip Scale) / (2 × Flip Scale)
The value is clamped between 0 and 1.
Default Flip Scale = 35%
This means:
+35% or above = strong positive color
0% = neutral color
−35% or below = strong negative color
-----------------------------------------------------------------------------------------------
How to Read the Table
Each row represents one weekly COT snapshot.
The Date column shows the COT week.
Pair A and Pair B are displayed in separate grouped sections. Each section can include Non-Commercial metrics, Commercial metrics, or both, depending on user settings.
Important interpretation guidelines:
Diff13 / Diff26 / Diff52
Shows short-term, medium-term, and 1-year positioning extremes between Non-Commercial and Commercial groups.
NCIdx52 / NCIdx156
Shows whether speculative positioning is historically stretched or depressed.
ComIdx52 / ComIdx156
Shows whether commercial hedger positioning is historically stretched or depressed.
Long%
Shows the long-side participation as a percentage of open interest.
Short%
Shows the short-side participation as a percentage of open interest.
Flip%
Shows the net directional bias after subtracting short exposure from long exposure.
A-B Flip%
Shows relative positioning pressure between the two selected markets.
-----------------------------------------------------------------------------------------------
Example Use Cases
Forex Analysis
Use Pair A and Pair B to compare currency futures positioning.
Example:
Pair A = EUR
Pair B = USD
This allows EUR/USD positioning analysis using COT data.
Commodity Analysis
Compare metals, energy, or agricultural markets.
Example:
Pair A = Gold
Pair B = Silver
This helps identify relative speculative or commercial positioning strength.
Index Analysis
Compare equity index futures.
Example:
Pair A = NASDAQ
Pair B = S&P 500
This can help identify relative risk appetite and index positioning rotation.
Macro Sentiment Analysis
Use Non-Commercial positioning to track speculative crowding and Commercial positioning to observe hedging pressure.
-----------------------------------------------------------------------------------------------
Notes
COT data is weekly and is not designed for intraday signals. This indicator is best used as a macro positioning tool, sentiment confirmation tool, or higher-timeframe market context dashboard.
The heatmap does not generate direct buy or sell signals. Instead, it provides a structured view of positioning extremes, participant behavior, and relative strength between selected COT markets.
Extreme readings can remain extreme for long periods, so COT data should be combined with price action, trend structure, volatility, liquidity, and broader market context.
-----------------------------------------------------------------------------------------------
Summary
COT Historical Heatmap transforms weekly Commitment of Traders data into a clean, customizable, and visually intuitive positioning dashboard. By combining Net Positioning, Long%, Short%, Flip%, COT Index, Difference Scores, and A-B relative spread analysis, it helps traders understand how Non-Commercial and Commercial participants are positioned across major futures markets.
Indicator

Dynamic Visible AVWAPDynamic Visible AVWAP is a visible-range anchored VWAP tool designed to help traders read active price interaction with important visible swing areas.
The script automatically anchors AVWAP lines from the highest high and/or lowest low inside the currently visible chart range. This makes the tool dynamic: when the visible chart area changes, the anchors are recalculated from the new visible range.
Additional AVWAPs can be enabled with the AVWAP Count setting. When more than one AVWAP is selected, the script adds extra anchors from the next valid swing highs or swing lows. This allows multiple AVWAP references to be displayed at the same time, creating a clearer view of potential confluence zones.
Main features:
Dynamic AVWAP based on the currently visible chart range
Long, Short, or All display modes
Optional multiple AVWAPs per side
Optional deviation channels around each AVWAP
Optional channel fill
Separate style controls for AVWAP lines, channels, arrows, and anchor text
Optional anchor arrows and custom anchor label text
Adjustable text size for anchor labels
Optimized line budgeting to keep the script stable when multiple AVWAPs are displayed
How it can be used:
Dynamic Visible AVWAP can help identify areas where price is interacting with volume-weighted mean levels from important visible swing points. These levels may be useful for context, confluence, pullback analysis, trend continuation review, or mean-reversion observation.
Important note:
The anchors are based on the currently visible chart range. If you zoom, scroll, or change the visible area of the chart, the AVWAP anchors may change because the script recalculates the highest high, lowest low, and additional swing anchors from the new visible range.
This indicator should be used together with broader market analysis, such as structure, volume, liquidity, higher-timeframe levels, and personal risk management. Indicator

VWAP TrendVWAP Trend & Daily Map Execution by erdensedat
Description:
VWAP Trend is an advanced day-trading engine and market mapping tool designed for intra-day execution using purely objective price action metrics. Instead of relying on lagging oscillators, this indicator fuses VWAP (Volume Weighted Average Price) deviations, Daily Open levels, and an automated Previous Day High/Low (PDH/PDL) targeting system.
Key Features:
Dynamic Bias Engine: The indicator measures real-time alignment between the Daily VWAP and the Daily Open price. A "BULLISH PRESSURE" signal fires when price reclaims both key metrics, while a "BEARISH PRESSURE" signal fires when price breaks below them.
Smart Time Filter: Automatically ignores high-volatility chop during the initial hours of a session (default is set to hide major text signals before 07:00 exchange time).
Automated PDH/PDL Liquidity Targets: Previous Day Highs and Lows are tracked with a "Cut-on-Touch" system. When a signal is active, these levels act as objective take-profit zones. Once touched, the level is cut, and a "TARGET REACHED" label is placed automatically.
Multi-Timeframe Macro Dashboard: An unobtrusive, dark-mode compatible panel displays the macro environment (EMA 200 Main Trend, Weekly Bias, Weekly VWAP, Daily Bias) alongside live target levels.
Clean UI & 'Only Today' Mode: Avoid chart clutter. The indicator features an "Only Today" toggle that completely erases previous days' lines, bands, and signals every day at midnight, leaving you with a perfectly clean chart for the current session.
How to Use:
Observe the Main Dashboard for Macro Alignment (Weekly Bias & EMA 200).
Wait for the designated trading hour to begin (e.g., 07:00).
Look for a Bullish / Bearish Pressure alert (indicated by clean, background-free text and arrow markers).
Target the active PDH or PDL lines shown on the chart.
Alerts:
Includes a single, unified alert condition ("VWAP Trend Signal") that dynamically pushes "Bullish Pressure" or "Bearish Pressure" notification text upon bar close.
Disclaimer:
Disclaimer: The "VWAP Trend" indicator by erdensedat is provided for educational and informational purposes only. It is not financial advice, and you should not construct it as such. Trading in financial markets (including cryptocurrencies, forex, and equities) involves a significant risk of loss and is not suitable for all investors. Past performance of any trading system or methodology is not necessarily indicative of future results. Always conduct your own research and manage your risk. Indicator

Banks Order BlocksBanks Order Blocks (BOB) with Dynamic Volume Tracking
Overview
The Banks Order Blocks (BOB) indicator is a highly advanced price action and volume analysis tool designed to identify significant supply and demand zones where institutional players (banks, market makers) are likely stepping into the market. Unlike traditional order block indicators that merely draw static boxes, BOB dynamically tracks market volume inside the order block zones bar-by-bar, giving you a real-time visualization of buying and selling pressure exactly where it matters most.
Key Features & The Core Mechanic
Dynamic Volume Bars: Whenever an order block is active or price returns to it, volume bars are drawn directly attached to the block. This allows you to visually gauge whether the market is defending the zone with high volume or abandoning it.
Smart State Management: The indicator intelligently manages "Active" and "Passive" blocks. When a new Bullish block forms, it becomes the Active one. If price action later dips back into an older, Passive block, the indicator instantly clears the old, cluttered volume data of that passive block and starts printing fresh volume bars from the exact candle that re-entered the zone. This is the core mechanic—you only see the volume that is relevant right now during a retest of conflicting zones.
Built-in Alerts: Stay informed with automated alerts for new order block formations, price re-entering a block, and high-volume directional candles forming inside a block.
Mid-line (0.5 Level) Tracking: Each block includes a dynamically drawn 50% (Equilibrium) dotted line, a critical level often defended by institutions.
How to Trade with BOB (Setup Guide)
1. The Primary Setup (Trend Continuation / Reversal)
Wait for a New Order Block to form (Green for Bullish/Demand, Red for Bearish/Supply).
Watch for the price to retrace and re-enter the active zone.
Confirmation: Look at the volume bars generating inside the block. A successful defense of a Bullish Order Block should show green volume bars heavily outweighing red ones, especially crossing above the local volume moving average (indicated by solid, non-transparent colors).
Entry: Enter on a high-volume directional candle closing inside or pushing away from the order block.
Invalidation: If a candle closes below the bottom of a Bullish block (or above a Bearish block), the thesis is invalidated, and the indicator will automatically delete the block.
2. The Clashing Zones Setup (Advanced Tactics)
Sometimes price action escapes an Active Bullish block and enters a higher, older Bearish block.
Because of BOB's Smart State Management, as soon as the price enters the opposing older block, fresh volume bars will start generating inside that specific zone.
Confirmation: You now have a real-time tug-of-war. Watch the volume bars forming in both the active and the passive block. Enter in the direction of the block that is printing aggressive, high-volume (solid color) bars, confirming institutional defense.
Customization
Pivot Length: Adjust the sensitivity of order block detection.
Optional Overlays: Easily toggle VWAP or various Moving Averages (SMA, EMA, WMA, RMA) directly from the settings to add confluence to your entries.
Disclaimer
The information and tools provided by this script are for educational and informational purposes only and do not constitute financial or investment advice. Trading in financial markets involves a high degree of risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own research and consult with a certified financial advisor before making any trading decisions. The author is not responsible for any financial losses incurred while using this indicator. Indicator

Smart Money Concepts Order Blocks, Liquidity [LunqFX]Smart Money Concepts — Order Blocks & Liquidity
A professional-grade SMC indicator that answers the three
questions every trader needs before entering a trade:
① What is the current trend?
② Where is the key institutional zone?
③ Is price at that zone right now?
📋 HOW TO USE — STEP BY STEP
The indicator works as a 3-step confirmation system.
Do not enter a trade unless all 3 align.
STEP 1 — READ THE TREND (panel header)
Look at the panel in the top-right corner.
▲ BULLISH → only look for LONG setups
▼ BEARISH → only look for SHORT setups
If the gauge bar shows less than 40% or more than 60%
— the bias is strong. Between 40–60% = no clear edge,
reduce position size or wait.
STEP 2 — WAIT FOR STRUCTURE EVENT
• BOS appears → trend continuation confirmed.
The market broke a key level and is likely to continue.
Look for entries in the direction of the break.
• CHoCH appears → trend is reversing.
This is the earliest signal of a new trend forming.
Higher risk, higher reward — wait for Step 3 to confirm.
Rule: never trade against the last structure signal.
STEP 3 — WAIT FOR PRICE TO RETURN TO THE OB ZONE
After BOS or CHoCH fires, an Order Block zone is drawn
on the chart (blue = bullish, pink = bearish).
Wait for price to pull back INTO that zone.
When price enters the zone:
→ The zone border brightens (active glow effect)
→ The panel "Zone" row shows ▲ BULL OB or ▼ BEAR OB
→ Candle color changes to the zone color
This is your entry window.
✅ FULL SETUP EXAMPLE (LONG)
1. Panel shows ▲ BULLISH
2. CHoCH or BOS fires bullish — structure confirmed
3. Blue Order Block zone is drawn below current price
4. Price pulls back into the blue zone
5. Panel Zone row shows "▲ BULL OB"
6. Enter long — Stop Loss below the OB zone bottom
7. Target: next swing high or previous resistance
✅ FULL SETUP EXAMPLE (SHORT)
1. Panel shows ▼ BEARISH
2. BOS fires bearish — downtrend continuation
3. Pink Order Block zone is drawn above current price
4. Price pulls back up into the pink zone
5. Panel Zone row shows "▼ BEAR OB"
6. Enter short — Stop Loss above the OB zone top
7. Target: next swing low or previous support
⚠️ WHAT TO AVOID
✗ Don't enter on the BOS/CHoCH candle itself —
wait for the pullback to the OB zone
✗ Don't trade a swept (faded/dashed) zone —
it was already mitigated, its edge is gone
✗ Don't fight the trend — if panel says BEARISH,
don't look for longs no matter how good it looks
✗ High ATR (volatile) = widen your stop loss
or reduce position size accordingly
🔷 ORDER BLOCKS
Automatically detects bullish and bearish Order Blocks —
the last opposing candle before a Break of Structure.
Zones use a 2-band gradient (dense core + lighter outer)
to visualize institutional demand and supply areas.
• Active glow: border brightens when price enters the zone
• Swept zones: automatically fade to dashed when mitigated
• Age-based cleanup: old zones removed after set bar count
• Mitigation mode: choose Close or Wick for zone removal
📐 BREAK OF STRUCTURE (BOS) & CHANGE OF CHARACTER (CHoCH)
BOS confirms trend continuation. CHoCH signals a trend
reversal. Only the most recent signal is displayed —
CHoCH automatically clears stale BOS, and BOS clears
stale CHoCH. No visual clutter.
• BOS: dashed line at broken structure level
• CHoCH: solid line with arrow label at pivot bar
• No repaint: all signals fire on confirmed closed candles only
💧 LIQUIDITY — Equal Highs / Equal Lows
Detects EQH and EQL liquidity pools — price levels where
stop-losses cluster. Marks them with dotted lines so you
can anticipate smart money liquidity sweeps.
⚡ FAIR VALUE GAPS (FVG)
Identifies bullish and bearish imbalance zones (3-candle
gaps). Optional — hidden by default to keep the chart clean.
Enable in settings when imbalance confluences matter.
🎨 MOMENTUM GRADIENT CANDLES
Every candle is colored by momentum strength relative to
the last 30 bars. Weak candles = dark muted shade. Strong
impulse candles = vivid bright color. Structure events
(CHoCH/BOS) override with accent colors.
📊 LIVE DASHBOARD PANEL
Top-right panel shows at a glance:
• Trend bias (BULLISH / BEARISH) + visual gauge bar
• Last BOS and CHoCH direction and time
• Current zone status (price inside OB?)
• Active Order Block count per side
• Last confirmed Swing High and Swing Low prices
• ATR(14) with volatility label (LOW / NORMAL / HIGH)
• No Repaint confirmation
✅ NO REPAINT — CONFIRMED CLOSE ONLY
All pivot detections use ta.pivothigh() / ta.pivotlow()
with confirmed lookback. All BOS/CHoCH signals require
barstate.isconfirmed. What you see is what happened —
no repainting, no false signals on open candles.
⚙️ SETTINGS
Structure:
• Swing Length (3–30 bars)
• Max BOS / CHoCH lines shown
• BOS line length
• Show/hide swing pivot markers
Order Blocks:
• Max OBs per side
• Max age in bars
• Swept zone display + age
• Mitigation mode: Close or Wick
Display:
• Momentum candle coloring on/off
• Dashboard panel on/off
• Fair Value Gaps on/off
• Equal H/L liquidity on/off
Works on all instruments and timeframes.
Best used on: Forex, Gold (XAUUSD), Indices, Crypto.
Recommended timeframes: 15m, 30m, 1H, 4H, 1D.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Indicator

AMD Absorption | AnonycryptousAmd Absorption | Anonycryptous
Description & user manual
Why this indicator is different
Most AMD indicators do the same thing. They draw a box for Asia, a box for London, a box for New York, and call it a cycle. They show you where the sessions are. They do not show you what is happening inside them.
Amd Absorption works differently.
It detects the full accumulation-manipulation-distribution cycle mechanically, bar by bar, within whatever session windows you define. It does not assume the cycle follows a fixed schedule. It finds it where it actually forms. And it only confirms a signal when the manipulation sweep shows evidence of institutional absorption — high volume on a bar that barely moves. That is the difference between a sweep that fails and a sweep that leads somewhere.
Most traders can look at a chart in hindsight and identify an AMD cycle. The challenge is identifying it in the moment, on any asset, at any time. That is what this indicator is built to do.
It works on every instrument. Crypto, futures, forex, stocks, commodities. The session windows, detection parameters, and absorption thresholds adapt to the asset class through a preset system. The same logic that detects a liquidity sweep on a bitcoin five-minute chart detects it on a gold two-minute chart, a nasdaq futures one-minute chart, or a forex fifteen-minute chart.
Important notice
Amd Absorption generates trading signals based on pattern detection and volume analysis.
These signals are not financial advice.
They do not predict the future.
They do not guarantee profitability.
All trading decisions are made entirely by the user.
Always manage your own risk. Always apply your own judgment.
1. Overview
Amd Absorption is a cycle detection and entry timing indicator built around three phases of price behavior: accumulation, manipulation, and distribution.
What it includes:
- Mechanical AMD cycle detection within configurable session windows
- Absorption filter on the manipulation bar using volume and body/range analysis
- Five asset class presets with individually tuned detection parameters
- Three-phase candle coloring showing accumulation, manipulation, and distribution in real time
- Absorption dot markers on qualifying manipulation bars
- Distribution target box with configurable stop loss mode and risk/reward ratio
- Volume-weighted price levels as structural reference and target zones
- Vertical session boundary lines at open and close
- Configurable session background colors
- Live dashboard showing session status, preset, last signal, and absorption statistics
- Alerts for bull and bear setups
2. The AMD cycle
2.1 Accumulation
A defined period of price compression. The market moves within a narrow range while smart money builds a position. Amd Absorption detects this as a rolling high-low range falling below a configurable percentage threshold over a set lookback period. During this phase, candles are colored gray.
2.2 Manipulation
After accumulation, price sweeps beyond the range boundary — above the high for a bearish setup, below the low for a bullish setup. This is the liquidity grab. Market orders resting beyond the range are collected. Stops are hit. Retail traders enter in the wrong direction. During this phase, candles are colored in the direction of the sweep — red for a bear sweep, green for a bull sweep.
2.3 Distribution
The real move begins. Price reverses from the sweep extreme and creates a fair value gap — a three-candle imbalance confirming displacement. The signal fires. A distribution target box is drawn from the entry close to the calculated take profit level. Candle coloring continues in the signal direction for the duration of the distribution box, then stops automatically.
The cycle can repeat multiple times within a single session. There is no hard limit on setups per session.
- A note on signal quality versus cycle validity
An AMD cycle that does not produce a signal triangle can still play out fully. The triangle means the manipulation bar showed mechanical absorption — volume confirmed, body was small. That is additional evidence of institutional presence at the sweep level. It raises conviction. It does not make setups without it invalid. Many clean AMD cycles complete without a qualifying absorption bar. The candle coloring will show the full cycle regardless. The triangle is a quality filter, not the only valid setup.
3. The absorption filter
The absorption filter is what separates Amd Absorption from a standard cycle detector.
A manipulation sweep can occur for many reasons. Not every sweep leads to a reversal. The ones that do tend to share a specific characteristic on the sweep bar itself: high volume combined with a small candle body relative to the bar's range.
This pattern means price moved far on heavy participation — a big wick — but the bar closed near where it opened. Something was absorbing the selling or buying pressure. The move did not follow through. That is absorption. It is the mechanical fingerprint of institutional defense of a level.
When the absorption filter is enabled, the signal only fires if the manipulation bar meets both conditions: volume above a configurable multiple of the rolling average, and a body-to-range ratio below a configurable threshold. Bars that qualify are colored in the absorption color and marked with a dot above or below the candle.
The filter can be disabled. With the filter off, every valid AMD + FVG pattern fires a signal. With it on, only the setups with volume confirmation fire. The trade-off is signal frequency versus quality.
4. Presets
Presets automatically configure the four core detection parameters — accumulation lookback, maximum range width, absorption volume multiplier, and absorption body ratio — for each asset class.
Crypto
Lookback: 15 bars. Range: 1.20%. Volume multiplier: 1.2×. Body ratio: 0.55.
Wider range tolerance for volatile 24/7 markets. Looser volume threshold because crypto volume behavior differs from traditional markets.
Futures
Lookback: 20 bars. Range: 0.40%. Volume multiplier: 1.4×. Body ratio: 0.45.
Tight range detection for institutionally driven instruments. Higher volume requirement to match the tick-level precision of futures order flow.
Forex
Lookback: 25 bars. Range: 0.25%. Volume multiplier: 1.3×. Body ratio: 0.50.
Longest lookback and tightest range for the slow, deliberate consolidations common in major pairs. Moderate volume threshold.
Stocks
Lookback: 22 bars. Range: 0.50%. Volume multiplier: 1.4×. Body ratio: 0.50.
Balanced settings between futures and forex. Works across individual equities and equity indices.
Commodities
Lookback: 22 bars. Range: 0.35%. Volume multiplier: 1.4×. Body ratio: 0.50.
Designed for gold, silver, oil, and similar instruments. Tighter than forex but more tolerant than futures. Handles institutional spikes well.
Custom
All four parameters are set manually in the Amd Logic and Absorption Filter groups. Use this when the presets do not match the behavior of a specific instrument or timeframe combination.
Note: the manipulation search window, FVG size filter, and ATR length are always set manually regardless of preset. These three parameters are active for all presets and can be adjusted freely.
5. Sessions
Amd Absorption detects AMD cycles only within active session windows. Outside of sessions, no accumulation is tracked, no sweeps are detected, and candle coloring is inactive. This prevents false setups forming during off-hours thin markets.
Three sessions are configurable: Asia, London, and New York. Each session has an independent toggle, a clock-picker for start and end time, and a background color. All session times are entered in your selected timezone, which can be set to any UTC offset from UTC-12 to UTC+12.
A thin vertical line marks both the opening and closing of each active session. This gives you a clear visual boundary for each session's cycle. The opening line and closing line use the same configurable color.
6. Distribution box
When a signal fires, a distribution target box is drawn from the entry bar forward. The box represents the expected move from entry to take profit.
Two stop loss modes are available:
Atr mode
Stop loss distance is calculated as ATR × the configured multiplier. This gives a consistent distance across all setups regardless of the exact FVG size. Useful for instruments where ATR matches your natural stop placement.
Fvg structure mode
Stop loss is placed at the outer edge of the FVG candle — above the FVG high for a bear setup, below the FVG low for a bull setup. This uses the actual market structure as the invalidation point, which is how many practitioners manage stops on this type of setup.
The take profit is calculated as: entry ± stop distance × RR ratio. The default ratio is 2.0, giving a 1:2 reward-to-risk setup. The ratio is adjustable.
The box width is fixed in bars. It does not track price. When the configured number of bars elapses, candle coloring for the distribution phase stops automatically. For position sizing and stop management, Risk Management Engine by Anonycryptous can be used alongside this indicator.
7. Price levels
Volume-weighted pivot highs and lows are drawn as horizontal reference lines. Pivot highs above current price act as resistance. Pivot lows below current price act as support. Each level shows its exact price value.
Line appearance reflects volume strength. A stronger volume reading at the pivot produces a more visible glow layer. Weaker pivots are more subdued.
Levels disappear automatically when price touches them. The maximum number of visible levels is configurable. These levels serve as structural context and potential distribution targets for confirmed signals.
8. Candle coloring
Amd Absorption colors candles to show the current phase of the cycle. The coloring is active only within session windows.
Gray — accumulation phase. Price is consolidating within the detected range.
Red (bear) or green (bull), dim — manipulation phase. A sweep has been detected and the indicator is searching for a confirming FVG. Colors the sweep candles and any subsequent candles until the FVG fires or the search window expires.
Absorption color (default purple) — absorption bar. A candle within the manipulation phase that meets both volume and body conditions. Also marked with a dot above or below the bar.
Red (bear) or green (bull), dim — distribution phase. Fires from the signal bar and continues until the distribution box width elapses.
Priority: absorption color overrides distribution, which overrides manipulation, which overrides accumulation.
9. Dashboard
The dashboard shows:
- Session — current active session or off
- Preset — active asset preset
- Last signal — direction of the most recent confirmed signal
- Last session — which session the last signal occurred in
- Abs / setups — absorption-confirmed signals vs total AMD setups detected
- Abs filter — whether the absorption filter is on or off
- Accumulation — current accumulation state: active, searching, or none
Position is configurable: top left, top right, bottom left, or bottom right. Size is configurable: tiny, small, or normal.
10. Settings reference
10.1 Sessions
- Timezone — utc offset for session time entry
- Asia / London / New York — toggle, time picker, background color per session
- Show session open lines — vertical lines at session open and close
- Session line color
10.2 Preset
- Asset preset — crypto / futures / forex / stocks / commodities / custom
10.3 Amd logic
- Accumulation lookback — bars used to measure consolidation range (custom only)
- Max accumulation range (%) — maximum range width to qualify (custom only)
- Manipulation search window — bars to search for a sweep after accumulation
- Min fvg size (atr multiplier) — minimum gap size for distribution confirmation
- Atr length — period for atr calculation
- Sl mode — atr or fvg structure
- Sl atr multiplier — stop distance multiplier in atr mode
- Rr ratio — reward-to-risk ratio for the distribution box
- Distribution box width (bars) — fixed bar width of the distribution target box
10.4 Absorption filter
- Enable absorption filter — toggle on/off
- Min volume multiplier — minimum volume relative to average (custom only)
- Max body/range ratio — maximum body-to-range ratio (custom only)
- Volume average length — lookback for rolling volume average
10.5 Price levels
- Show price levels — toggle on/off
- Pivot lookback — bars left and right to confirm a pivot
- Min volume multiplier — minimum volume at the pivot bar
- Volume average length — lookback for volume average
- Support level color — color for pivot lows
- Resistance level color — color for pivot highs
- Max levels shown — maximum number of visible levels
10.6 Visuals
- Show accumulation box
- Show manipulation box
- Show fvg box
- Show entry signal
- Bull color — color for bullish setups and signals
- Bear color — color for bearish setups and signals
- Absorption color — color for absorption bar highlight and dot
- Distribution color — candle color during the distribution phase
10.7 Dashboard
- Show dashboard
- Position
- Size
11. How to use
11.1 Initial setup
1. Select the preset that matches your instrument.
2. Set your timezone to match your location or preferred session reference.
3. Enable the sessions you trade. Set the times to match the actual session opens for your timezone.
4. Choose a stop loss mode. Fvg structure is the more precise option. Atr is more consistent if FVGs on your timeframe vary significantly in size.
5. Set your RR ratio. Default 2.0 is a starting point — adjust to your own risk management rules.
6. If using the custom preset, start with the preset values as a reference and tune from there.
11.2 Reading the chart
Look at the session background. Once a session opens, accumulation detection begins.
When candles turn gray, accumulation is active. The indicator has found a range that qualifies as consolidation. This is the waiting phase.
When candles turn red or green, a sweep has been detected. The indicator is now looking for a confirming FVG. This is the alert phase — something is happening.
When a purple (or absorption-colored) candle appears with a dot, the sweep bar showed absorption. This is the highest-quality moment within the manipulation phase. A signal is likely imminent if a FVG forms on the next bars.
When a signal triangle fires, the full AMD cycle has confirmed with FVG and absorption. The distribution box appears showing the entry level and target.
11.3 Illustrative bull scenario
Educational example only. Not a trading recommendation.
Session opens. Candles turn gray — accumulation detected between two levels. After several bars, price dips below the accumulation low on a high-volume candle that closes near its open. The candle colors purple. A dot appears below it. Two bars later, a gap forms above — price has displaced back through the range. A green triangle fires below the entry bar. The distribution box extends to the right showing the 1:2 target. A support level line sits just below the sweep low confirming the structural context.
11.4 Illustrative bear scenario
Educational example only. Not a trading recommendation.
Session opens in London. Candles turn gray — a tight consolidation forms. Price spikes above the range high on elevated volume. The spike candle has a large wick and closes back below the high — body is less than 40% of the bar range. The candle turns purple. A dot appears above it. A FVG opens below. A red triangle fires above the entry bar. The distribution box drops from entry toward the calculated take profit. A resistance level hovers just above the sweep high.
11.5 Using the absorption filter
With the filter on, the signal only fires when the manipulation sweep bar shows mechanical absorption. This reduces total signals but increases the average quality of what does fire. The dashboard shows abs / setups — how many confirmed absorptions versus total AMD patterns detected. A ratio of 1/5 is normal. The filter is stricter by design.
With the filter off, every valid AMD + FVG pattern produces a signal regardless of volume. Use this to explore how many setups form on your instrument before deciding whether the absorption requirement is helping or filtering too aggressively.
Regardless of filter setting, the candle coloring always shows the full AMD cycle. A setup without a triangle is still visible through the gray accumulation, the colored manipulation phase, and the FVG box. Traders who want to act on every AMD cycle can use the visual coloring as their cue and treat the triangle as an additional confirmation rather than a requirement.
11.6 Timeframe guide
- 1m–3m: scalp setups. Absorption filter on. Tight preset (futures or commodities).
- 5m–15m: intraday setups. All presets apply. Standard settings.
- 30m–1h: swing context. Manipulation window and accumulation lookback can be increased.
- 4h and above: macro context only. Signals will be infrequent. Use to identify major cycle pivots.
12. Tips
The manipulation search window is your primary tuning lever. If the indicator misses setups you can see visually, increase the manipulation window. If it produces setups that do not look like genuine sweeps, tighten the range width or increase the volume multiplier.
The absorption filter is directional. A bear sweep that qualifies will have a large upper wick and a small body. A bull sweep that qualifies will have a large lower wick and a small body. If you see a purple dot on a bar with a small wick, the volume threshold is too low — raise the min volume multiplier.
Price levels are structural context, not signals. Use them to assess whether a distribution target has a logical resting point — a prior support or resistance level aligned with the take profit zone strengthens the setup.
Multiple AMD cycles can form within a single session. The state resets after each completed cycle. If an accumulation forms but no sweep follows within the search window, the state clears automatically and the indicator waits for the next consolidation.
Candle coloring stops at the session close. If candles outside the session boundaries show unexpected colors, check that your session times are correctly set for your timezone.
13. Disclaimer
This indicator is provided for educational and informational purposes only. Nothing in this document constitutes financial advice or any form of recommendation. Trading financial instruments involves substantial risk of loss. Past performance is not indicative of future results. You may lose all of your invested capital.
Anonycryptous accepts no responsibility or liability for any losses incurred as a result of using this indicator.
Indicator

Institutional Zone Mapper [JOAT]Institutional Zone Mapper
Introduction
Institutional Zone Mapper is an open-source overlay indicator that detects swing-pivot order blocks — the last impulsive candle preceding a significant price displacement — and renders them as persistent box-based zones with session-color-coded borders, a four-component strength score from 0 to 10, touch-count tracking, and a configurable mitigation lifecycle. The indicator identifies the candle immediately before a confirmed swing pivot, verifies that a meaningful ATR-scaled displacement followed, and places a zone around that candle's midpoint. Zones are born with a strength score derived from displacement magnitude, session context, age, and zone height — allowing traders to instantly distinguish premium, high-conviction zones from weak, low-probability ones.
The core problem this indicator solves is that most order block tools place zones mechanically without quality filtering, flooding the chart with dozens of marginal levels that have little predictive value. The IZM's four-component scoring system ensures only zones with meaningful institutional characteristics survive on the chart. A minimum strength filter removes everything below the user-defined threshold, and the mitigation system automatically removes, stops extending, or fades zones that have been closed through — maintaining a clean, current map of active supply and demand.
Core Concepts
1. Swing Pivot Detection
The indicator uses ta.pivothigh and ta.pivotlow with a configurable swing length. A pivot high confirmed at bar_index means a price high existed swingLen bars ago that was higher than the swingLen bars on either side of it. When a pivot low is confirmed, the indicator looks back through a configurable candle lookback window to find the last bearish close candle before that pivot — this is the bullish order block candidate. The displacement check ensures the move from that candle to the pivot was at least ATR * dispMult, filtering out low-momentum pivots that are unlikely to represent genuine institutional accumulation.
2. Four-Component Strength Scoring
Each zone receives a score between 0 and 10 from four additive components:
Displacement Score (0-3): The ratio of the displacement to ATR is binned — larger moves score higher, capped at 3.0
Session Score (0-2): London and NY session zones score 2.0, Asia zones score 1.0, off-hours score 0.5
Age Score (0-2): Freshly formed zones (under 30 bars) score 2.0; zones over 150 bars old score 0.5
Zone Height Score (0-3): Zones whose ATR-normalized height falls in a sweet spot (0.5 to 2x ATR) score 3.0 — too tight or too wide zones score lower
The minimum strength filter (default 3.0/10) removes zones that fail to meet the threshold, keeping the chart uncluttered.
3. Session Classification and Color-Coded Borders
Each zone's birth session is stored and used to color its border: London zones receive a blue border (#60a5fa), NY zones a pink border (#f472b6), Asia zones a green border (#34d399), and off-hours zones a gray border (#64748b). The session is detected from the candle's timestamp using UTC hours, mapping to standard London (08:00-17:00 UTC), New York (13:00-22:00 UTC), and Asia (00:00-09:00 UTC) windows. This allows traders to immediately gauge which market session was active when institutional activity was registered.
4. Mitigation Lifecycle
When price closes through a zone — below the bottom of a bull OB, or above the top of a bear OB — the zone is considered mitigated. Three mitigation behaviors are available:
Delete: Zone is removed entirely from the chart
Stop Extending: Zone stops extending to the right and fades to near-transparent (zone box is fixed at the current bar)
Keep: Zone remains but fades visually to indicate mitigation
Touch counting is separate from mitigation — each confirmed close inside the zone increments the touch count, and the border progressively darkens with each retest to communicate how many times price has interacted with the level.
5. Proximity Detection
A configurable ATR buffer defines a proximity zone above each bull OB and below each bear OB. When price enters this buffer without yet entering the zone, the dashboard shows "NEAR" and proximity diamonds appear on the chart. This gives an early warning that price is approaching an active level before the actual retest occurs.
IZM showing the proximity diamond markers appearing as price approaches a bull OB from above, the info label updating with live age and touch count, and a faded zone after mitigation with the Stop Extending behavior active
Features
Swing Pivot Order Block Detection: Locates the last impulsive candle before a confirmed swing high or low with ATR-scaled displacement verification
Four-Component Strength Score (0-10): Displacement, session, age, and zone height combine into a single quality score — only zones above the minimum threshold are displayed
Session-Colored Borders: London blue / NY pink / Asia green / Off gray borders identify which session birthed each zone at a glance
Box-Based Zone Rendering: Solid box fills with session-colored borders — substantially more visible than linefill-based zone systems
Touch Count Darkening: Zone border opacity increases with each confirmed retest, visually communicating how frequently price has revisited the level
Three Mitigation Behaviors: Keep, Stop Extending, or Delete — each with optional fade-on-mitigation toggle
Proximity Markers and Dashboard State: Diamond markers and NEAR/ACTIVE dashboard state when price enters or approaches active zones
Info Labels: Dynamic text labels at zone right edge showing type, strength score, session, age in bars, zone height in pips/ticks, and touch count
Position Filter: Optional toggle to show only bull OBs below current price and bear OBs above, removing zones that are contextually irrelevant to the current price location
Max Active OBs: Oldest zones are trimmed when the array exceeds the configured maximum, keeping memory usage bounded
9-Row Dashboard: Active bull/bear OB counts, touch states (ACTIVE / NEAR), current session, ATR, minimum displacement distance, minimum strength threshold
6 Alertconditions: Zone entry, proximity approach, and new zone creation alerts for both bull and bear sides
Input Parameters
Order Block Detection:
Swing Length: Pivot confirmation lookback — higher values detect more significant, less frequent pivots (default 7)
OB Candle Lookback: How many bars back to search for the qualifying order block candle (default 20)
Displacement ATR Mult: Minimum displacement from OB candle to pivot, as a multiple of ATR (default 1.3)
Max Active OBs / Side: Maximum concurrent zones per direction before oldest are trimmed (default 5)
Min Strength Filter: Minimum strength score required to display a zone (default 3.0/10)
Zone Settings:
Zone ATR Width: Half the zone height expressed as ATR multiplier — sets the vertical thickness of zones (default 0.75)
Proximity Buffer (ATR): Distance above/below zone edge that activates the NEAR state (default 0.25)
Position Filter: When enabled, only shows zones on the correct side of current price (default off)
Mitigation:
On Mitigation: Keep / Stop Extending / Delete (default Stop Extending)
Fade On Mitigation: Whether to reduce zone opacity when mitigated (default on)
How to Use This Indicator
Primary Setup — Zone Retest Entry:
Look for price returning to an active zone (box fill area) after displacement away from it. When the dashboard shows ACTIVE and the zone has a high strength score (7+), this represents a high-quality retest opportunity. Enter in the zone's direction with a stop beyond the opposite edge of the box.
Reading the Strength Score:
Zones scoring 7-10 should be treated as premium levels — the displacement was large, the session was active, the zone is fresh, and the height is optimal. Zones scoring 3-5 are marginal. Use the minimum filter to remove low-quality zones entirely if the chart becomes cluttered.
Session Context:
London and NY zones (blue and pink borders) represent the most liquid, highest-participation session activity. An Asia-born zone that has not been retested by London or NY open is lower priority. A NY-born zone returning to price during the following London session is a high-context setup.
Proximity Workflow:
When a proximity diamond appears, price is approaching but has not entered a zone. This is the time to prepare your entry plan — set alerts using the Approaching alerts, watch for confirmation signals on a lower timeframe, and be ready when the NEAR state transitions to ACTIVE.
Indicator Limitations
Order block detection requires a confirmed swing pivot — pivot confirmation in Pine Script v6 is delayed by swingLen bars, meaning zones are created with a bar offset relative to the actual pivot price action
The displacement check uses the current-bar ATR, not the ATR at the time the zone was created — on rapidly expanding volatility environments this can temporarily raise the displacement threshold and filter out recent zones
The four-component scoring system uses static bin boundaries. Markets with unusually large or small ATR ranges may require tuning the displacement multiplier and zone width parameters to produce well-calibrated scores
Touch count increments on any confirmed close inside the zone, including the candle that originally created it. The first touch is therefore always the creation bar itself; meaningful retest context begins at touch count 2+
The mitigation logic detects a close through the zone edge, not an intrabar wick. Strong impulse candles that close back inside the zone will not trigger mitigation despite briefly penetrating the level
Originality Statement
This indicator is original in its four-component strength scoring system, session-colored border architecture, and touch-count border darkening feedback mechanism. The publication is justified because:
The four-component strength score (displacement, session, age, zone height) produces a quantitative quality ranking that is not present in standard order block tools, allowing the user to immediately identify premium versus marginal zones without manual evaluation
Session-colored borders encode institutional session context directly into the zone visual without requiring the user to maintain a separate session indicator, creating a self-contained contextual map
Touch-count border darkening provides a progressive visual feedback loop that communicates zone interaction history — the darker the border, the more times price has revisited the level
The proximity buffer and NEAR/ACTIVE dashboard state create a two-stage alert system that gives traders preparation time before an actual zone retest, reducing late entries
The mitigation lifecycle with fade-on-mitigation is a novel approach to zone management that preserves chart history while clearly delineating which zones remain actionable
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial advice or a recommendation to buy or sell any financial instrument. Past performance of any pattern or signal does not guarantee future results. All trading involves substantial risk. Always use proper risk management and conduct your own independent analysis.
— Made with passion by officialjackofalltrades
Indicator

Smart Money Structure Decoder [JOAT]Smart Money Structure Decoder
Introduction
The Smart Money Structure Decoder is an advanced open-source market structure indicator that identifies institutional footprints through Break of Structure (BOS), Change of Character (CHoCH), liquidity sweeps, price imbalances, and points of interest. This indicator transforms raw price action into actionable smart money intelligence, helping traders identify when institutions are accumulating positions, sweeping liquidity, and shifting market structure.
Unlike basic support/resistance indicators that simply mark price levels, this system analyzes market microstructure through pivot detection, liquidity pool tracking, imbalance zone identification, and multi-timeframe bias alignment. The indicator is designed for traders who understand that institutional activity leaves detectable footprints in market structure and that following smart money positioning offers edge in directional trading.
Why This Indicator Exists
This indicator addresses a critical challenge in trading: identifying when institutional players are actively positioning and when they're manipulating price to trigger retail stops before moving in their intended direction. The core innovation lies in systematically detecting smart money concepts:
Market Structure Analysis: Identifies Break of Structure (BOS) when price breaks previous highs/lows in trend direction and Change of Character (CHoCH) when price breaks counter-trend, signaling potential reversals
Liquidity Sweep Detection: Tracks when price briefly exceeds key levels to trigger stops then reverses, indicating institutional liquidity hunting
Price Imbalance Zones: Identifies fair value gaps where price moved too quickly, leaving inefficiencies that often get filled
Points of Interest (POI): Marks high-volume reversal zones where institutions likely established positions
Multi-Timeframe Bias: Confirms whether higher timeframe trend aligns with current timeframe structure
Volume Confirmation: Validates structure breaks and sweeps with volume surge analysis
Real-Time Metrics: Tracks cumulative counts of BOS, CHoCH, sweeps, imbalances, and POIs for pattern recognition
Each component reveals different aspects of institutional activity. BOS confirms trend continuation, CHoCH warns of reversals, liquidity sweeps show manipulation, imbalances mark inefficiencies, POIs identify accumulation zones, MTF bias validates conviction, and volume confirms genuine moves versus fakeouts.
Core Components Explained
1. Pivot Detection System
The indicator uses pivot analysis to identify significant highs and lows:
Pivot High = High that is higher than N bars before and N bars after (default N=10)
Pivot Low = Low that is lower than N bars before and N bars after (default N=10)
These pivots represent swing points where price temporarily reversed, marking potential support/resistance levels and liquidity pools. The pivot length parameter controls sensitivity - lower values detect more pivots (more sensitive), higher values detect only major pivots (less sensitive).
The indicator tracks the most recent pivot high and pivot low, along with their bar indices, to establish the current market structure framework.
2. Market Structure Tracking
The indicator maintains persistent structure variables:
Trend Direction: +1 for uptrend, -1 for downtrend, 0 for undefined
Last High: Most recent pivot high price and bar location
Last Low: Most recent pivot low price and bar location
Market structure evolves through two mechanisms:
Break of Structure (BOS):
- In uptrend: New pivot high exceeds previous pivot high (higher high)
- In downtrend: New pivot low breaks below previous pivot low (lower low)
- BOS confirms trend continuation and institutional commitment to direction
Change of Character (CHoCH):
- In uptrend: New pivot low breaks below previous pivot low (lower low in uptrend)
- In downtrend: New pivot high exceeds previous pivot high (higher high in downtrend)
- CHoCH signals potential trend reversal and shift in institutional positioning
The indicator counts cumulative BOS and CHoCH events, allowing traders to assess whether market is trending cleanly (high BOS, low CHoCH) or choppy (high CHoCH, frequent reversals).
3. Liquidity Pool and Sweep Detection
The indicator maintains arrays of liquidity levels (recent pivot highs and lows) and monitors for sweeps:
Liquidity Pool: Array of last 10 pivot prices and their bar locations
Sweep Detection Logic:
- Price exceeds liquidity level (high > level for highs, low < level for lows)
- Close returns below/above the level (close < level for high sweeps, close > level for low sweeps)
- Volume exceeds average volume * threshold (default 1.8x)
Liquidity sweeps are classic institutional manipulation where price briefly triggers stops at obvious levels then reverses. These often mark excellent entry points as institutions have cleared liquidity and can now move price in their intended direction.
The indicator draws dashed lines from the liquidity level to the sweep bar and places labels marking "SWEEP" events. Swept levels are removed from the liquidity array as they've been cleared.
4. Price Imbalance Detection
Imbalances (Fair Value Gaps) occur when price moves so quickly that it leaves gaps in the order book:
Bullish Imbalance:
- Current low > high from 2 bars ago (gap up)
- Gap size > ATR * 0.3 (significant gap, not just noise)
Bearish Imbalance:
- Current high < low from 2 bars ago (gap down)
- Gap size > ATR * 0.3
The indicator draws boxes around imbalance zones extending 10 bars into the future. These zones often act as magnets where price returns to fill the inefficiency. Institutions frequently use imbalances as entry zones, buying into bullish imbalances or selling into bearish imbalances.
Imbalance count tracks cumulative gaps, helping identify instruments or timeframes with frequent inefficient price action versus those with smooth, efficient movement.
5. Points of Interest (POI) Detection
POIs mark zones where institutions likely established significant positions:
POI Criteria:
- Volume > Average Volume * 1.8 (high participation)
- Bar range > ATR * 0.5 (significant price movement)
- Combination suggests institutional activity
The indicator places small labels at POI locations. These zones often provide support/resistance in future price action as institutions defend their positions or add to them.
POI count helps assess institutional activity levels - high POI counts suggest active institutional participation, low counts suggest retail-dominated or low-activity periods.
6. Multi-Timeframe Bias Analysis
The indicator requests close price from a higher timeframe (default 60m) and determines HTF trend:
HTF Trend = HTF Close > HTF Close ? Bullish : Bearish
MTF Alignment = Current Timeframe Trend matches HTF Trend
When MTF is aligned, trades in the trend direction have higher probability as both timeframes agree. When MTF is divergent, caution is warranted as timeframes conflict.
The dashboard displays alignment status (ALIGNED/DIVERGENT) and strength (STRONG/WEAK) based on how clearly both timeframes show directional bias.
7. Volume Analysis and Confirmation
Volume plays a critical role in validating structure:
Average Volume = 20-period SMA of volume
Volume Spike = Current volume > Average * threshold (default 1.8x)
Volume spikes confirm:
- BOS events (genuine institutional commitment)
- CHoCH events (real reversal, not fakeout)
- Liquidity sweeps (institutional participation)
- POI zones (significant positioning)
Low volume structure breaks often fail, while high volume breaks tend to follow through. The indicator uses volume confirmation throughout its detection logic.
8. Comprehensive Metrics Dashboard
The indicator tracks and displays 13 key metrics:
1. Trend: Current market structure direction (BULLISH/BEARISH/NEUTRAL)
2. Structure: Most recent event (BOS/CHoCH/NONE) with count
3. BOS Count: Cumulative break of structure events with status (HIGH/ACTIVE/LOW)
4. CHoCH Count: Cumulative change of character events with status (CHOPPY/ACTIVE/CLEAN)
5. Liquidity: Active liquidity levels count with status (SWEPT/DENSE/NORMAL)
6. Sweeps: Cumulative sweep count with status (ACTIVE/SOME/NONE)
7. Imbalances: Cumulative imbalance count with status (HIGH/ACTIVE/LOW)
8. POI: Points of interest count with status (ACTIVE/MANY/FEW)
9. Volume: Current volume status (SPIKE/HIGH/NORMAL) with ratio
10. Position: Price position in session range (PREMIUM/DISCOUNT/EQUILIBRIUM) with bias
11. Momentum: RSI-based momentum (OVERBOUGHT/OVERSOLD/NEUTRAL) with value
12. MTF: Multi-timeframe alignment (ALIGNED/DIVERGENT) with strength
These metrics provide complete smart money context at a glance, enabling rapid assessment of market structure, institutional activity, and trade setup quality.
9. Price Position Analysis
The indicator calculates price position within the session range:
Session High = Highest high since session start
Session Low = Lowest low since session start
Session Mid = (Session High + Session Low) / 2
Premium Zone = Price > Session Mid + Range * 0.25 (upper 25% of range)
Discount Zone = Price < Session Mid - Range * 0.25 (lower 25% of range)
Equilibrium = Price between premium and discount zones
Smart money concepts suggest:
- Buy in discount zones (institutions accumulating at favorable prices)
- Sell in premium zones (institutions distributing at favorable prices)
- Avoid equilibrium zones (no clear edge)
The dashboard displays current position and suggested bias (BUY/SELL/WAIT).
Visual Elements
BOS Signals: Triangle shapes (up for bullish, down for bearish) marking break of structure events
CHoCH Signals: Circle shapes marking change of character events
Structure Lines: Lines connecting swing points showing market structure evolution
Liquidity Sweep Lines: Dashed lines from liquidity level to sweep point with "SWEEP" labels
Imbalance Boxes: Semi-transparent boxes highlighting fair value gaps
POI Labels: Small labels marking points of interest
Structure Break Lines: Horizontal lines marking BOS levels with "BRK" labels
Structure Shift Lines: Dashed lines marking CHoCH levels with "SHIFT" labels
Order Block Boxes: Boxes highlighting institutional order zones
Trend Background: Subtle gradient showing current trend direction
Comprehensive Dashboard: 13-row intelligence panel with all smart money metrics
The visual system is designed for clarity - each element has distinct styling to prevent confusion while maintaining professional appearance.
Input Parameters
Core Settings:
Pivot Length: Bars before/after for pivot detection (5-30, default 10)
ATR Length: Period for ATR calculation (10-30, default 14)
Volume Spike Threshold: Multiplier for volume confirmation (1.2-3.0, default 1.8)
Features:
Market Structure (BOS/CHoCH): Toggle structure detection (default enabled)
Liquidity Sweeps: Toggle sweep detection (default enabled)
Price Imbalances: Toggle imbalance zones (default enabled)
Points of Interest: Toggle POI detection (default enabled)
Multi-Timeframe Bias: Toggle MTF analysis (default enabled)
Multi-Timeframe:
Higher Timeframe: HTF for bias analysis (default 60m)
Colors:
All colors are fully customizable including bull primary (neon cyan), bear primary (neon pink), structure break (gold), liquidity sweep (sunset orange), and imbalance zone (neon purple).
How to Use This Indicator
Step 1: Identify Current Market Structure
Check dashboard "TREND" field. BULLISH structure suggests looking for long setups, BEARISH structure suggests short setups. Note the structure status - clean trends show high BOS and low CHoCH counts.
Step 2: Monitor Structure Events
Watch for BOS signals (triangles) confirming trend continuation. These mark optimal trend-following entry points. Watch for CHoCH signals (circles) warning of potential reversals. These suggest reducing positions or preparing for counter-trend trades.
Step 3: Identify Liquidity Sweeps
Liquidity sweep signals (dashed lines with "SWEEP" labels) mark manipulation events. These often provide excellent entry opportunities as institutions have cleared stops and can now move price. Enter in the direction opposite to the sweep (sweep of highs = short setup, sweep of lows = long setup).
Step 4: Use Imbalance Zones
Imbalance boxes mark fair value gaps. Price often returns to fill these zones. Use imbalances as entry zones - buy into bullish imbalances (price returns to gap), sell into bearish imbalances. Unfilled imbalances suggest strong directional conviction.
Step 5: Respect Points of Interest
POI labels mark institutional positioning zones. These often provide support/resistance. Watch for price reactions at POI levels - bounces confirm institutional defense, breaks suggest institutional exit.
Step 6: Assess Price Position
Check dashboard "POSITION" showing PREMIUM/DISCOUNT/EQUILIBRIUM. Smart money concepts suggest buying in discount zones and selling in premium zones. The dashboard provides bias suggestion (BUY/SELL/WAIT).
Step 7: Confirm with MTF Bias
Review "MTF" alignment status. ALIGNED with STRONG rating confirms both timeframes agree on direction. DIVERGENT suggests caution as timeframes conflict. Only take trades when MTF is aligned for highest probability.
Step 8: Validate with Volume
Check "VOLUME" status. Structure breaks and sweeps with SPIKE or HIGH volume are more reliable than those with NORMAL volume. Low volume events often fail.
Best Practices
BOS in trend direction with volume confirmation offers highest-probability continuation trades
CHoCH signals are most reliable when they occur at extreme price positions (premium/discount zones)
Liquidity sweeps at session highs/lows often mark major reversal points
Imbalances that remain unfilled for multiple bars suggest strong directional conviction
POI zones near key structure levels (previous BOS/CHoCH) are most significant
Trade in discount zones for longs, premium zones for shorts for optimal risk/reward
MTF alignment is critical - avoid trades when timeframes diverge
High CHoCH count (>3) suggests choppy conditions - reduce position size or avoid
Clean trends show BOS count > CHoCH count by at least 2:1 ratio
Volume spike confirmation separates genuine institutional moves from retail noise
Multiple sweeps at same level suggest strong institutional interest
Imbalances near structure breaks often get filled before trend continuation
Indicator Limitations
Pivot detection requires sufficient bars before/after - signals lag by pivot length
Structure analysis works best on liquid instruments with clear swing points
Liquidity sweep detection is probabilistic - not all sweeps lead to reversals
Imbalance zones can remain unfilled for extended periods during strong trends
POI detection uses volume which may be unreliable on some instruments
MTF analysis requires data availability on selected higher timeframe
The indicator identifies structure but cannot predict institutional intent
High-frequency trading and algorithmic activity can create false structure signals
News events can override technical structure instantly
Structure breaks can be fakeouts - always use stop losses
The indicator shows what institutions did, not what they will do
Technical Implementation
Built with Pine Script v6 using:
Pivot detection using ta.pivothigh and ta.pivotlow with customizable length
Persistent structure tracking using var variables for trend, highs, lows, and bar indices
Array-based liquidity pool management with dynamic addition/removal
Imbalance detection using gap analysis with ATR-based filtering
Volume spike detection using rolling average comparison
POI identification combining volume and range analysis
Multi-timeframe security request with proper lookahead settings
Price position calculation using session high/low tracking
RSI-based momentum analysis for overbought/oversold context
Comprehensive dashboard with 13 metrics and color-coded status indicators
Dynamic line and box drawing for structure visualization
Label system with size and style variations for different signal types
The code is fully open-source with detailed comments explaining smart money concepts and detection logic.
Originality Statement
This indicator is original in its comprehensive smart money structure analysis. While individual concepts (BOS, CHoCH, liquidity sweeps, imbalances) are established in smart money trading, this indicator is justified because:
It systematically integrates five distinct smart money concepts (structure, sweeps, imbalances, POI, MTF) into a unified detection system
The liquidity pool tracking with dynamic sweep detection provides real-time manipulation identification
Imbalance zone detection with ATR-based filtering ensures only significant gaps are marked
POI detection combines volume and range analysis to identify institutional positioning zones
Price position analysis (premium/discount/equilibrium) provides smart money context for entries
The comprehensive dashboard synthesizes 13 metrics into unified smart money intelligence
Integration of volume confirmation throughout ensures signals reflect genuine institutional activity
MTF bias alignment validates that structure aligns across temporal dimensions
Cumulative event counting (BOS, CHoCH, sweeps, imbalances, POI) enables pattern recognition
The visual system clearly distinguishes between different structure types without clutter
Each component reveals different institutional footprints: BOS shows commitment, CHoCH shows reversal, sweeps show manipulation, imbalances show inefficiency, POI shows positioning, price position shows value zones, MTF shows conviction, and volume confirms participation. The indicator's value lies in combining these complementary perspectives into a cohesive smart money structure analysis system.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss and is not suitable for all investors.
Smart money structure analysis is a tool for understanding institutional footprints, not a crystal ball for predicting future price movement. Structure breaks do not guarantee trend continuation. Liquidity sweeps do not guarantee reversals. Past structure patterns do not guarantee future structure patterns. Market conditions change, and strategies that worked historically may not work in the future.
The metrics displayed are mathematical calculations based on current market data, not predictions of future price movement. BOS, CHoCH, sweeps, imbalances, and POI signals do not guarantee profitable trades. Users must conduct their own analysis and risk assessment before making trading decisions.
Always use proper risk management, including stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose. Consider consulting with a qualified financial advisor before making investment decisions.
The author is not responsible for any losses incurred from using this indicator. Users assume full responsibility for all trading decisions made using this tool.
-Made with passion by officialjackofalltrades Indicator

Institutional Structure Intelligence Engine [JOAT]Institutional Structure Intelligence Engine
Introduction
The Institutional Structure Intelligence Engine is an advanced open-source market structure indicator that combines swing detection, order block analysis, fair value gap (FVG) identification, institutional level tracking, and velocity analysis into a comprehensive structural intelligence system. This indicator helps traders identify where institutional orders are positioned, where price inefficiencies exist, and how market structure is evolving in real-time.
Unlike basic support/resistance indicators that draw static lines, this engine dynamically tracks institutional footprints through order blocks (zones where institutions accumulated or distributed), fair value gaps (price inefficiencies that often get filled), breaker blocks (failed order blocks signaling reversals), and multi-timeframe institutional levels. The indicator is designed for traders who understand that market structure reveals institutional intent and that price gravitates toward areas of institutional interest.
Why This Indicator Exists
This indicator addresses the challenge of identifying institutional positioning in real-time. Institutional traders leave structural footprints that can be detected through systematic analysis. By combining multiple structural methodologies, this indicator reveals:
Order Block Detection: Identifies zones where institutions accumulated or distributed positions before major moves
Fair Value Gaps: Detects price inefficiencies where rapid institutional movement left unfilled gaps
Breaker Blocks: Tracks failed order blocks that signal potential trend reversals
Institutional Levels: Monitors Weekly/Daily highs and lows, Premium/Discount zones, and Golden Zone (0.618-0.5 Fibonacci)
Structure Velocity: Measures how quickly market structure is forming to identify momentum shifts
Compression Zones: Detects periods of range compression that often precede explosive moves
Each component provides a different structural perspective. Order blocks show where institutions positioned, FVGs show where price moved inefficiently, breaker blocks show where structure failed, institutional levels show key reference points, velocity shows momentum, and compression zones show coiling energy. Together, they create a comprehensive structural intelligence system.
Below showing the Main Features and how it works:
Core Components Explained
1. Advanced Order Block Detection
Order blocks are identified using strict volume and price action criteria:
Bullish Order Block:
// Two consecutive down candles followed by strong up move
if close < open and close < open and close > open and
volume > avgVolume * obVolumeThreshold and
close > high and
(high - low ) <= atr * maxATRMult and
(close - open) > atr * 0.5
Bearish Order Block:
// Two consecutive up candles followed by strong down move
if close > open and close > open and close < open and
volume > avgVolume * obVolumeThreshold and
close < low and
(high - low ) <= atr * maxATRMult and
(open - close) > atr * 0.5
Order blocks represent the last opposite-direction move before a strong impulse. The logic: institutions accumulate/distribute in the opposite direction before pushing price in their intended direction. The indicator tracks:
Order block volume (total volume during formation)
Number of touches (how many times price returned to the zone)
Zone strength (calculated from volume, touches, and age)
Breaker status (whether the order block was invalidated)
Overlapping Order Block Combination:
When multiple order blocks overlap, the indicator combines them into a single stronger zone:
if doOBsOverlap(ob1, ob2)
ob1.top := math.max(ob1.top, ob2.top)
ob1.bottom := math.min(ob1.bottom, ob2.bottom)
ob1.obVolume += ob2.obVolume
ob1.touches += ob2.touches
ob1.strength := math.max(ob1.strength, ob2.strength)
This prevents chart clutter and highlights the most significant institutional zones.
2. Breaker Block Detection
Breaker blocks are order blocks that failed - price broke through them instead of bouncing. This signals potential trend reversal:
// Bullish OB becomes breaker if price breaks below
if low < ob.bottom
ob.breaker := true
ob.breakTime := time
// Bearish OB becomes breaker if price breaks above
if high > ob.top
ob.breaker := true
ob.breakTime := time
Breaker blocks are displayed with distinct colors (cyan for bullish breakers, orange for bearish breakers) to differentiate them from active order blocks. When an order block becomes a breaker, it often signals that institutional positioning has changed and the previous structure is no longer valid.
3. Fair Value Gap (FVG) Detection
FVGs are identified using strict gap and volume criteria:
Bullish FVG:
// Gap between 2 bars ago high and current low
bool bullishFVGDetected = low > high and
(low - high ) > atr * 0.3 and // Minimum gap size
volume > avgVolume * 0.8 // Volume confirmation
Bearish FVG:
// Gap between 2 bars ago low and current high
bool bearishFVGDetected = high < low and
(low - high) > atr * 0.3 and // Minimum gap size
volume > avgVolume * 0.8 // Volume confirmation
FVGs represent price inefficiencies where institutional orders moved price so quickly that normal auction process was bypassed. These gaps often get "filled" as price returns to establish fair value. The indicator tracks:
FVG top and bottom prices
Mitigation status (whether the gap has been filled)
Mitigation bar (when the gap was filled)
Only non-mitigated FVGs are displayed to keep charts clean. Maximum FVG count is customizable (default: 3) to prevent clutter.
Showing Order Block, Breaker Block, and All Combined OB's that occured:
4. Institutional Level Tracking
The indicator monitors key institutional reference levels:
Weekly High/Low:
float lastWeekHigh = request.security(syminfo.tickerid, "W", high )
float lastWeekLow = request.security(syminfo.tickerid, "W", low )
Daily High/Low:
float yesterdayHigh = request.security(syminfo.tickerid, "D", high )
float yesterdayLow = request.security(syminfo.tickerid, "D", low )
Premium/Discount Zones:
Based on weekly range:
Premium Zone: 70%-100% of weekly range (institutional selling zone)
Discount Zone: 0%-30% of weekly range (institutional buying zone)
Golden Zone: 50%-61.8% of weekly range (optimal entry zone)
float weekRange = lastWeekHigh - lastWeekLow
float premiumTop = lastWeekHigh
float premiumBot = lastWeekLow + (weekRange * 0.7)
float discountTop = lastWeekLow + (weekRange * 0.3)
float discountBot = lastWeekLow
float goldenTop = lastWeekLow + (weekRange * 0.618)
float goldenBot = lastWeekLow + (weekRange * 0.5)
These zones help traders identify where institutions are likely to buy (discount) or sell (premium), with the golden zone representing optimal risk:reward entries.
Breaker Block with VOL, Discount zone touched for signal, Market Phase + Quality of chart score:
5. Structure Velocity Analysis
The indicator measures how quickly market structure is forming:
// Price velocity
priceVelocity = ta.change(close, velocityLength) / velocityLength
velocityMA = ta.sma(math.abs(priceVelocity), velocityLength)
velocityScore = velocityMA > 0 ? math.abs(priceVelocity) / velocityMA : 0
// Volume momentum
volumeMomentum = volume / avgVolume
volumeAcceleration = ta.change(volumeMomentum, 5)
// Structure velocity (how fast structure is forming)
structureVelocity = (bar_index - lastSwingHighBar) + (bar_index - lastSwingLowBar)
High velocity indicates rapid structure formation (trending market), low velocity indicates slow structure formation (ranging market). Velocity analysis helps traders identify momentum shifts before they become obvious in price.
6. Compression to Expansion Detection
The indicator detects periods of range compression using strict criteria:
float rangeMA = ta.sma(high - low, 50)
float currentRange = high - low
bool compressed = currentRange < rangeMA * 0.3 and volume < avgVolume * 0.8
bool expanding = currentRange > rangeMA * 2.0 and volume > avgVolume * 1.3
Compression zones are only displayed if:
Compression lasted at least 10 bars
Range is less than 1.5x ATR (truly tight)
This prevents false compression signals and highlights only significant coiling periods that often precede explosive moves.
7. Swing Point Detection
The indicator uses pivot-based swing detection:
pivotHigh = ta.pivothigh(high, swingLength, swingLength)
pivotLow = ta.pivotlow(low, swingLength, swingLength)
Swing points are stored in arrays and used for:
Structure line drawing
Break of Structure (BOS) detection
Change of Character (CHOCH) detection
Trend determination
Swing length is customizable (default: 10) to adjust sensitivity.
Visual Elements
Order Block Boxes: Filled boxes showing bullish (green) and bearish (red) order blocks with volume and touch count
Breaker Block Boxes: Distinct colored boxes (cyan/orange) showing failed order blocks
FVG Boxes: Transparent boxes showing bullish (green) and bearish (red) fair value gaps
Institutional Lines: Weekly high/low (purple), Daily high/low (yellow)
Premium/Discount Fills: Shaded zones showing premium (red), discount (green), and golden (orange) zones
Compression Boxes: Purple boxes showing range compression periods
Swing Points: Triangle markers showing swing highs (red) and swing lows (green)
All visual elements use "locked" boxes that don't extend indefinitely, preventing chart clutter. Overlap prevention logic ensures boxes don't stack on top of each other.
Input Parameters
Structure Detection:
Swing Length: Period for pivot detection (default: 10, range: 3-50)
Show Swing Points: Toggle swing markers (default: enabled)
Show Structure Lines: Toggle structure lines (default: enabled)
Show Compression Zones: Toggle compression boxes (default: disabled to reduce clutter)
Order Blocks:
Show Order Blocks: Toggle order block boxes (default: enabled)
Combine Overlapping OBs: Merge overlapping order blocks (default: enabled)
Show Breaker Blocks: Toggle breaker block display (default: enabled)
Volume Threshold: Minimum volume multiplier for OB detection (default: 1.5)
Max Order Blocks: Maximum OBs to display (default: 3, range: 1-10)
Max ATR Multiplier: Maximum OB size relative to ATR (default: 2.5)
Market Structure:
Show Break of Structure: Toggle BOS markers (default: disabled to reduce clutter)
Show Change of Character: Toggle CHOCH markers (default: enabled)
Show Fair Value Gaps: Toggle FVG boxes (default: enabled)
Show FVG Mitigation: Track when FVGs are filled (default: enabled)
Max FVGs to Display: Maximum FVGs to show (default: 3, range: 1-10)
Institutional Levels:
Show Weekly High/Low: Toggle weekly levels (default: enabled)
Show Daily High/Low: Toggle daily levels (default: enabled)
Show Golden Zone: Toggle 0.618-0.5 Fib zone (default: enabled)
Show Premium/Discount Zones: Toggle institutional zones (default: enabled)
Velocity Analysis:
Show Structure Velocity: Toggle velocity calculations (default: enabled)
Velocity Period: Period for velocity analysis (default: 20, range: 5-50)
Display:
Table Position: Dashboard location (Top Right/Top Left/Bottom Right/Bottom Left)
Show Structure Quality Score: Toggle quality metrics (default: enabled)
Colors:
All colors are fully customizable including bullish/bearish structure, order blocks, breaker blocks, FVGs, weekly/daily levels, golden zone, premium/discount zones, and compression zones.
4HR TF BTCUSDT showing the zones being used in action and price movement:
How to Use This Indicator
Step 1: Identify Key Institutional Zones
Look for order blocks with high touch counts and strong volume. These represent areas where institutions are likely to defend their positions.
Step 2: Monitor Fair Value Gaps
FVGs often get filled as price returns to establish fair value. Look for entries when price approaches unfilled FVGs, especially if they align with order blocks.
Step 3: Watch for Breaker Blocks
When an order block becomes a breaker, it signals that institutional positioning has changed. This often marks trend reversals or significant structure shifts.
Step 4: Use Premium/Discount Zones
Look for long entries in discount zones (0-30% of range) and short entries in premium zones (70-100% of range). The golden zone (50-61.8%) offers optimal risk:reward.
Step 5: Check Institutional Levels
Weekly and daily highs/lows act as magnets for price. Breaks above/below these levels often lead to significant moves.
Step 6: Monitor Structure Velocity
High velocity indicates trending conditions (follow the trend), low velocity indicates ranging conditions (fade extremes).
Step 7: Wait for Compression Breakouts
Compression zones mark periods of coiling energy. Breakouts from compression often lead to explosive moves with strong follow-through.
Best Practices
Use on 15-minute to 4-hour timeframes for optimal structure clarity
Combine order blocks with FVGs for high-probability entries
Wait for price to return to order blocks before entering - don't chase
Breaker blocks often become new support/resistance in opposite direction
Premium/discount zones work best in trending markets
Golden zone entries offer best risk:reward when combined with order blocks
Compression zones require patience - wait for confirmed breakout
Structure velocity helps determine whether to trade with trend or fade extremes
Multiple touches on an order block increase its significance
FVG fills often provide excellent entry opportunities with tight stops
Indicator Limitations
Order blocks don't always hold - institutions can change positioning
FVGs don't always get filled - some gaps persist indefinitely
Breaker blocks can fail - price can return above/below breaker zones
Premium/discount zones are relative to recent range - not absolute levels
Compression detection requires sufficient bars - may not work on new instruments
Structure velocity is a lagging indicator - confirms moves after they start
Maximum box/line limits (500 each) can be reached on lower timeframes with long history
Overlap prevention may hide some valid order blocks to prevent clutter
The indicator shows structure, not direction - requires trader interpretation
Works best on liquid instruments with clear institutional participation
Technical Implementation
Built with Pine Script v6 using:
Custom type definitions for OrderBlockInfo and FVGInfo
Array-based storage for order blocks, FVGs, and swing points
Strict volume and ATR-based filtering for accuracy
Overlap detection and combination logic for order blocks
Breaker block tracking with time-based invalidation
FVG mitigation detection
Multi-timeframe security requests for institutional levels
Fibonacci-based premium/discount zone calculations
Velocity and momentum analysis
Compression detection with strict criteria
Dynamic box and label management with anti-overlap logic
The code is fully open-source and can be modified to suit individual trading styles and preferences.
Originality Statement
This indicator is original in its comprehensive structural integration. While individual components (order blocks, FVGs, institutional levels) are established concepts, this indicator is justified because:
It combines seven distinct structural methodologies into a unified intelligence system
Order block detection uses strict multi-criteria filtering (volume, ATR, price action) for accuracy
Automatic order block combination prevents clutter while highlighting strongest zones
Breaker block tracking provides reversal signals not available in basic order block indicators
FVG detection includes mitigation tracking and strict size/volume filtering
Premium/discount zones integrate Fibonacci analysis with institutional levels
Structure velocity analysis provides momentum context for structural zones
Compression detection uses strict criteria to identify only significant coiling periods
Anti-overlap logic ensures clean charts without sacrificing information
Each component contributes unique structural intelligence: order blocks show institutional positioning, FVGs show inefficiencies, breaker blocks show failures, institutional levels show reference points, velocity shows momentum, and compression shows coiling energy. The indicator's value lies in presenting these complementary structural perspectives simultaneously with intelligent filtering and display management.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss and is not suitable for all investors.
Market structure analysis is a tool for understanding institutional positioning, not a crystal ball for predicting future price movement. Order blocks, FVGs, and institutional levels do not guarantee profitable trades. Past structural patterns do not guarantee future structural patterns. Market conditions change, and strategies that worked historically may not work in the future.
The zones and levels displayed are mathematical calculations based on current market data, not predictions of future price movement. High-quality order blocks, unfilled FVGs, and premium/discount zones do not guarantee profitable trades. Users must conduct their own analysis and risk assessment before making trading decisions.
Always use proper risk management, including stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose. Consider consulting with a qualified financial advisor before making investment decisions.
The author is not responsible for any losses incurred from using this indicator. Users assume full responsibility for all trading decisions made using this tool.
-Made with passion by officialjackofalltrades Indicator

VWAP [crlmx] Flexible Volume Weighted Average Price (VWAP) for clean
volume-weighted fair value benchmark and trend direction.
Key Features
- Adjustable VWAP Anchor
- 30min, 1H, 2H, 4H, 8H, 12H, D, W, M, Q, Y
- Sessions New York, London, Asia, with adjustable time
- Clean session breaks, no skews in VWAP line
- Period limit fearure (default 3) hides older periods
- Streamlined inputs/UI brought to you by crlmx
Trading Applications
- Intraday anchors (30min-12H): scalping and day trading
- Daily anchor: traditional intraday analysis
- Weekly/Monthly/Quarterly: swing trading context
- Yearly: long-term fair value
- Configuration examples:
Scalping: 30min-1H anchor | Limit: 5-10 | Bands: On | Multiplier: 1.0-1.5
Intraday: Day anchor | Limit: 3-5 | Bands: On | Multiplier: 1.0-2.0
Swing: Week-Month | Limit: 3-5 | Bands: Off | VWAP line only
Position: Quarter-Year | Limit: 3 | Bands: Off | Fair value reference
Version History
v1.56 (Latest - 22 Feb 2026)
- VWAP display limit feature: shows set amount of periods
- Added Market Sessions
- Streamlined input panel organisation
Indicator

Institutional Value Relocation VerdictSummary in one paragraph
Value Relocation Verdict ARD is an acceptance versus rejection classifier for liquid instruments on intraday to daily timeframes. It helps you act only when multiple conditions align after price pushes beyond a boundary. It is original because it treats every break as a probe and scores whether value is relocating using a break anchored VWAP relocation metric fused with time outside, extension, outside volume share, pullback quality, and failure velocity back into value. Add it to a clean chart, read the compact decision table, and use the visuals or alerts. Shapes can move while the bar is open and settle on close. For conservative alerts select on bar close.
Scope and intent
• Markets. Major FX pairs, index futures, large cap equities, liquid crypto
• Timeframes. One minute to daily
• Default demo used in the publication. NQ1! on 15 minute
• Purpose. Prevent trading raw breakouts and raw fades before the market proves acceptance or rejection
• Limits. This is an indicator. It does not place orders and does not simulate fills
Originality and usefulness
This is not a mashup of common indicators. It is a state machine that measures what happens after a boundary is breached.
• Unique concept or fusion. Breaks are treated as probes and classified by value relocation using break anchored VWAP plus behavioral metrics outside the boundary
• What failure mode it addresses. False starts in chop, one bar breakouts that reverse, and fades taken too early when value is actually relocating
• Testability. The table shows the live decision, the two competing scores, and the driver metrics so users can verify why a suggestion appears
• Portable yardstick. All distances are normalized in ATR units so thresholds travel better across symbols
• Protected scripts. Public open source, implementation visible
Method overview in plain language
Base measures
• Range basis. True Range smoothed with ATR over ATR length
• Value basis. Session anchored VWAP defines a value center, with a configurable VWAP band as the value zone
Components
• Boundary selection. Choose prior day high and low, opening range, prior week high and low, VWAP band edges, or custom levels
• Probe state. A probe begins when price crosses a boundary. The boundary is frozen for the probe so time outside and velocity are measured consistently
• Acceptance score. A 0 to 100 score built from closes outside, max extension beyond the boundary, outside volume ratio, break anchored VWAP relocation, defense touches, expansion context, and a pullback penalty
• Rejection score. Evaluated only when price re enters the boundary. It fuses sweep size, snapback depth, fail velocity, speed of re entry, RVOL, compression context, and a value zone re entry bonus
• Context regime. A light regime classifier uses session VWAP slope and a higher timeframe EMA slope to bias acceptance slightly in trend direction and boost rejection slightly in ranges
• Session windows optional. Session follows the exchange time of the chart. Verify when changing symbol or venue
Fusion rule
• Two separate scores are maintained during a probe: Acceptance score and Rejection risk
• During the probe, the table shows a Lean decision based on the score spread: Acceptance score minus Rejection risk
• Thresholds for ACC and REJ are explicit in Inputs and the drivers are visible in the table
Signal rule
• ACC Up appears when a probe above the boundary reaches acceptance score threshold for the configured confirm bars, closes remain outside the buffer, and chase distance is not excessive
• ACC Down is symmetric for probes below the boundary
• REJ Up appears when price re enters the boundary after probing above and rejection score meets its threshold
• REJ Down is symmetric for probes below the boundary
• WAIT shows when no probe is active or when neither side has a clear edge
What you will see on the chart
• Active boundary line. Thick line at the frozen probe boundary
• Value zone. Optional VWAP band fill and optional VWAP lines for context
• Probe band. Optional thin band around the boundary equal to the outside buffer
• Break VWAP. Optional line during the probe that shows break anchored VWAP
• Markers. ACC and REJ markers on the bar where the model resolves
• Optional plan overlay. Entry, stop, and target lines for the last resolved signal, informational only
• Compact table. A decision dashboard with Lean, State, Regime, ACC score, REJ risk, and the drivers
Table fields and quick reading guide
• Decision. Lean ACC, Lean REJ, or Wait
• State. Idle, Probe Above, Probe Below, Waiting Levels, or Out of Session
• Regime. Trend Up, Trend Down, or Range
• ACC Score. 0 to 100 plus a bar gauge
• REJ Risk. 0 to 100 plus a bar gauge
• Boundary. Frozen boundary price during the probe
• Value VWAP. Session anchored VWAP price
• Outside. Closes outside count versus Accept min closes outside
• Delta. ACC Score minus REJ Risk, used to express separation
• Drivers shown by preset. Extension ATR, Reloc ATR, Out Vol, Pull ATR, RVOL, Fail Vel, Sweep ATR, Snap ATR, Expansion, Compression
Reading tip. When Session is ON and Delta shows clear separation, outcomes tend to be easier to manage than when both scores are similar.
Inputs with guidance
Setup
• Theme. Dark or Light. Matches chart background for readability
• Preset. Minimal, Standard, Pro. Minimal is the clean chart default
• Session and Require session. Typical use is ON for index futures and intraday equity sessions
• Cooldown bars. Typical range 0 to 15. Higher reduces clustered probes
• Max probe bars. Typical range 20 to 120. Lower avoids stale probes
• Decision delta. Typical range 10 to 25. Higher demands more separation before leaning
Levels
• Mode. Prev Day HL, Opening Range, Prev Week HL, VWAP Band, Custom
• Opening range minutes. Typical 15 to 60 on intraday charts
• Break trigger. Close is more conservative. Wick is earlier but noisier
• VWAP band width ATR. Typical 0.5 to 1.5
• Custom upper and Custom lower. Only active in Custom mode. Both must be greater than 0 and upper must be greater than lower
Scoring
• Outside buffer ATR. Typical 0.05 to 0.30. Higher requires stronger closes outside
• Accept min closes outside. Typical 3 to 10. Higher confirms slower relocations
• Accept min extension ATR. Typical 0.6 to 1.8. Higher demands stronger expansion
• Accept min outside volume ratio. Typical 0.45 to 0.80. Higher demands conviction
• Accept min relocation ATR. Typical 0.10 to 0.50. Higher demands value shift beyond the boundary
• Accept max pullback ATR. Typical 0.30 to 1.00. Lower penalizes weak holding
• Accept confirm bars. Typical 1 to 3. Higher reduces one bar acceptance
• Accept score threshold. Typical 60 to 85
• Accept max chase distance ATR. Typical 0.8 to 2.0. Lower avoids late entries
• Defense touches needed and defense touch distance ATR. Use 0 to disable. Typical 1 to 2 touches, 0.15 to 0.35 distance
Rejection scoring
• Reject max closes outside before re entry. Typical 2 to 6. Lower demands fast failure
• Reject min fail velocity. Typical 0.3 to 1.0. Higher demands sharper failure
• RVOL length and reject min RVOL. Typical 20 and 1.1 to 1.8
• Reject min sweep ATR and reject min snapback ATR. Typical sweep 0.25 to 0.80, snap 0.10 to 0.50
• Reject score threshold. Typical 60 to 85
Context
• Context timeframe. Typical 15, 30, or 60 minutes for intraday
• Context EMA length. Typical 34 to 100
• VWAP slope bars and trend slope threshold. Typical 4 to 12 bars, threshold 0.05 to 0.15
• Bias scores by regime. ON by default. Turn OFF if you want pure probe math only
UI
• Show signals, probe band, value fill, value lines, signal labels
• Table position and table size
Clean default. Minimal preset with value fill ON, value lines OFF, and labels OFF
Usage recipes
Intraday trend focus
• Preset Standard
• Context timeframe 30
• Bias scores by regime ON
• Accept score threshold 75
• Reject score threshold 80
• Break trigger Close
• Decision delta 20
Intraday mean reversion focus
• Preset Standard
• Mode Prev Day HL or Opening Range
• Bias scores by regime ON
• Reject max closes outside 3
• Reject min sweep 0.35 and snapback 0.20
• Reject score threshold 70
• Decision delta 15
Swing continuation
• Timeframe 60 minutes to 4 hours
• Context timeframe 1 day
• Increase Accept min closes outside and Accept confirm bars
• Increase Max probe bars
• Use Close trigger
• Raise Decision delta
Realism and responsible publication
• No performance claims. Past results never guarantee future outcomes
• No certainty about the future
• Intrabar motion reminder. Shapes can move while a bar forms and settle on close
• Standard candles are recommended. Non standard chart types change OHLC and can alter the meaning of sweeps and snapbacks
Honest limitations and failure modes
• Economic releases and thin liquidity can invalidate sweep and relocation behavior
• Gap heavy symbols can distort intrabar probe stats on small timeframes
• Very quiet regimes reduce score separation. Consider longer windows or higher thresholds
• Session windows use the exchange time of the chart
• Custom mode requires valid upper and lower values or the script will wait
Open source reuse and credits
• None
Legal
Education and research only. Not investment advice. You are responsible for your decisions. Test on historical data and in simulation before any live use. Use realistic costs. Indicator

Kalman Absorption/Distribution Tracker 3-State EKFQuant-Grade Institutional Flow: 3-State EKF Absorption Tracker
SUMMARY
An advanced, open-source implementation of a 3-State Extended Kalman Filter (EKF) designed to track institutional Order Flow. By analyzing 1-second intrabar microstructure data, this script estimates the true Position, Velocity, and Volatility of the Cumulative Volume Delta (CVD), revealing hidden Absorption and Distribution events in real-time.
INTRODUCTION: THE SIGNAL AMIDST THE NOISE
In the world of technical analysis, noise is the enemy. Traditional indicators rely on Moving Averages (SMA, EMA) to smooth out price and volume data. The problem is the "Lag vs. Noise" paradox: to get a smooth signal, you must accept lag; to get a fast signal, you must accept noise.
This indicator solves that paradox by introducing aerospace-grade mathematics to the PulseWire community: The 3-State Extended Kalman Filter (EKF).
Unlike moving averages that blindly average past data, a Kalman Filter is a probabilistic state-space model. It constantly predicts where the order flow "should" be, compares it to the actual measurement, and updates its internal model based on the calculated uncertainty of the market.
This script is not just another volume oscillator. It is a full microstructure analysis engine that digests intrabar data (down to 1-second resolution) to track the true intent of "Smart Money" while filtering out the noise of retail chop.
THE INNOVATION: WHY 3 STATES?
Most Kalman Filters found in public libraries are "1-State" (tracking price only) or occasionally "2-State" (tracking price and velocity). This script introduces a highly advanced 3-State EKF.
The filter tracks three distinct variables simultaneously in a feedback loop:
State 1: Position (The True CVD)
This is the noise-filtered estimate of the Cumulative Volume Delta. It represents the actual inventory accumulation of aggressive buyers versus sellers, stripped of random noise.
State 2: Velocity (The Momentum)
This tracks the rate of change of the order flow. Is buying accelerating? Is selling pressure fading even as price drops? This provides a leading signal before the cumulative value even turns.
State 3: Volatility (The Adaptive Regime)
This is the game-changer. The filter estimates the current volatility of the order flow (Log-Volatility). In high-volatility environments (like news events), the filter automatically widens its uncertainty bands (Covariance) and reacts faster. In low-volatility environments (chop), it tightens up and ignores minor fluctuations.
THE LOGIC: DETECTING ABSORPTION AND DISTRIBUTION
The core philosophy of this indicator is based on Wyckoff Logic: Effort vs. Result.
-- Effort: Represented by the CVD (Buying/Selling pressure).
-- Result: Represented by Price Movement.
When these two diverge, we have an actionable signal. The script uses the EKF Velocity state to detect these moments:
Absorption (Bullish)
This occurs when the EKF detects high negative Velocity (aggressive selling), but Price refuses to drop. The "Smart Money" is absorbing the sell orders via limit buys. The indicator highlights this as a Blue Event in the dashboard.
Distribution (Bearish)
This occurs when the EKF detects high positive Velocity (aggressive buying), but Price refuses to rise. Limit sellers are capping the market. The indicator highlights this as an Orange Event.
TECHNICAL DEEP DIVE: UNDER THE HOOD
For the developers and quants, here is how the Pine Script is architected using the "type" and "method" features of Pine Script v5.
1. Data Ingestion (Microstructure)
The script uses "request.security_lower_tf" to pull intrabar data regardless of your chart timeframe. This allows the script to see "inside" the bar. A 5-minute candle might look green, but the microstructure might reveal that 80% of the volume was selling absorption at the wick. This script sees that.
2. Tick Classification
Standard CVD assumes that if Price Close is greater than Price Open, all volume is buying. This is often flawed. This script offers three modes of tick handling, including a "High-Low Distribution" method that statistically apportions volume based on where the tick closed relative to its high and low.
3. The EKF Mathematics
The script implements the standard Extended Kalman Filter equations manually. It calculates the Jacobian matrix to handle the non-linear relationship between volatility and price. The "Process Noise Matrix" (Q) is dynamically scaled by the Volatility State. This means the mathematics of the indicator literally "breathe" with the market conditions—expanding during expansion and contracting during consolidation.
THE DASHBOARD & VISUALS:
The indicator features a professional-grade HUD (Heads Up Display) located on the chart table.
-- EKF State Vector: Displays the real-time Position, Velocity, and Volatility values derived from the matrix.
-- Ease of Movement (Wyckoff): Calculates how much price moves per 1,000 contracts of CVD. For example, if Price moves +5 points per 1k Buy CVD, but only -2 points per 1k Sell CVD, the "Path of Least Resistance" is clearly UP.
-- Session State: Tracks cumulative confirmed Bullish vs. Bearish events for Today, Yesterday, and the Day Before (3-Day Profile).
-- Bias Summary: An algorithmic conclusion telling you if the day is "Confirmed Bullish," "Accumulating," or "Neutral."
HOW TO TRADE THIS INDICATOR
Strategy A: The Reversal (Absorption Play)
Look for price making a Lower Low.
Look for the EKF Velocity (Histogram) to be Deep Red (High Selling Pressure).
Watch the Dashboard "Absorption" count increase.
SIGNAL: When EKF Velocity crosses back toward zero and turns grey/green, the absorption is complete. This indicates sellers are exhausted and limit buyers have control.
Strategy B: The Trend Continuation (Ease of Movement)
Check the Dashboard "Ease of Movement" section.
If "Price per +1K CVD" is significantly higher than "Price per -1K CVD", buyers are efficient.
Wait for a pullback where EKF Velocity hits the "Neutral Zone" (Gray).
SIGNAL: Enter Long when Velocity ticks positive again, aligning with the dominant Ease of Movement stats.
CONFIGURATION GUIDE:
Because this is a quant-grade tool, the settings allow for fine-tuning the physics of the filter.
-- Velocity Decay: Controls how fast momentum resets to zero. Set high (0.98) for trending markets, or lower (0.85) for mean-reverting chop.
-- Volatility Persistence: Controls how "sticky" volatility regimes are.
-- Process Noise: Increase this if the filter feels too laggy; decrease it if the filter feels too jittery (noisy).
-- Measurement Noise: Increase this to trust the Mathematical Model more than the Price Data (smoother output).
WHY OPEN SOURCE?
Complex statistical filtering is often sold behind closed doors in expensive "Black Box" algorithms. By releasing this 3-State EKF open source, the goal is to raise the standard of development on PulseWire.
I encourage the community to inspect the code, specifically the "ekf_update_3state" function, to understand how matrix operations can be simulated in Pine Script to create adaptive, self-correcting indicators. And also update me for improvements.
DISCLAIMER:
This tool analyzes microstructure volume data. It requires a subscription plan that supports Intrabar inspection (Premium/Pro recommended for best results). Past performance of the Kalman Filter logic does not guarantee future results. Volume analysis is subjective and should be used as part of a comprehensive strategy.
SUGGESTED SETTINGS
-- Timeframe: Works best on 1m, 3m, or 5m charts (Intrabar data is fetched from 1S).
-- Asset Class: Highly effective on Futures (ES, NQ, BTC) and high-volume Forex/Crypto pairs where volume data is reliable.
-- Background: Dark mode recommended for Dashboard visibility.
WHAT IS A KALMAN FILTER?
Imagine driving a car into a tunnel where your GPS signal is lost.
Prediction: Your car knows its last speed (Velocity) and position. It predicts where you are every second inside the tunnel.
Update: When you exit the tunnel, the GPS connects again. The system compares where it thought you were versus where the satellite says you are.
Correction: It corrects your position and updates its estimate of your speed.
Now apply this to trading:
-- The Tunnel: Market Noise, wicks, and Fake-outs.
-- The Car: The True Market Trend.
-- This Indicator: The navigation system that tells you where the market actually is, ignoring the noise of the tunnel.
Enjoy the indicator and trade safe!
Dr. Jay Desai
(Investment Management & Derivatives Area, Gujarat University)
Indicator

BTC ETF Average Inflow Cost BasisConcept
Since the historic launch of Bitcoin Spot ETFs on January 11, 2024, institutional flows have become a major driver of price action. This indicator aims to visualize the aggregate Cost Basis (average entry price) of the major Bitcoin ETFs relative to the underlying asset.
It serves as an on-chain proxy for institutional positioning, helping traders identify critical support levels where ETF inflows have historically concentrated.
How it Works
The script aggregates daily volume data from the top Bitcoin ETFs (IBIT, FBTC, ARKB, GBTC, BITB) and compares it against the Bitcoin price (BTCUSDT).
ETF Cost Basis (Pink Line):
This is calculated as a Cumulative Volume-Weighted Average Price (VWAP), anchored specifically to the ETF launch date (Jan 11, 2024).
Formula: It accumulates (BTC Price * Total ETF Volume) and divides it by the Cumulative Total ETF Volume.
This creates a dynamic level representing the "breakeven" price for the aggregate volume traded through these funds.
True Market Mean (Gray Line):
This represents the simple cumulative average of the Bitcoin price since the ETF launch date. It acts as a neutral baseline for the post-ETF market era.
How to Use
Institutional Support: The Cost Basis line often acts as a strong dynamic support level during corrections. When price revisits this level, it suggests the market is returning to the average institutional entry price.
Trend Filter:
Price > Cost Basis: The market is in a net profit state relative to ETF flows (Bullish/Trend continuation).
Price < Cost Basis: The market is in a net loss state (Bearish/Capitulation risk).
Confluence: The intersection of the Cost Basis and the True Market Mean can signal pivotal moments of trend reset.
Features
Data Aggregation: Pulls data from 5 major ETFs via request.security without repainting (using closed bars).
Dashboard: Includes a table in the top-right corner displaying real-time values for Price, Cost Basis, and Market Mean.
Customization: You can toggle individual ETF Moving Averages in the settings (disabled by default due to price scale differences between BTC and ETF shares).
Disclaimer
This tool is for educational purposes only and attempts to estimate institutional cost basis using volume proxies. It does not represent financial advice.
Indicator

CNagda-MomentumX - Institutional FlowMomentumX is designed to empower traders with a deeper understanding of market movements by focusing on Institutional Flow and advanced market structure analytics. The core goal is to identify and visualize where major market participants are operating, and to translate these complex footprints into clear, actionable trading signals — all in real time.
Real-time institutional activity mapping
Actionable entry and exit signals based on live market structure
Intuitive dashboard and dynamic chart visuals
Fully customizable modules for trend, liquidity, and order blocks
Core Logic Design
At the heart of MomentumX lies a robust algorithmic engine built to capture and surface institutional trading behavior. By leveraging advanced mathematical models, the indicator calculates institutional volume ratios and price momentum to pinpoint aggressive moves from large participants.
Institutional Volume & Price Momentum:
Utilizes custom volume indicators and price change analysis to detect strong buying or selling pressure, filtering out retail noise.
Liquidity Grab Detection & Activity Zones:
The script identifies liquidity grabs by monitoring abrupt price sweeps at major support/resistance levels—often where institutions trigger stop hunts or reversals. All critical activity zones are automatically color-coded on the chart for instant recognition.
Dashboard Visualization:
A fully dynamic dashboard table overlays live scores for accumulation, distribution, strength, and weakness—giving traders a real-time scan of market health.
Trendline & Order Block Architecture:
The logic auto-detects pivot highs/lows to draw smart trendlines, while the order block system highlights key reversal areas and breaker zones—making market structure clear and actionable.
MomentumX is packed with high-performance modules, each engineered to simplify complex market behavior and enhance decision-making for traders:
Institutional Flow Signals:
Instantly identifies spots where institutional players drive momentum, using unique volume and price activity analytics.
Bullish/Bearish Liquidity Grab Detection:
Marks abrupt price moves that signal stop hunts or reversals, letting traders anticipate snap-backs or trend shifts.
Trendline Auto-Detection:
Smartly draws trendlines based on significant swing highs and lows, automatically adjusting as price evolves.
Order Block System (Rejection/Breaker):
Spots and highlights key reversal zones with order block rectangles, confirming rejections or breakouts at strategic levels.
Dashboard and Bar Coloring:
A clean dashboard overlay presents live market scores, while dynamic bar coloring makes trend, strength, and high-activity periods instantly visible.
User Input Toggles for Each Module:
Every major feature is fully customizable—enable or disable modules to match individual trading setups or preferences.
Scripting/Development
MomentumX’s scripting process is modular, enabling clarity, scalability, and fast optimization throughout development:
Initialization & Inputs:
Start by defining all user input options, module toggles, color settings, and calculation parameters—ensuring maximum flexibility early on.
Core Calculation Functions:
Script advanced institutional volume and price momentum algorithms. Build out swing length logic, market state filters, and activity scoring methods.
Detection Engines:
Develop and integrate engines for liquidity grabs, automated trendline detection, and order block identification—each with dedicated functions for speed and precision.
Visual Overlays & Plotting:
Implement powerful plotting logic for colored bars, score dashboards, trendlines, reversal zones, and liquidity markers—making every data point clear and actionable on the chart.
Testing Handlers:
Add diagnostic panels and debug outputs to refine calculations and assure accuracy in every market environment.
Sample Trade Setups (Usage)
Cnagda MomentumX delivers clarity for multiple trading styles by providing timely, actionable setups grounded in institutional behavior and market structure. Here’s how traders can leverage the indicator for confident decision-making:
Liquidity Grab Reversal
Enter trades around detected liquidity grabs when price sweeps major support/resistance and the dashboard signals a momentum shift.
Example: Wait for a bullish/Bearish grab near market lows/high, with institutional flow turning positive/negative—enter long/short for potential mean reversion.
Order Block Breakout
Trade breakouts when price cleanly rejects or flips key order block zones highlighted on the chart.
Example: Short at a marked breaker block after a rejection signal, confirmed by a downward institutional activity spike.
Trendline Continuation
Ride established market moves by entering on trendline confirmations plotted by the auto-detect system.
Example: Go long after a trendline retest, confirmed by a green bar color and dashboard strength score.
Dashboard Confirmation
Combine dashboard metrics (strength, accumulation, distribution) with bar color overlays for multi-factor entries.
Example: Enter trades only when all market signals align in real time for maximum probability.
For Short Entry check -- Weakness : For Long Entry Check - Strength With Other Indications
MomentumX is not just another indicator – it’s your edge for reading the market like an insider. By transparently mapping institutional flow, uncovering hidden liquidity zones, and color-coding every major structure shift, MomentumX transforms complexity into actionable clarity. Whether you’re scalping, swing trading, or investing, you’ll gain a decisive, real-time advantage on every chart.
Embrace smarter decisions, adapt to changing market conditions instantly, and join a new generation of technically empowered traders.
Customize, observe, and let the market reveal opportunities in a way you’ve never experienced before.
Happy Trading Indicator

🧪 Yuri Garcia Smart Money Strategy FULL (Slope Divergence))📣 Yuri Garcia – Smart Money Strategy FULL
This is my private Smart Money Concept strategy, designed for my family and community to learn, trade, and grow sustainably.
🔑 How it works:
✅ Volume Cluster Zones: Automatically detects areas where strong buyers or sellers concentrate, acting as dynamic S/R levels.
✅ HTF Institutional Zones (4H): Higher timeframe trend filter ensures you’re always trading in the direction of major flows.
✅ Wick Pullback Filter: Confirms price rejects the zone, catching smart money traps and reversals.
✅ Cumulative Delta (CVD): Confirms whether buyers or sellers are truly in control.
✅ Slope-Based Divergence: Optional hidden divergence between price & CVD to spot reversals others miss.
✅ ATR Dynamic SL/TP: Adapts stop loss and take profit to live volatility with adjustable risk/reward.
🧩 Visual Markers Explained:
🟦 Blue X: Price inside HTF zone
🟨 Yellow X: Price inside Volume Cluster zone
🟧 Orange Circle: Wick pullback detected
🟥 Red Square: CVD confirms order flow strength
🔼 Aqua Triangle Up: Bullish slope divergence
🔽 Purple Triangle Down: Bearish slope divergence
🟢 Green Triangle Up: Final Long Entry confirmed
🔴 Red Triangle Down: Final Short Entry confirmed
⚡ Who is this for?
This strategy is best suited for traders who understand smart money concepts, order flow, and want an adaptive framework to trade major assets like BTC, Gold, SP500, NASDAQ, or FX pairs.
🔒 Important
Use responsibly, backtest extensively, and combine with solid risk management. This is for educational purposes only.
✨ Credits
Built with ❤️ by Yuri Garcia – dedicated to my family & community.
✅ How to use it
1️⃣ Add to chart
2️⃣ Adjust inputs for your asset & timeframe
3️⃣ Enable/disable slope divergence filter to match your style
4️⃣ Set your alerts with built-in conditions Strategy

Smarter Money Flow Divergence Detector [PhenLabs]📊 Smarter Money Flow Divergence Detector
Version: PineScript™ v6
📌 Description
SMFD was developed to help give you guys a better ability to “read” what is going on behind the scenes without directly having access to that level of data. SMFD is an enhanced divergence detection indicator that identifies money flow patterns from advanced volume analysis and price action correspondence. The detection portion of this indicator combines intelligent money flow calculations with multi timeframe volume analysis to help you see hidden accumulation and distribution phases before major price movements occur.
The indicator measures institutional trading activity by looking at volume surges, price volume dynamics, and the factors of momentum to construct an overall picture of market sentiment. It’s built to assist traders in identifying high probability entries by identifying if smart money is positioning against price action.
🚀 Points of Innovation
● Advanced Smart Money Flow algorithm with volume spike detection and large trade weighting
● Multi timeframe volume analysis for enhanced institutional activity detection
● Dynamic overbought/oversold zones that adapt to current market conditions
● Enhanced divergence detection with pivot confirmation and strength validation
● Color themes with customizable visual styling options
● Real time institutional bias tracking through accumulation/distribution analysis
🔧 Core Components
● Smart Money Flow Calculation: Combines price momentum, volume expansion, and VWAP analysis
● Institutional Bias Oscillator: Tracks accumulation/distribution patterns with volume pressure analysis
● Enhanced Divergence Engine: Detects bullish/bearish divergences with multiple confirmation factors
● Dynamic Zone Detection: Automatically adjusts overbought/oversold levels based on market volatility
● Volume Pressure Analysis: Measures buying vs selling pressure over configurable periods
● Multi factor Signal System: Generates entries with trend alignment and strength validation
🔥 Key Features
● Smart Money Flow Period: Configurable calculation period for institutional activity detection
● Volume Spike Threshold: Adjustable multiplier for detecting unusual institutional volume
● Large Trade Weight: Emphasis factor for high volume periods in flow calculations
● Pivot Detection: Customizable lookback period for accurate divergence identification
● Signal Sensitivity: Three tier system (Conservative/Medium/Aggressive) for signal generation
● Themes: Four color schemes optimized for different chart backgrounds
🎨 Visualization
● Main Oscillator: Line, Area, or Histogram display styles with dynamic color coding
● Institutional Bias Line: Real time tracking of accumulation/distribution phases
● Dynamic Zones: Adaptive overbought/oversold boundaries with gradient fills
● Divergence Lines: Automatic drawing of bullish/bearish divergence connections
● Entry Signals: Clear BUY/SELL labels with signal strength indicators
● Information Panel: Real time statistics and status updates in customizable positions
📖 Usage Guidelines
Algorithm Settings
● Smart Money Flow Period
○ Default: 20
○ Range: 5-100
○ Description: Controls the calculation period for institutional flow analysis.
Higher values provide smoother signals but reduce responsiveness to recent activity
● Volume Spike Threshold
○ Default: 1.8
○ Range: 1.0-5.0
○ Description: Multiplier for detecting unusual volume activity indicating institutional participation. Higher values require more extreme volume for detection
● Large Trade Weight
○ Default: 2.5
○ Range: 1.5-5.0
○ Description: Weight applied to high volume periods in smart money calculations. Increases emphasis on institutional sized transactions
Divergence Detection
● Pivot Detection Period
○ Default: 12
○ Range: 5-50
○ Description: Bars to analyze for pivot high/low identification.
Affects divergence accuracy and signal frequency
● Minimum Divergence Strength
○ Default: 0.25
○ Range: 0.1-1.0
○ Description: Required price change percentage for valid divergence patterns.
Higher values filter out weaker signals
✅ Best Use Cases
● Trading with intraday to daily timeframes for institutional position identification
● Confirming trend reversals when divergences align with support/resistance levels
● Entry timing in trending markets when institutional bias supports the direction
● Risk management by avoiding trades against strong institutional positioning
● Multi timeframe analysis combining short term signals with longer term bias
⚠️ Limitations
● Requires sufficient volume for accurate institutional detection in low volume markets
● Divergence signals may have false positives during highly volatile news events
● Best performance on liquid markets with consistent institutional participation
● Lagging nature of volume based calculations may delay signal generation
● Effectiveness reduced during low participation holiday periods
💡 What Makes This Unique
● Multi Factor Analysis: Combines volume, price, and momentum for comprehensive institutional detection
● Adaptive Zones: Dynamic overbought/oversold levels that adjust to market conditions
● Volume Intelligence: Advanced algorithms identify institutional sized transactions
● Professional Visualization: Multiple display styles with customizable themes
● Confirmation System: Multiple validation layers reduce false signal generation
🔬 How It Works
1. Volume Analysis Phase:
● Analyzes current volume against historical averages to identify institutional activity
● Applies multi timeframe analysis for enhanced detection accuracy
● Calculates volume pressure through buying vs selling momentum
2. Smart Money Flow Calculation:
● Combines typical price with volume weighted analysis
● Applies institutional trade weighting for high volume periods
● Generates directional flow based on price momentum and volume expansion
3. Divergence Detection Process:
● Identifies pivot highs/lows in both price and indicator values
● Validates divergence strength against minimum threshold requirements
● Confirms signals through multiple technical factors before generation
💡 Note: This indicator works best when combined with proper risk management and position sizing. The institutional bias component helps identify market sentiment shifts, while divergence signals provide specific entry opportunities. For optimal results, use on liquid markets with consistent institutional participation and combine with additional technical analysis methods. Indicator

Institutional Support/Resistance Locator🏛️ Institutional Support/Resistance Locator
Overview
The Institutional Support/Resistance Locator identifies high-probability demand and supply zones based on strong price rejection, large candle bodies, and elevated volume . These zones are commonly targeted or defended by institutional participants, helping traders anticipate potential reversal or continuation areas.
⸻
How It Works
The indicator uses a confluence of conditions to detect zones:
• Large Body Candles: Body size must exceed the moving average body size multiplied by a user-defined factor.
• High Volume: Volume must exceed the moving average volume by a configurable multiplier.
• Wick Rejection: Candles must show strong upper or lower wicks indicating aggressive rejection.
• If all criteria are met:
• Bullish candles form a Demand Zone.
• Bearish candles form a Supply Zone.
Each zone is plotted for a customizable number of future bars, representing areas where institutions may re-engage with the market.
⸻
Key Features
• ✅ Highlights institutional demand and supply areas dynamically
• ✅ Customizable sensitivity: body, volume, wick, padding, and zone extension
• ✅ Zones plotted as translucent regions with auto-expiry
• ✅ Works across all timeframes and markets
⸻
How to Use
• Trend Traders: Use demand zones for potential bounce entries in uptrends, and supply zones for pullback short entries in downtrends.
• Range Traders: Use zones as potential reversal points inside sideways market structures.
• Scalpers & Intraday Traders: Combine with volume or price action near zones for refined entries.
Always validate zone reactions with supporting indicators or price behavior.
⸻
Why This Combination?
The combination of wick rejection, volume confirmation, and large candle structure is designed to reflect footprints of smart money. Rather than relying on fixed pivots or subjective zones, this logic adapts to the current market context with statistically grounded conditions.
⸻
Why It’s Worth Using
This tool offers traders a structured way to interpret institutional activity on charts without relying on guesswork. By plotting potential high-impact areas, it helps improve reaction time.
⸻
Note :
• This script is open-source and non-commercial.
• No performance guarantees or unrealistic claims are made.
• It is intended for educational and analytical purposes only.
Indicator

Indicator

Institutional Activity Index [AlgoAlpha]🌟 Introducing the Institutional Activity Index by AlgoAlpha 🌟
Welcome to a powerful new indicator designed to gauge institutional trading activity! This cutting-edge tool combines volume analysis with price movement to derive a unique index that shines a spotlight on potential institutional moves in the market. 🎯📈
Key Features:
🔍 Normalization Period : Adjust the look-back period for normalization to tailor the sensitivity to your trading strategy.
📊 Moving Average Types : Choose from SMA, HMA, EMA, RMA, WMA, or VWMA to smooth the index and pinpoint trends.
🌈 Color-Coded Trends : Instant visual feedback on index trend direction with customizable up and down colors.
🔔 Alerts : Set alerts for when the index shows increasing activity, decreasing activity, or has reached a peak.
Quick Guide to Using the Institutional Activity Index:
1. 📝 Add the Indicator: Add the indicator to favorites. Adjust the normalization period, MA type, and peak detection settings to match your trading style.
2. 📈 Market Analysis: Similar to volume that reflects the amount of collective trading activity, this index reflects an estimate of the amount of trading activity by institutions. A higher value means that institutions are trading the asset more, this can mean selling or buying as the indicator does not indicate direction . Look out for peak signals, which may indicate that institutions have already secured positions in preparation for a move in price.
3. 🔔 Set Alerts: Enable alerts to notify you when there is a significant change in the activity levels or a new peak is detected, allowing for timely decisions without constant monitoring.
How It Works: 🛠
It is common knowledge that institutions trade with high amounts of capital, but employ tactics so as to not move the price significantly when entering on positions. This can be done by entering in times of high liquidity so that when an institution buys, there are enough sellers to cancel out the price movements and prevent a huge pump in price and vice versa. The Institutional Activity Index calculates liquidity by measuring the volume relative to the price range (close-open). This value is smoothed using median and a user defined moving average type and period, enhancing its clarity. If normalization is enabled, the index is adjusted relative to its range over a user-defined period, making the data comparable across different conditions.
Embrace this innovative tool to enhance your trading insights and strategies! 🚀✨ Indicator

Smart Money Interest Index [AlgoAlpha]🌟 Smart Money Interest Index by AlgoAlpha 🌟
Welcome to the innovative Smart Money Interest Index indicator, designed meticulously by AlgoAlpha to revolutionize the way you trade! 📈🧠 This indicator is engineered to decipher the activities of smart money investors relative to the less informed (dumb money) and dynamically display their dominance in the trading landscape through a sophisticated visual index. 🚀💹
🔑 Key Features:
- Smart vs. Dumb Money Analysis: Tracks and compares the movements of smart money (informed investors) and dumb money (general public) within the market to identify potential investment signals.
- Relative Strength Index (RSI) Based Ratios: Utilizes RSI for both smart and dumb money to create a ratio that indicates buying or selling pressures.
- Dynamic Normalization: Employs a long-term peak normalization over a customizable period to ensure the index remains relevant regardless of market conditions.
- Visual Thresholds and Signals: Highlights significant shifts in market dynamics with color-coded thresholds, making it easier to spot changes at a glance.
🛠 How to Use the Smart Money Interest Index:
🔹 🚀 Step 1: Adding the Indicator
- Add the indicator to your favourites.
- Customize the settings according to your analysis needs:
- `Index Period`, `Volume Flow Period`, `Normalization Period`, `High Interest Threshold`
🔹 📊 Step 2: Interpretation of the Index
- Monitor the index plot; a rising index suggests increasing smart money interest, potentially indicating a buying opportunity.
- A value above the high interest threshold (in yellow) highlights significant interest by smart money, suggesting a good time to buy.
🔹 🔔 Step 3: Setting Alerts
- Configure alerts to notify you when the index crosses above the set threshold, enabling you to capitalize on trading opportunities timely and efficiently.
📐 Basic Logic Overview:
The Smart Money Interest Index by AlgoAlpha provides a unique metric that contrasts the investment behaviors of informed (smart money) and general (dumb money) investors. Utilizing the Relative Strength Index (RSI), this indicator evaluates the trading pressure exerted by both groups over specified periods, then forms a ratio of these activities to identify dominance in buying or selling trends. For example, when we see dumb money selling and smart buying, this suggests that the conditions for buying the asset is optimal as smart money is willing to buy the dip. The outputs are normalized against the highest values observed in a user-defined term to maintain consistency through varying market conditions. When the index exceeds a certain threshold, it suggests that smart money presence is particularly strong, possibly indicating that smart money is looking to enter positions on the asset. This tool serves as a sophisticated visual guide to understanding market dynamics and making well-informed trading decisions based on the activities of market-savvy investors. Smart money activity is identified during areas of low volume and the opposite for dumb money, the indicator uses the NVI and PVI metrics as its foundation for smart and dumb money analysis.
📊 Enhance Your Trading Strategy:
Leverage the Smart Money Interest Index to gain deeper insights into market dynamics and enhance your decision-making process with a powerful, data-driven approach. Whether you're looking to identify entry points or set strategic exits, this tool is designed to provide you with the competitive edge you need in the fast-paced world of trading. 🌐✨
Transform your trading with the power of smart money analysis—start using the Smart Money Interest Index today! 🚀🔔
Indicator

Indicator

Indicator
