Hybrid Smart Money Concepts [MarkitTick]💡This indicator provides a comprehensive technical analysis system that combines Market Structure concepts (Smart Money Concepts) with advanced Gap Analysis and a statistical Stress Model. It is designed to help traders identify trend direction, structural pivot points, potential reversal zones (Order Blocks), significant price gaps, and moments of market exhaustion.
Unlike standard ZigZag or Fractal indicators, this script integrates volume, trend maturity, and statistical volatility (Z-Score) to contextually classify price action. By overlaying these elements with a robust Market Structure engine—which identifies Change of Character (CHoCH) and Order Blocks—the tool provides a confluent view of price action.
It automates the detection of institutional footprints, allowing traders to see the structural trend, momentum drivers, and potential exhaustion points simultaneously.
● METHODOLOGY
The script operates on three distinct but complementary logic engines:
• Gap Analysis Engine
This module detects gaps between the previous high/low and the current open. It classifies them into three specific types based on volume and structural context:
Breakaway Gaps: Identified when a gap creates a breakout above a recent Pivot High or below a Pivot Low. This signals the start of a potential new trend.
Exhaustion Gaps: Identified when a gap occurs with high relative volume and meets the Trend Maturity criteria. This often signals the end of a trend.
Runaway Gaps: Standard continuation gaps that occur within a trend.
• Market Structure Engine
Swings and CHoCH: The script uses a left-and-right bar lookback to identify Pivot Highs and Lows. A Change of Character (CHoCH) is plotted when price closes beyond the most recent major pivot.
Order Blocks (OB): Upon a continuation of the trend, the script scans backward to find the extreme candle (the origin of the move) and highlights this zone as an Order Block.
Dynamic Cleanup: Gaps and Order Blocks are automatically removed (mitigated) when price aggressively crosses through their levels.
• Exhaustion & Stress Model
This statistical engine measures market "Stress" by analyzing the impact of price range relative to volume (True Range / Volume).
Calculation: It calculates a Z-Score (Standard Deviation) of this impact.
Logic: When the Z-Score exceeds a specific threshold (Sigma), it indicates a statistical anomaly or "Stress."
Signal: If high stress occurs while price is significantly above the trend baseline, it signals "Buyer Exhaustion." Conversely, high stress below the baseline signals "Seller Exhaustion."
● VISUALS & LEGEND
Before trading, you need to know what the indicator is drawing on your chart:
• Change of Character (CHoCH)
Green Dashed Line: Indicates a Bullish reversal.
Red Dashed Line: Indicates a Bearish reversal.
• Order Blocks (OB)
Green Boxes: Bullish support zones (Buy interest).
Red Boxes: Bearish resistance zones (Sell interest).
Note: Invalidated boxes are automatically deleted.
• Gaps
Blue Box (Breakaway): Strong momentum gap starting a new trend.
Orange Box (Runaway): Continuation gap.
Red Box (Exhaustion): Warning signal; trend may be ending.
• Stress Model Signals
Label "BE" (Red): Buyer Exhaustion. Suggests the bullish move is overextended relative to volume participation.
Label "SE" (Green): Seller Exhaustion. Suggests the bearish move is overextended.
● TRADING STRATEGY
You can use a "Pullback, Continuation & Exhaustion" strategy with this indicator.
• Scenario A: Long Setup (Buying)
Trend Change: Look for a CHoCH label with a Green Dashed Line.
Entry Zone: Look for a Green Order Block (OB) to form.
Confirmation: A Breakaway Gap (Blue) validates the breakout.
Entry: Enter Long when price pulls back into the Green OB.
Exit Warning: If a "BE" (Buyer Exhaustion) label appears, consider tightening stops or taking profit.
• Scenario B: Short Setup (Selling)
Trend Change: Look for a CHoCH label with a Red Dashed Line.
Entry Zone: Look for a Red Order Block (OB) to form.
Confirmation: A Breakaway Gap downwards validates the move.
Entry: Enter Short when price rallies back into the Red OB.
Exit Warning: If an "SE" (Seller Exhaustion) label appears, consider tightening stops or taking profit.
● SETTINGS
• Date Range Filter
Use Date Filter: Toggle time-based filtering.
Start Date: Timestamp to begin calculations.
• Gap Analysis
Min Gap Size: Minimum points required to register a gap.
Logic Inputs: Configures lookback periods and volume multipliers for gap classification.
Visuals: Customize colors for Breakaway, Runaway, and Exhaustion gaps.
• Market Structure
Swing Detection Length: Lookback period for pivot points.
Show CHoCH: Toggle for Change of Character labels.
Show Order Blocks: Toggle for OB boxes.
• Exhaustion & Stress Model
Trend Filter Length: Baseline length for determining trend direction (EMA).
Statistical Lookback: Length for the Z-Score calculation.
Stress Threshold (Sigma): The standard deviation requirement to trigger an exhaustion signal (Default: 2.0).
● DISCLAIMER
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Priceaction
Single Candle Order Block (ICT) [Kodexius]Single Candle Order Block (ICT) is a chart-focused implementation of the ICT style Single Candle Order Block (SCOB) concept. It detects a strict 3 candle displacement pattern and projects the originating “order block candle” as a live zone that extends forward in time until price mitigates it.
The script is designed for practical trading workflows:
- It plots only the most recent active zones (user-defined limit) to keep charts readable.
- It supports optional multi-timeframe (MTF) detection, so you can project higher-timeframe SCOBs onto a lower-timeframe execution chart.
- It includes a mitigation engine (Close or Wick) to automatically invalidate and remove zones once they are decisively broken.
🔹 Features
🔸 ICT Single Candle Order Block Pattern Detection (Bull and Bear)
The indicator identifies a clean displacement sequence that implies a potential order block formed by the middle candle of a 3-candle structure.
Bullish SCOB: bearish candle at , bullish continuation at , then bullish displacement that closes above the prior candle’s high, with a sweep condition on the order block candle’s low.
Bearish SCOB: inverse structure requiring bearish displacement that closes below the prior candle’s low, with a sweep condition on the order block candle’s high.
The plotted zone boundaries are derived from the order block candle:
Top = high
Bottom = low
🔸 Multi-Timeframe Detection (Optional)
The script can compute SCOBs on a selected timeframe and display them on the current chart using request.security. This is ideal for mapping higher-timeframe order blocks onto lower-timeframe execution charts.
If the timeframe input is left empty, detection runs on the chart timeframe.
🔸 Volatility Filter (Optional)
When enabled, detections are filtered by volatility regime:
A SCOB is only displayed if ATR(14) > SMA(ATR(14), 200)
This helps reduce signals during compressed, low-range conditions where displacement patterns are often less meaningful.
🔸 Overlap Control (De-Cluttering)
Before a new zone is added, the script checks for overlap against existing zones of the same direction. If the new zone intersects an existing one, it is ignored. This reduces redundant stacking of zones in the same price area.
🔸 Mean Threshold (50%) Midline (Optional)
Each active SCOB is drawn as a semi-transparent box with:
Direction label text (Bu-SCOB / Be-SCOB)
Optional midpoint line at 50% of the zone height (Mean Threshold)
🔸 Automatic Zone Extension and Object Management
Zones extend forward on each bar to remain visible until mitigation. The script also manages object count and chart cleanliness by:
Keeping internal arrays for bull and bear zones
Removing older stored zones if internal history grows too large
Displaying only the most recent “Active SCOB Limit” zones while hiding older ones
🔸 Alerts
Alerts are provided for newly confirmed detections:
Bullish SCOB Detected
Bearish SCOB Detected
Duplicate prints are prevented by tracking the last detected zone time for each direction.
🔹 Calculations
1) Volatility Regime Check (ATR vs ATR SMA)
float myAtr = ta.atr(14)
float atrSma = ta.sma(myAtr, 200)
bool isVolatile = myAtr > atrSma
If the Volatility Filter is enabled, the script requires isVolatile to be true before creating a SCOB zone.
2) Bullish SCOB Detection Logic
bool isBull = open > close and close > open and close > open and low < low and close > high
Interpretation of the conditions:
open > close confirms the candle at is bearish.
close > open confirms the order block candle at is bullish.
close > open confirms current candle is bullish.
low < low indicates a relative sweep on the order block candle’s low.
close > high confirms displacement by closing above the order block candle’s high.
Zone bounds for a bullish SCOB come from candle :
[isBull, high , low , time , isBear, high , low , time , isVolatile]
3) Bearish SCOB Detection Logic
bool isBear = open < close and close < open and close < open and high > high and close < low
Interpretation of the conditions:
open < close confirms the candle at is bullish.
close < open confirms the order block candle at is bearish.
close < open confirms current candle is bearish.
high > high indicates a relative sweep on the order block candle’s high.
close < low confirms displacement by closing below the order block candle’s low.
Zone bounds for a bearish SCOB also come from candle :
[isBull, high , low , time , isBear, high , low , time , isVolatile]
4) Multi-Timeframe (MTF) Selection
The script runs the detection logic on the chosen timeframe and projects results onto the current chart:
=
request.security(syminfo.tickerid, i_tf, detectLogic())
It also prevents duplicate zone creation by checking the last processed detection time:
var int lastBullTime = 0
var int lastBearTime = 0
if mtf_isBull and mtf_bullTime != lastBullTime
lastBullTime := mtf_bullTime
if mtf_isBear and mtf_bearTime != lastBearTime
lastBearTime := mtf_bearTime
5) Overlap Validation
Before pushing a new zone, overlap is checked against existing zones:
if volPass and not bullArray.hasOverlap(mtf_bullTop, mtf_bullBot)
SCOB newScob = SCOB.new(top = mtf_bullTop, bottom = mtf_bullBot, barStart = mtf_bullTime, isBull = true)
bullArray.push(newScob)
if volPass and not bearArray.hasOverlap(mtf_bearTop, mtf_bearBot)
SCOB newScob = SCOB.new(top = mtf_bearTop, bottom = mtf_bearBot, barStart = mtf_bearTime, isBull = false)
bearArray.push(newScob)
6) Mitigation Logic (Close vs Wick)
Mitigation is evaluated every bar. Bullish zones mitigate below the bottom; bearish zones mitigate above the top:
method isMitigated(SCOB this, string style, float currentClose, float currentHigh, float currentLow) =>
bool mitigated = false
if this.isBull
float price = style == "Close" ? currentClose : currentLow
mitigated := (price < this.bottom)
else
float price = style == "Close" ? currentClose : currentHigh
mitigated := (price > this.top)
mitigated
Market State Intelligence [Interakktive]Market State Intelligence (MSI) is a diagnostic market-context indicator that reveals how the market is behaving — not where price "should" go.
MSI does not generate buy/sell signals. Instead, it classifies market conditions into clear behavioural regimes by continuously measuring:
- DRIVE (directional effort)
- OPPOSITION (absorption / resistance)
- STABILITY (structural persistence)
MSI is designed to answer three practical questions:
- What state is the market in right now?
- Is energy building, releasing, or decaying?
- Is participation aligned with price, or opposing it?
█ WHAT MSI DOES
MSI operates as a real-time regime classification engine that processes each closed bar through three independent measurement systems:
DRIVE — Directional Effort (0–100)
- Displacement efficiency (net progress vs total path)
- Range expansion quality (actual range vs expected ATR range)
- Body dominance (body vs candle range)
OPPOSITION — Absorption / Resistance (0–100)
- Wick pressure (rejection relative to attempt)
- Effort–result gap (high effort, low progress)
- Reversal density (counter-moves frequency)
STABILITY — Persistence (0–100)
- Condition persistence (how long conditions hold)
- Variance score (flip frequency)
- Follow-through consistency (reaction continuity)
These three forces feed a deterministic classifier with hysteresis (anti-flicker) to identify five regimes:
COMPRESSION — low drive, low opposition, higher stability (pressure building, direction unclear)
EXPANSION — high drive, low opposition (directional energy release)
TREND — medium-high drive, higher stability, low-medium opposition (healthy continuation)
DISTRIBUTION — medium drive, high opposition (effort absorbed; progress blocked)
TRANSITION — rapidly rising opposition, low stability (regime breakdown / uncertainty)
█ WHAT MSI DOES NOT DO
- No buy/sell signals, entries/exits, or performance claims
- No prediction of future direction
- No repainting: calculations use closed-bar data only
MSI is a market state layer intended to support your execution framework.
█ VISUAL SYSTEM
MSI uses a layered visual grammar designed to remain readable on live charts:
Regime Ribbon
A thin horizontal band showing the current regime via colour. Ribbon opacity reflects regime confidence (stronger confidence = more visible).
Pressure Envelope (core visual)
A soft corridor around price that expands with Drive and becomes more visible as Opposition increases. This visualises "pressure thickness" around current action (not a volatility band for entries).
Structural Memory
Faint background stains appear where regimes previously failed (e.g., expansion collapsing into absorption). These are behavioural context zones showing where market intention was rejected — not support/resistance.
Regime Change Markers (optional)
Subtle labels appear when regimes transition after confirmation. Useful for replay and education.
Effort Halo (optional)
Candle highlighting when Opposition materially exceeds Drive, indicating absorption/inefficiency.
█ HUD PANEL
The HUD displays:
- Current regime name + colour indicator
- A context gate showing whether conditions are aligned with long-bias or short-bias context (not an entry/exit system)
█ REGIME LEGEND
When enabled, displays:
- A one-line definition of the current regime
- Live Drive / Opposition / Stability values for interpretation
█ TIME-TO-DECISION METER
A visual pressure gauge that tends to fill during Compression (energy building) and drain during Expansion (energy releasing). It is a state-tracking meter, not a timing tool.
█ SETTINGS
MSI — Settings
- Preset Mode: Scalper / Swing / Position
- Analysis Mode (Minimal): ON = subtle visuals, OFF = full intensity
- Regime Ribbon, Structural Memory, HUD Panel, Time-to-Decision Meter, Effort Halo
MSI — Visual Options
- Show Regime Changes: Labels when regime transitions occur
- Show Regime Legend: Definition and live values display
- Panel Position: Move the entire panel anywhere on chart
MSI — Advanced (Tuning)
- Sensitivity (0.5–2.0)
- Smoothing (0.5–2.0)
- Memory Decay (0.5–2.0)
- Visual Intensity (Low / Medium / High)
█ PRESETS EXPLAINED
Scalper
Higher sensitivity + lower smoothing + faster memory decay. Best for 1m–15m monitoring.
Swing (default)
Balanced behaviour. Best for 15m–4H analysis.
Position
Lower sensitivity + higher smoothing + slower memory decay. Best for 4H–1D macro context.
█ STRUCTURAL MEMORY
When a regime fails (example: Expansion → Distribution), MSI creates a memory imprint:
- Fixed stain window (preset dependent)
- Strength decays over time
- Limited to a maximum number of imprints to reduce chart clutter
These zones represent behavioural rejection, not levels.
█ SUITABLE MARKETS
MSI is designed for Forex, Crypto, Indices, Stocks, and Commodities.
Works from intraday to Daily, with particularly strong readability on 15m–4H.
█ DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice, trading recommendations, or solicitation. Trading involves substantial risk. Always use proper risk management and make independent decisions.
Ash_TheTrader: Institutional Truth / Volume Profile
STOP GUESSING. See the Institutional Truth. (No Repaint)
Most retail traders are trading blind. You are looking at lagging moving averages and "magic" lines that disappear when the price moves against them.
The institutions? They are trading Liquidity.
For months, I have been developing a proprietary engine that strips away the noise and reveals the Statistical Truth of the market. This is not just another "buy/sell" indicator. This is an Institutional Liquidity Engine designed to show you exactly where the money is hiding.
Introducing: Ash_TheTrader: Institutional Truth
👁️ What is "The Truth"?
This script utilizes an Auto-Anchored Liquidity Engine that automatically detects the start of true market cycles. It builds a real-time profile of volume, delta, and imbalance to answer one simple question: Who is actually in control?
It features a "Black Box" Signal Engine that refuses to repaint. If it says BIAS ↑ , the institutional flow is bullish. Period.
🚀 Key Features
• 🚫 NO REPAINT Bias: Signals are mathematically locked. They never disappear.
• 🏦 Institutional Logic: It filters out "Retail Traps." If price hasn't reclaimed the Value Level (POC), it won't signal a trade—saving you from buying the top.
• ⚡ Dual-Core Engine: Switch between Swing Mode (Macro Trends) and Scalp Mode (M1/M5 Aggressive Algorithms).
• 🧱 Liquidity Walls: Bright Neon blocks appear where 75%+ of volume is one-sided. This is where you place your limit orders.
📚 Step-by-Step: How to Trade "The Truth"
1. Choose Your Engine
Go to Settings > Algorithm Mode.
• Select "Normal (Swing)" for H1/H4 trend trading (Higher Winrate).
• Select "Scalp (Aggressive)" for M1/M5/M15 (Faster Signals).
2. The "Green Light" Setup (Long)
• Wait for the Dashboard: Look for the signal ✅ SWING BIAS ↑ or ⚡ SCALP BIAS ↑ .
• Check the Trap: Ensure the text does NOT say "⚠️ TRAP."
• Entry: Enter on the close of the candle.
• Stop Loss: Place below the Yellow "Truth" Level (Point of Control) or the recent Swing Low.
3. The "Brick Wall" Scalp
• If you see a bright NEON RED block appear on the profile, that is a Bearish Wall .
• Price will often bounce off this level aggressively.
• Strategy: Place a Sell Limit order at the Neon Red block for a quick reaction trade.
4. The Divergence Warning
• Keep an eye on the bottom banner of the dashboard.
• If you are Long, but you see a big RED "BEARISH DIV" warning, take profit immediately. The institutions are leaving the trade.
⚠️ A Warning
This tool is powerful, but it reveals the reality of the market. Sometimes the Dashboard will say "⚠️ ACCUMULATING" or "⚠️ NEUTRAL."
Do not force a trade. The secret to a high winrate is knowing when not to trade. Let the engine do the work.
Add it to your chart now. Stop guessing.
Cheers,
@Ash_TheTrader
[uPaSKaL] Adaptive Swing StructureOverview :
Adaptive Swing Structure identifies and labels swing structure using HH / HL / LH / LL and can optionally draw wave connectors between successive swing points.
The goal is to provide a clean, practical view of market structure that remains readable across different market conditions.
Instead of relying only on a classic fixed-window pivot scan (left/right bars), this indicator uses an adaptive swing-detection approach designed to better match how traders visually interpret legs and structure.
Why this approach (vs. a simple pivot scan)?
Classic pivot scans (e.g., “pivot high/low with left/right bars”) are simple and widely used, but they often have practical limitations:
They depend heavily on a fixed window size (too sensitive in chop, too slow in trends)
They can mark pivots that are locally valid but not always representative of the broader leg
They may produce frequent structure changes during ranges, reducing readability
What you get with this indicator
A more stable swing structure view that adapts to price movement
Cleaner HH / HL / LH / LL labeling for context and decision-making
Optional wave connectors to visually follow the swing path
Visual comparison:
The screenshots below illustrate the difference in how structure can appear when using a classic pivot scan versus Adaptive Swing Structure.
Classic Pivot Points (High / Low):
Adaptive Swing Structure (This Indicator):
How to read the labels
This indicator labels swing structure using the standard notation:
HH = Higher High
HL = Higher Low
LH = Lower High
LL = Lower Low
How to interpret Wave Lines
When enabled, wave lines connect successive swing points to help you visually track the current swing path and structural transitions.
Inputs guide
Tracer Line Len
Main sensitivity control. Adjust this to fit the instrument and timeframe.
Higher values → fewer swing points, smoother structure (macro view)
Lower values → more swing points, more detail (micro view)
Show Wick (High / Low) Line
Shows the wick-based tracer (visual reference).
More sensitive to extremes and wick behavior
Useful when wicks matter (liquidity spikes / stop-runs)
Show Body (Open / Close) Line
Shows the body-based tracer (visual reference).
Filters wick noise and often looks smoother
Useful when you prefer structure based on candle bodies
Show Slope Flip Labels
Shows small markers that highlight swing turning moments (study/verification).
Helpful for understanding where structure updates
Optional and can be disabled for a cleaner chart
Wave Labels (WICK)
Shows HH/HL/LH/LL labels using wick-based swings.
More responsive to wick extremes
Wave Lines (WICK)
Connects wick-based swing points with wave lines.
Improves visual continuity of swings
Wave Labels (BODY)
Shows HH/HL/LH/LL labels using body-based swings.
Typically smoother and less sensitive to wick spikes
Wave Lines (BODY)
Connects body-based swing points with wave lines.
Cleaner wave path for body-based structure
Max Wave Labels Kept (per Wick / Body)
Limits the number of labels kept on the chart (older ones are removed first).
Reduces clutter
Helps maintain performance
Max Wave Lines Kept (per Wick / Body)
Limits the number of wave lines kept on the chart (older ones are removed first).
Keeps the chart readable
Helps maintain performance
History Window (map size / scan clamp)
Performance / stability control for how much recent history is considered.
Higher values → more history considered, higher CPU usage
Lower values → lighter execution, structure limited to more recent swings
Usage / Tuning
1) Find “your number” for each market
There is no universal best setting. The optimal Tracer Line Len depends on:
Instrument volatility
Your trading timeframe
Whether you want micro structure or macro structure
2) Build a simple baseline
Choose your chart timeframe (e.g., 4H).
Start with a moderate Len (e.g., 10–30).
Increase or decrease Len until the swing structure matches how you would manually map it.
3) Practical “timeframe scaling” intuition
You can use Len to “zoom out” or “zoom in” structure without changing your chart timeframe.
Example on 4H :
If Len = 20 produces the swing structure you want for 4H decisions, keep it as your baseline.
If you increase it to something like Len = 120 , the structure becomes much smoother and swing points appear less frequently.
This means:
4H with a smaller Len → focuses on 4H-level swings (more detail).
4H with a much larger Len → filters many local swings and highlights broader legs (more “higher-timeframe-like” context).
This is not a strict mathematical replacement for switching timeframes, but it is a practical and effective way to compress or expand structure density on the same chart.
4) Wick vs Body (which one to choose?)
WICK : Choose when extreme wicks matter to your reading of structure.
BODY : Choose when you want smoother structure and less sensitivity to wick spikes.
5) Suggested workflow for active traders
Use one preset for local structure (entries / short-term decisions).
Use a second preset with a larger Len for higher-level context (major swings / directional bias).
V-Max L2B: SMC Terrain Map (Institutional Order Flow)🛡️ 【V-Max】L2B: SMC Terrain Map & Institutional Order Flow Engine
Overview V-Max L2B Terrain Map is a professional-grade structural analysis tool based on Smart Money Concepts (SMC). It automatically identifies and projects institutional Supply/Demand zones, Fair Value Gaps (FVG), and Order Blocks (OB), providing traders with a high-fidelity "topographical" view of market liquidity and structural shifts.
Technical Methodology & Originality L2B goes beyond simple price marking by employing a sophisticated object management and tactical filtering engine:
Dynamic Mitigation & Sweeping Engine: The script utilizes a custom SMCBox data structure to track institutional zones in real-time. It features a "Physical Mitigation Detection" system that automatically invalidates zones (marked with ✘) when price action effectively sweeps the liquidity, ensuring traders only focus on fresh, unmitigated levels.
Auto-Gap Space Filter (R:R Safeguard): This original logic ensures trade quality by calculating the struct_gap between local highs and lows. It requires a minimum gap of at least 1.5x ATR before validating "War God" tactical signals, preventing entries into low-probability "Choke Zones".
Tactical "War God" Decision Logic: Unlike static indicators, L2B integrates a decision-making layer based on EMA10 proximity and structural buffers. It identifies "Tactical Entry Points" only when price action resonance occurs at optimized structural coordinates.
Institutional Flow Visualization: The engine renders BoS (Break of Structure) and CHoCH (Change of Character) markers with precision timing, allowing traders to visualize the transition between bearish and bullish market environments instantly.
How to Use
Zone Confluence: Identify high-probability setups when the "War God" tactical labels align with unmitigated Order Blocks (OB).
Trend Transitions: Monitor "🛡️ Retreat" labels for early warnings of structural failure and trend reversal.
產品概述 V-Max L2B SMC 撐阻地形圖是一款基於聰明錢概念 (SMC) 的專業級結構分析工具。它自動識別並投影機構級的供應/需求區、失衡缺口 (FVG) 與訂單塊 (OB),為交易者提供市場流動性與結構轉變的高清晰度「地形」視野。
技術邏輯與原創性 L2B 的核心價值在於其精密的物件管理與戰術過濾引擎:
動態失效與清掃引擎:採用自定義 SMCBox 數據結構,具備「物理失效檢測」系統。當價格有效清掃流動性時,系統會自動標註失效 (✘),確保交易者僅關注最新且未被觸碰的有效區間。
自動空間過濾器 (盈虧比防護):內建原創邏輯,計算局部高低點間的 struct_gap。只有當空間超過 1.5 倍 ATR 時,系統才會允許發射戰神指令,有效避開無利潤空間的「窒息區」。
戰神決策邏輯:整合基於 EMA10 趨向與結構緩衝區的決策層,僅在價格行為與結構座標產生共振時標註「戰術進場點」。
This is an Invite-only indicator for V-Max professional members. To obtain authorization, please provide your TradingView ID to: 👉 Telegram: @VMax_Helper_bot
Disclaimer: This script is for technical analysis reference only. Always practice strict risk management.
Price Action ICT SMC - Crypto Lidya (Lite)Price Action • ICT • SMC — Crypto Lidya (Lite)
Short title: PA Lite — Crypto Lidya
ONE CHART. ONE FLOW. TEXTBOOK PA + ICT + SMC.
This is not “more drawings”. It’s a structured, rule-based framework that merges:
Market Structure + Liquidity + Confirmation → into a single decision flow.
Core textbook sequence:
Liquidity → (IDM) → Displacement → CHoCH / BOS → Return to PD / OB / FVG / BPR
Built for traders who want clean context, multi-timeframe discipline, and professional-grade confluence
without turning the chart into a mess.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT YOU GET (HIGHLIGHTS)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Market Structure engine: CHoCH + BOS with configurable confirmation logic
- Liquidity context: EQH/EQL sweeps + deterministic “linking” to structure breaks
- HTF Bias (Regime Filter): optional direction gating for cleaner, textbook alignment
- TF Bias Table (Multi-TF dashboard): “at-a-glance” bias stacking with reasons
- PD Range (Premium/Discount): dealing-range alignment filter (OB / FVG or both)
- Displacement filter: impulse-quality confirmation (Body% / ATR / Close-position)
- Killzones / Sessions: time-window validation (London / NY AM / NY PM)
- FVG + BPR: imbalance mapping + balanced range overlap logic
- OB / BB engine: source models, refinement, quality filters, strength scoring, overlap pruning
- Alerts + Webhook-ready output: Human / JSON format, HTF gate, cooldown controls
“Structure + Liquidity + Confirmation in one workflow (no clutter).”
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
QUICK START (RECOMMENDED FLOW)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1) Performance
- Set Lookback Window (bars) to match your chart speed/history needs.
- View when “Lookback Window (bars)” is increased (with “Limit to Nearest” OFF / all zones visible).
- View when “Lookback Window (bars)” is decreased (with “Limit to Nearest” OFF / all zones visible).
2) Regime & Multi-TF Context (ICT)
- Enable HTF Bias if you want direction filtering.
- Use TF Bias Table to verify alignment across your chosen timeframes.
3) Timing Filter (Optional)
- Enable Killzones / Sessions to focus on high-liquidity delivery windows.
4) Confirmation Quality
- Enable Displacement filter to reduce range noise / weak breaks.
5) Structure Execution (SMC)
- Use CHoCH / BOS for the “break confirmation” layer.
- Use Buffers / Confirm Modes for stricter or faster validation.
6) Zones & Returns
- Use PD Range to validate where setups “should” form (Premium/Discount).
- Map FVG / BPR and OB / BB for return-to-zone models.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MODULES (TEXTBOOK EXPLANATION)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1) HTF BIAS (REGIME FILTER)
HTF Bias acts as your directional framework (macro context).
When enabled, signals can be suppressed if they conflict with the HTF direction.
Two professional ways to define bias (you choose via Trend Mode):
A) Swing Structure Bias (HH/HL – LH/LL) — “stable”
- Uptrend requires HH + HL confirmation
- Downtrend requires LL + LH confirmation
- Best when you want fewer, higher-quality flips
B) Legacy / Break of Extreme — “faster”
- Bias can flip as soon as a new pivot breaks the last major extreme
- Best for aggressive / fast markets (but can be noisier)
2) TF BIAS TABLE (MULTI-TIMEFRAME DASHBOARD)
The TF Bias Table is built for disciplined multi-timeframe execution:
- Answers “Are higher TFs aligned?” in seconds
- Helps you avoid taking LTF triggers against HTF context
- Can show reasoning text (optional) to keep the logic transparent
Bias calculation options (Table Bias Mode):
- Swing Structure Bias (HH/HL – LH/LL): more stable, flips later
- Structure-Scope Bias (msStructScope aligned): follows your chosen structure scope and flips faster
Hybrid rule is deterministic:
External dominates; if External is not ready, fallback to Internal.
Provisional Bias (UI only, optional):
- If pivots are not fully confirmed, the table can display a provisional bias based on HTF candle direction
- UI only (does not change signals)
3) PD RANGE (PREMIUM / DISCOUNT)
PD Range defines where price is “dealing” relative to its midpoint (50%):
- Bullish context → Discount is preferred
- Bearish context → Premium is preferred
You can apply PD filtering to:
- OB + FVG (default), OB only, or FVG only
Optional strict mode:
- Require the level/zone to remain fully inside the dealing range (more textbook)
“Discount buys / Premium sells with a clear dealing range reference.”
4) DISPLACEMENT (IMPULSE CONFIRMATION)
Displacement filter keeps breaks “honest”.
CHoCH/BOS confirms only if the break candle shows real intent:
- Body dominance (Body% rule)
- Volatility expansion (ATR multiple rule)
- Close position in break direction (optional strictness)
This is designed to reduce fake breaks in ranges and thin-liquidity periods.
“Impulse-quality break passes; weak range poke fails.”
5) KILLZONES / SESSIONS (TIME-WINDOW VALIDATION)
Session gating is a professional timing filter:
- Validate structure breaks/sweeps only inside enabled windows
- Focus execution during high-liquidity delivery hours (London / NY AM / NY PM)
“Cleaner signals when you trade only the active delivery windows.”
- Normal vs Killzone:
6) MARKET STRUCTURE (CHoCH / BOS)
CHoCH (Change of Character):
- Signals a character shift by breaking a key protected point (optionally)
BOS (Break of Structure):
- Confirms continuation breaks in the current structure direction
Confirmation controls:
- Close / Wick / Body / combined modes
- Optional buffers (Ticks or Percent) to reduce micro-noise
Optional Protected Swing Mode:
- Uses protected HL/LH as reference (closer to classic SMC)
7) LIQUIDITY (EQH/EQL SWEEPS + LINKING)
Liquidity sweeps identify stop-runs / grabs around equal highs/lows:
- Wick Only: faster tagging
- Wick + Close Back: more textbook (grab + rejection)
Link Window (bars) ties a sweep to the next CHoCH/BOS:
- Smaller window = stricter context
- Larger window = more permissive linking
8) FVG + BPR (IMBALANCE & REBALANCE)
FVG (Fair Value Gap):
- Shows active imbalances and mitigation behavior
- Optional size filter (Percent / ATR / Ticks / Absolute)
BPR (Balanced Price Range):
- Overlap zone formed by Bull FVG + Bear FVG
- Used as a confluence zone for rebalance and continuation models
9) OB / BB (ZONES)
Order Blocks (OB):
- Anchored to BOS/CHoCH breaks or derived from displacement candles (source mode)
- Refinement modes: Body / Wick / Mean Threshold
- Optional quality filter (Balanced / Strict, etc.)
- Strength scoring + confluence bonuses (FVG overlap, liquidity context)
- Overlap pruning keeps the chart clean and relevant
Breaker Blocks (BB):
- Derived from invalidated OBs
- Can show inherited strength % (optional)
- Cleanup options preserve performance without deleting open zones
10) ALERTS (REALTIME / WEBHOOK)
- Enable Alerts: master switch
- Choose Human or JSON message format
- Optional gates: HTF Bias alignment, cooldown (anti-spam)
TradingView setup tip:
Use alert condition = “Any alert() function call” for full detail messages.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LITE / COMMUNITY ROADMAP (IMPORTANT)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This is the free Lite / Community release.
To keep this project sustainable and continue improving it for the community:
- This Lite edition is planned to become limited to 3 symbols in a future update (e.g., BTC / ETH / SOL).
- The full, unrestricted version (all symbols + advanced upgrades) will be released separately as the PRO edition.
You’ll always see clear release notes before major changes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMERS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Educational / analytical tool only. Not financial advice.
- No guarantees. Always manage risk.
- “ICT / SMC” terminology is used as a category reference to commonly known concepts.
This script is not affiliated with any third-party educator or brand.
Gann Odd-Number Levels (Raw Scale)Gann Odd‑Number Levels (Raw Scale)
A clean, purpose‑built pane that visualizes Gann’s odd‑number sequence (1, 5, 9, 17, 25, 37, 49, 65, 81…) on its native scale, while syncing to price via an adaptive anchor. The result: raw Gann structure is easy to read, and you can quickly see how price reacts around each level.
Key features
Raw Gann scale in its own pane (no distortion from price scale)
Pan/zoom aware anchoring via Visible Range or Follow Price
Center level toggle to show the exact midpoint Gann
Readable labels like G17(4) with optional price mapping
Fine UX control for line widths, opacity, colors, label size & offset
Label format
G17(4) = Gann integer 17, sequence index/root 4
Optional | price lets you see the mapped price level
How to use
Default mode tracks price so you always see the nearest Gann structure.
Switch to Visible Range to analyze structure based on what’s on screen.
Increase label offset if you stack multiple indicators.
If you find it useful, leave a like and let me know what you’d like to see next!
Inducement [Kodexius]Inducement is a market structure overlay indicator designed to help you contextualize liquidity driven pullbacks inside an established structural trend. Rather than treating every sweep or wick as equal, it frames “inducement” as a selective event that tends to appear after structure has shifted and price is engineering a retracement to attract late participants, clear nearby liquidity, and create fuel for continuation.
At a high level, the script separates price action into two layers:
External (macro) structure to define meaningful swing points and detect structural shifts (Break of Structure).
Internal (micro) structure to locate the more subtle swing levels that are commonly targeted during retracements.
Once a valid structural break establishes directional context, the indicator looks for a characteristic internal level raid that occurs without invalidating the broader structure (i.e., structure remains “protected”). When that raid is followed by evidence of intent/continuation (displacement style behavior), the event is marked as an inducement and plotted directly on the chart.
The result is a clean, rules based way to highlight high probability “pullback bait” zones helping you distinguish between random noise and a retracement that is more consistent with structured continuation behavior.
🔹 Features
🔸 Dual Layer Swing Engine (Internal vs External)
Internal and external swing detection work together to separate micro structure from macro structure. Internal swings capture nearer term pivot behavior, while external swings define the larger structural framework. Sensitivity can be tuned through swing length inputs, and historical depth can be managed to keep the chart clean and performance stable.
🔸 Break of Structure (BOS) Context Filter
BOS acts as a context gate that defines the active directional regime. Rather than generating signals in isolation, inducement evaluation is tied to structural context, enabling cleaner interpretation of “what matters now” versus what is simply historical noise.
🔸 Structure Protection (Invalidation Awareness)
A key differentiator is the emphasis on structure staying intact. Inducement candidates are only considered while the relevant macro framework remains protected. This helps filter out pullback like events that are actually part of a reversal or breakdown sequence, keeping attention aligned with continuation friendly conditions.
🔸 Inducement Detection With Optional Sweep Strictness
Inducements are derived from internal levels that form around post break retracement behavior levels that are commonly “targeted” during pullbacks. You can choose a stricter interpretation (e.g., close confirmation) for stronger validation, or a more permissive interpretation if you prefer to capture wick based raids while still requiring follow through behavior.
🔸 Intent / Displacement Confirmation (Volatility Aware)
To reduce false positives from shallow noise, the script incorporates a volatility aware confirmation layer. This helps ensure the marked event is not just a minor sweep, but is followed by behavior more consistent with directional commitment improving selectivity across different assets and market conditions.
🔸 Clean On Chart Visualization (BOS + IDM Levels)
The overlay is designed to be readable and practical: BOS levels are presented clearly, and inducements are marked with distinct level styling and labeling (bullish vs bearish). The visual output aims to support fast decision making without overwhelming the chart.
Bullish IDM:
Bearish IDM:
🔸 Chart Hygiene Controls (Limit Visible History)
You can limit how many historical inducements remain visible to prevent clutter especially helpful on lower timeframes or long sessions. This keeps focus on the most relevant, recent structural narrative.
🔸 Designed for Confluence Based Trading Workflows
This indicator is best used as a context + trigger assistant, not a standalone entry system. It integrates naturally with higher timeframe bias, session logic, supply/demand mapping, execution models, and risk planning providing structure aligned pullback references you can combine with your own confirmations.
SMC Post-Analysis Lab [PhenLabs]📊 SMC Post-Analysis Lab
Version: PineScript™ v6
📌 Description
The SMC Post-Analysis Lab is a dedicated hindsight analysis tool built for traders who want to understand what really happened during any historical trading period. Unlike forward-looking indicators, this tool lets you scroll back through time and instantly receive algorithmic classification of market states using Smart Money Concepts methodology.
Whether you’re reviewing a losing trade, studying a successful session, or building your pattern recognition skills, this indicator provides immediate context. The expansion-aware algorithm processes price action within your selected window and outputs clear, actionable classifications ranging from Parabolic Expansion to Consolidation Inducements.
Stop relying on subjective post-trade analysis. Let the algorithm objectively tell you whether institutional players were accumulating, distributing, or running inducements during your trades.
🚀 Points of Innovation
First indicator specifically designed for SMC-based post-trade review rather than live signal generation
Dual-mode analysis system allowing both dynamic scrollback and precise date selection
Expansion-aware classification algorithm that weighs range position against net displacement
Real-time efficiency metrics calculating directional quality of price movement
Integrated visual FVG detection within the analysis window only
Interactive table with clickable date range adjustment via chart interface
🔧 Core Components
Pivot Detection Engine: Uses configurable pivot length to identify significant swing highs and lows for structure break detection
Window Calculator: Determines active analysis zone based on either bar offset or timestamp boundaries
Data Aggregator: Tracks window open, high, low, close and counts bullish/bearish structure break events
State Classification Algorithm: Applies hierarchical logic to determine market state from six possible classifications
Visual Renderer: Draws structure breaks, FVG boxes, and window highlighting within the active zone
🔥 Key Features
Sliding Window Mode: Use the Scroll Back slider to dynamically move your analysis zone backwards through history bar-by-bar
Date Range Mode: Select specific start and end timestamps for precise session or trade review
Six Market State Classifications: Parabolic Expansion (Bull/Bear), Bullish/Bearish Order Flow, Accumulation/Distribution Reversal, and Consolidation/Inducement
Range Position Percentile: See exactly where price closed relative to the window’s high-low range as a percentage
Bull/Bear Event Counter: Quantified count of structure breaks in each direction during the analysis period
Efficiency Calculation: Net move divided by total range reveals trending quality versus chop
🎨 Visualization
Blue Window Highlight: Active analysis zone is clearly marked with blue background shading on the chart
Structure Break Lines: Dashed lines appear at each bullish or bearish structure break within the window
FVG Boxes: Fair Value Gaps automatically render as semi-transparent boxes in bullish or bearish colors
Dashboard Table: Top-right positioned table displays State, Analysis description, and Metrics in real-time
Color-Coded States: Each classification uses distinct coloring for immediate visual recognition
Interactive Tip Row: Optional help text guides users on clicking the table to adjust date range
📖 Usage Guidelines
General Configuration
Analysis Mode: Default is Sliding Window. Choose Date Range for specific timestamp analysis.
Sliding Window Settings
Scroll Back (Bars): Default 0. Increase to move window backwards into history.
Window Width (Bars): Default 100. Range 20-50 for scalping, 100+ for swing analysis.
Date Range Settings
Start Date: Select the beginning timestamp for your analysis period.
End Date: Select the ending timestamp for your analysis period.
Visual Settings
Show Help Tip: Default true. Toggle to hide instructional row in dashboard.
Bullish Color: Default teal. Customize for bullish elements.
Bearish Color: Default red. Customize for bearish elements.
SMC Parameters
Pivot Length: Default 5. Lower values (3-5) catch minor breaks. Higher values (10+) focus on major swings.
✅ Best Use Cases
Post-trade review to understand why entries succeeded or failed
Session analysis to identify institutional activity patterns
Trade journaling with objective algorithmic classifications
Pattern recognition training through historical scrollback
Identifying whether stop hunts were inducements or legitimate breaks
Comparing your real-time read versus what the algorithm detected
⚠️ Limitations
Designed for historical analysis only, not live trade signals
Classification accuracy depends on appropriate pivot length for the timeframe
FVG detection uses simple gap logic without mitigation tracking
State classification is based on window data only, not broader context
Requires manual scrolling or date input to review different periods
💡 What Makes This Unique
Purpose-Built for Review: Unlike most indicators focused on live signals, this is designed specifically for post-trade analysis
Expansion-Aware Logic: Algorithm weighs both position in range AND directional efficiency for accurate state detection
Interactive Date Control: Click the dashboard table to reveal draggable anchors for window adjustment directly on chart
🔬 How It Works
1. Window Definition:
User selects either Sliding Window or Date Range mode
System calculates which bars fall within the active analysis zone
Active zone receives blue background highlighting
2. Data Collection:
Algorithm captures window open, running high, running low, and current close
Structure breaks are detected when price crosses above last pivot high or below last pivot low
Bullish and bearish events are counted separately
3. State Classification:
Range Position calculates where close sits as percentage of high-low range
Efficiency calculates net move divided by total range
Hierarchical logic applies priority rules from Parabolic states down to Consolidation
4. Output Rendering:
Dashboard table updates with State title, Analysis description, and Metrics
Visual elements render within window only to keep chart clean
Colors reflect bullish, bearish, or neutral classification
💡 Note:
This indicator is intended for educational and review purposes. Use it to develop your understanding of Smart Money Concepts by analyzing what institutional order flow looked like during historical periods. Combine insights with your own analysis methodology for best results.
Strat Structure Engine + Trapped TradersStrat Structure Engine + Trapped Traders – Detailed Description
This script identifies high-probability market structure patterns known as “The Strat” setups, specifically focusing on 3-bar → Failed 2, 2-bar → Failed 2, and Failed 2 → Failed 2 (“Dragon’s Tail”) sequences. It is designed to help traders visualize potential reversals, trapped traders, and exhaustion points directly on the chart, combining price action, volatility, and volume metrics to grade signal strength.
Key Features:
3-Bar → Failed 2 (Tiered Scoring):
Detects a 3-bar structure followed immediately by a strict Failed 2 bar.
Evaluates the setup using four criteria:
3-bar range relative to ATR
Failed 2 close position relative to the 3-bar midpoint
Failed 2 body-to-range ratio
Volume relative to recent average
Assigns a tier (A+, A, B, or —) to indicate reliability, giving traders a graded view of signal strength.
2-Bar → Failed 2 (A+ Only):
Identifies strict 2-bar structures immediately followed by a Failed 2 bar.
Uses a similar evaluation system as 3→F2 but filters only for the strongest A+ setups.
Highlights signals where price shows strong directional rejection and high probability for reversal.
Dragon’s Tail – Failed 2 → Failed 2:
Captures consecutive Failed 2 bars in opposite directions, a classic trapped-trader scenario.
Signals both bullish and bearish sequences on bar close, helping traders spot potential quick reversals.
How It Works:
Uses ATR to contextualize bar ranges and volatility.
Incorporates volume averaging to detect unusually high trading activity that validates the strength of a Failed 2 setup.
Strict bar evaluation ensures only fully-formed, confirmed patterns are labeled, reducing noise and false signals.
Optional labels and alerts allow traders to track these structures in real-time or on bar close.
Practical Trading Use:
Ideal for spotting short-term exhaustion points, trapped traders, and reversal zones.
Can be used alongside liquidity zones, VWAP, and fair value gaps to refine entries and exits.
Traders can focus on high-tier signals (A+ / A) for higher probability trades, while lower-tier signals (B) indicate caution or context setups.
Customization Options:
Toggle visibility for each pattern type (3→F2, 2→F2, F2→F2).
Adjust ATR length and volume average period for different instruments or timeframes.
Alerts are available for all major setups, enabling integration with automated monitoring or manual execution strategies.
Summary:
The Strat Structure Engine + Trapped Traders script combines price action structure, volatility, and volume analysis to visualize high-probability reversal setups. By highlighting both strict pattern confirmations and tiered reliability, it provides traders with actionable insight into potential turning points, trapped trader scenarios, and high-conviction market moves without relying on external scripts or assumptions.
NCAT Supply & Demand Zones (BoS + Retest Fade)NCAT for TradingView draws Supply and Demand zones based on a simple Break of Structure (BoS) approach using pivot highs/lows.
When a bullish BoS occurs, it searches back for the most recent qualifying bearish “base candle” and creates a Demand zone.
When a bearish BoS occurs, it searches back for the most recent qualifying bullish “base candle” and creates a Supply zone.
Core logic
Structure (BoS): detected when price closes beyond the last pivot high/low.
Base candle selection: searches back a configurable number of bars and requires a minimum candle body size.
Zone source: draw zone from Wick (high/low) or Open (open + wick boundary depending on zone type).
Zone behavior: zones extend to the right, can fade on retests, and optionally delete when broken by a close beyond the distal line.
Inputs
Session filter (optional): only create new zones during a user-defined session/timezone.
Pivot length: controls pivot detection sensitivity.
Search back / Min body points: controls base candle qualification.
Extend / Max zones / Fade controls: manage performance and chart clutter.
Midline: optional 50% level visualization.
Notes
This is an educational tool and does not predict market direction.
Different symbols have different “point” conventions; adjust “Min body size (points)” accordingly.
Created by: Fernando Fortini
Price Action High 2 + Risk/Reward VisualizerIntroduction: Price Action High 2 (Bull Flag) Setup
This script identifies the High 2 (H2) setup, a staple price action pattern popularized by Al Brooks. The High 2 is a high-probability continuation pattern designed to catch the resumption of a bull trend after a two-legged pullback (a "complex" bull flag).
In a strong uptrend, the first attempt to end a pullback often fails (High 1). The High 2 represents the second, and usually more reliable, attempt by bulls to take control, often forming a "double bottom" structure within the flag.
How the Logic Works
The indicator follows a strict state-machine logic to ensure the pattern is valid:
Trend Confirmation: The script filters for an established uptrend where price is above a rising EMA (adjustable in settings).
Pullback Identification: It looks for a sequence of bars making lower highs.
High 1 (H1): The first bar in the correction that breaks above the high of the prior bar.
The Second Leg: The script then waits for the price to again fail to break a high, confirming a second leg of the pullback.
High 2 (H2): The signal is triggered when a bar breaks the high of the previous bar for the second time.
Key Features
Signal Bar Quality Filter: Not all High 2s are equal. This script includes a filter ensuring the signal bar closes in the upper portion of its range (bullish conviction) to avoid "weak" breakouts.
Automated Risk/Reward Visualizer: Upon a signal, the script automatically projects a Stop Loss (at the signal bar low) and a Take Profit level based on a customizable R:R ratio.
Clean Visuals: Labeled "H2" markers and dashed trend lines keep the chart uncluttered.
How to Trade It
Entry: Place a buy-stop order 1 tick above the High 2 signal bar.
Stop Loss: Traditionally placed below the low of the signal bar or the most recent swing low.
Target: Common targets include a 1:2 Risk/Reward ratio or the previous major swing high.
Settings Guide
EMA Length: Adjust this to match your timeframe (e.g., 20 for intraday, 50 for daily).
Min Close %: Set this to 50% or higher to ensure you only take trades where the bulls finished the bar strong.
Risk:Reward Ratio: Customize your profit targets to align with your personal trading plan.
Liquidity Void and Repair EngineLiquidity Void & Repair Engine
OVERVIEW
The Liquidity Void & Repair Engine is a high-fidelity institutional order flow tool designed to identify and track "Market Imbalances" or "Fair Value Gaps" (FVG). Unlike standard gap indicators that clutter the chart with every minor price jump, this engine uses Volatility-Adjusted Range Mapping to isolate high-conviction voids where price moved so rapidly that liquidity was left "unfilled."
The standout feature of this tool is its Active Repair Logic. The engine doesn't just draw static boxes; it monitors price action in real-time to determine when an imbalance has been "healed" by subsequent trading volume, providing a dynamic look at where the market has "unfinished business."
TECHNICAL LOGIC & ORIGINALITY
This script is published Open Source to contribute to the Pine Script community’s understanding of dynamic object management and order flow visualization.
ATR-Relative Filtering: To ensure only significant voids are plotted, the script uses a user-defined ATR (Average True Range) multiplier. This filters out market noise and focuses on institutional "impulse" moves.
Dynamic Box Management: Utilizing the Pine Script box array system, the script manages memory efficiently by updating existing objects rather than creating redundant ones.
The "Repair" Algorithm: The script tracks the high and low of every active void. When price action fully traverses the coordinates of a void, the script "seals" the box, visually marking the moment of liquidity equilibrium.
HOW TO USE
1. Identifying the "Magnet" (The Void)
When price moves aggressively, it leaves a "hole" in the auction.
Bullish Voids (Green): These represent areas where price surged so fast that buyers may still have unfilled orders sitting below. These act as Magnets for pullbacks.
Bearish Voids (Red): These represent areas where price plummeted, leaving a vacuum of selling pressure. These act as Magnets for relief rallies.
2. Trading the "Repair" Process
The Engine tracks how the market "repairs" these holes:
Partial Fill: If price enters a box but doesn't cross it, the "Magnet" is still active.
Full Repair: When a box is "sealed" (stops extending right), it indicates the imbalance is gone. If price "Seals" a green box and then bounces, it confirms the zone as Valid Institutional Support.
3. Confluence with the Trend
Continuation: In a strong uptrend, look for price to drop into a Green Bullish Void and find support. This is often the "Golden Entry" for trend followers.
Reversal Confirmation: If price ignores a Red Bearish Void and blasts right through it (sealing it instantly), it signals a massive shift in market regime and extreme bullish conviction.
USER SETTINGS
Lookback Period: How far back the engine searches for un-repaired gaps.
Min Gap Size (ATR %): Increase this to see only the "Major" institutional gaps; decrease it for a more granular intraday look.
Visual Styles: Fully customizable colors and transparency to match any chart theme (Dark/Light).
NOTES & DISCLAIMER
This script is a visualization of historical price imbalances and is intended for educational purposes only. It does not provide trade signals, entry/exit points, or financial advice. All trading involves risk.
Sen Regression ChannelSen Regression Channel
OVERVIEW
The Sen Regression Channel is a trend-structure visualization tool built on the Theil–Sen estimator, a median-based regression method designed to reduce sensitivity to price outliers. Unlike traditional least-squares regression channels, this approach anchors trend using the most representative slope across the lookback period, resulting in a more stable and noise-resistant structure.
TECHNICAL LOGIC & ORIGINALITY
To protect the proprietary implementation of the median-slope engine and adaptive band construction, this script is published as Protected.
Median Slope Engine
Calculates the Theil–Sen slope by evaluating the median rate of change across the lookback window, producing a trendline less distorted by extreme candles or transient volatility.
Adaptive Volatility Bands
Channel width can be derived from either Standard Deviation or ATR, allowing the envelope to adjust dynamically to changing volatility regimes.
Multi-Reference Context (Optional)
VWAP and EMA/SMA overlays can be enabled to compare the median regression structure against commonly used price and volume-weighted references.
HOW TO USE (EDUCATIONAL)
This tool is designed to help analyze trend quality and market structure, not to generate trade signals.
Trend Direction & Stability
A sustained upward or downward slope of the median regression line indicates directional structure with reduced noise sensitivity.
Volatility Expansion Zones
Price closing outside the channel bands highlights volatility expansion relative to the median trend and may signal regime change.
Mean-Reversion Context
Price oscillation between the median line and bands reflects balanced conditions; movement toward the outer bands indicates relative extension.
VWAP Confluence
Alignment between the regression midline and VWAP may highlight areas of consensus value.
USER INPUTS
Lookback Period – Sets the window for the median slope calculation
Band Multiplier – Scales the channel width
Band Method – Standard Deviation or ATR-based envelope
Visual Overlays – Toggle VWAP, midline, and cloud transparency
NOTES
This script is a historical charting and visualization tool for educational purposes only.
It does not provide trade signals, alerts, or financial advice.
All values are calculated in real time using available chart data.
SMC Structure & Expectation [WavesUnchained]SMC Structure & Expectation - Professional Context & Confirmation Tool
A sophisticated Smart Money Concepts indicator that combines objective market structure analysis with intelligent expectation logic and professional order block validation. Built for traders who value context over signal spam.
4-LAYER ARCHITECTURE
Layer 1: Market Structure
✓ Objective HH/HL/LH/LL detection based on confirmed pivot swings
✓ Internal structure tracking (micro swings within major legs)
✓ Structure alignment detection (Internal + External agreement)
✓ No predictions - pure price action description
Layer 2: Expectation/Bias
✓ Logical hypotheses derived from current structure
✓ "Expect HL" in bullish structure / "Expect LH" in bearish structure
✓ "Expect Continuation" after BOS events
✓ Expectation ≠ Signal (can be wrong, that's the point)
Layer 3: Confirmation (BOS + Order Blocks)
✓ Break of Structure (BOS) detection with 2 modes:
• Conservative: Close-cross (default)
• Aggressive: High/Low-cross with optional close confirmation
✓ Professional Order Block System with 8 intelligent filters
✓ Only creates OBs when expectation is met
✓ Maximum 1 OB per direction (quality over quantity)
Layer 4: Optional Warnings
✓ Trendline break detection
✓ Early Top/Bottom warnings (volume + volatility divergence)
✓ Can be disabled for clean chart focus
PROFESSIONAL ORDER BLOCK SYSTEM
8 Quality Filters (Cascade Logic):
1. BOS-Only Guard : No OB without confirmed Break of Structure
2. Displacement Filter : Minimum 1.0 ATR momentum (customizable)
3. Location Filter : Must be in Premium (bearish) or Discount (bullish) zone
4. Size Filter : 3 modes available:
• Hard Limit: Reject oversized OBs (strict)
• Score Penalty: Allow but reduce priority (balanced, default)
• Disabled: No size filtering (permissive)
5. Volume Filter : Optional relative volume threshold
6. FVG Filter : Optional Fair Value Gap requirement
7. Mitigation Tracking : 30% penetration = mitigated (score penalty)
8. TTL (Time-To-Live) : Auto-delete after 80 bars (prevents chart clutter)
Priority Scoring System (0-100):
• HIGH Priority (>80) : Bright colors, zero transparency
• MED Priority (50-80) : Normal colors, 30% transparency
• LOW Priority (<50) : Faded colors, 60% transparency
Score Components:
✓ Displacement strength (10-30 points)
✓ FVG confluence (+20 points)
✓ Relative volume (+5-15 points)
✓ Premium/Discount location (+10-20 points)
✓ Structure alignment (+30 points if aligned, -15 if conflict)
✓ Leg strength (+15-25 points for strong impulse vs correction ratio)
✓ Size penalty (-0 to -30 points if oversized, Score Penalty mode only)
BAR COLORING MODES
Choose your preferred visual feedback:
1. Off : No bar coloring
2. Structure : Bullish/Bearish/Neutral structure states
3. Expectation : Continuation zones (green = expect bullish, red = expect bearish)
4. BOS + OB Priority (Default):
• Highlights active Order Blocks by priority
• BOS events in bright neon
• Faded structure colors when no OB active
5. Multi-Layer : Combines structure + priority intensity
6. Alignment : Shows Internal/External structure alignment (orange = conflict warning)
INTELLIGENT LOGGING SYSTEM
Priority-based log filtering to reduce noise:
• All : Every event (debug mode)
• MED+ : Only medium and high priority events
• HIGH Only : Only high priority setups
• Smart (Default): Adaptive filtering based on priority + context
Logs include:
✓ Structure changes (HH/HL/LH/LL)
✓ Expectation updates
✓ BOS events with confirmation status
✓ OB creation with full scoring breakdown
✓ OB reactions (Tap/Deep/Failure classification)
✓ Rejection reasons with "Potential Lost" analysis
CONFIGURATION HIGHLIGHTS
Layer 1: Structure
• Pivot detection length: 5 (left) / 5 (right)
• Internal structure: Optional micro-swing tracking
• Swing confirmation: Closes beyond pivot required
Layer 2: Expectation
• Expectation expiry: 40 bars (auto-reset after timeout)
• Visual feedback: Labels + optional expectation zones
Layer 3: Confirmation
• BOS Mode: Close-cross (conservative) / High/Low-cross (aggressive)
• Close Confirmation: Optional 3-bar window for aggro mode
• Displacement: Min 1.0 ATR (customizable)
• Size Filter Mode: Hard Limit / Score Penalty / Disabled
• OB Location: 38% discount / 62% premium thresholds
• OB Size Range: 0.3-1.2 ATR (customizable)
• TTL: 80 bars default
• Volume Filter: Optional, 1.0x minimum
• FVG Requirement: Optional
Layer 4: Warnings
• Trendline break detection
• Early Top/Bottom signals
• Can be fully disabled
BEST USE CASES
✓ Context Tool : Understand where you are in the market cycle
✓ Confirmation Filter : Validate trade ideas with structure alignment
✓ Order Block Trading : High-probability zones with priority scoring
✓ Educational : Learn SMC concepts with transparent logic
✓ Multi-Timeframe Analysis : Combine with HTF structure for confluence
Optimized for:
• Commodities (NatGas, Gold, Oil)
• 1H - 4H timeframes
• Swing trading / Intraday positioning
KEY FEATURES SUMMARY
✓ Zero signal spam - only high-conviction setups
✓ Transparent scoring system - know why each OB matters
✓ Adaptive to market conditions - structure alignment detection
✓ Flexible filtering - customize to your risk tolerance
✓ Priority-based visuals - instantly identify best opportunities
✓ Professional logging - learn from rejections and acceptances
✓ Clean chart - auto-cleanup with TTL system
✓ Bar coloring modes - choose your visual feedback style
✓ Size Filter Mode - prevent blocking of high-quality oversized setups
PHILOSOPHY
This indicator follows the principle: "Context over signals, quality over quantity"
Expectations can be wrong - that's the point. They help you stay aware of the most likely scenario while remaining open to structure changes. When expectation is met AND confirmed by BOS + quality OB, you get a high-conviction setup.
Not a holy grail. Not a signal service. A professional analysis tool.
Version: 1.0.0
Author: WavesUnchained
Pine Script: v6
Structure Lite - Automatic Major Trend LinesStructure Lite – Pivot-Based Market Structure Visualization
OVERVIEW
Structure Lite is an open-source charting tool designed to assist traders in visualizing higher-timeframe market structure. The script identifies major swing points using high-period pivot analysis and projects structural support and resistance lines directly on the chart. Its purpose is to highlight persistent market structure while minimizing visual noise.
CORE CONCEPTS & CALCULATIONS
Pivot Identification
The script uses Pine Script’s built-in ta.pivothigh() and ta.pivotlow() functions to identify confirmed swing highs and lows. A pivot is only validated after a user-defined number of bars (Major Pivot Lookback) have formed on both sides of the price extreme, ensuring that only structurally significant pivots are selected.
Structural Pairing
Each structural line is created only after two consecutive pivots of the same type are confirmed (high-to-high or low-to-low). The script stores the price and bar index of these pivots and uses them as fixed anchor points.
Line Projection
Once a valid pivot pair is formed, the script draws a line between the two points using line.new() and extends it forward using extend.right. These lines represent projected structural boundaries rather than trade signals.
Object Management
To maintain chart clarity and performance, the script manages all drawn objects through a line array. A FIFO (First-In, First-Out) method is applied so that only the three most recent structural lines remain visible. Older lines are automatically deleted as new ones are created.
DESIGN PHILOSOPHY & ORIGINALITY
While many indicators plot frequent swing points or short-term pivots, Structure Lite focuses on structural persistence. By filtering for higher-period pivots and limiting the number of displayed projections, the script emphasizes dominant market structure rather than short-term fluctuations. This approach is intended to support discretionary analysis, not replace it.
HOW TO USE
Major Pivot Lookback
Increase the value to focus on higher-timeframe structure (e.g., swing or position trading).
Decrease the value to visualize intraday structural levels.
Visual Encoding
Green lines represent projected structural support
Red lines represent projected structural resistance
Visibility Control
A boolean input allows all structure lines to be hidden instantly to restore a clean price chart.
LIMITATIONS & DISCLAIMER
This script is a visualization tool only. It does not generate trade signals, entry or exit points, alerts, or directional forecasts. All plotted levels are derived from historical price action and may change as new pivots form. The script is provided for educational and analytical purposes and should be used in conjunction with other forms of market analysis
KINETIC GOLD NQ Velocity Breakout [Ash_TheTrader]
🚀 Stop Guessing. Start Scalping with Physics.
Introducing the KINETIC GOLD NQ ⚡ VELOCITY BREAKOUT System
Author: Ash_TheTrader
Assets: Gold (XAUUSD), Nasdaq (US100), Bitcoin (BTC)
Style: High-Frequency Scalping (M1/M5)
---
🛑 The Problem: Why Most Indicators Fail
You’ve been there. The RSI says "Oversold," so you buy. But price keeps crashing. The Moving Average crosses over, so you enter. But the trend is already over.
Why? Because those indicators are lagging . They tell you what happened 10 candles ago.
⚡ The Solution: The "Physics" of Price
Markets move like objects in the real world. They have Velocity (Speed) and Momentum (Mass).
The Kinetic Velocity Breakout (KMB) system doesn't look at "Overbought" or "Oversold." It looks for FORCE .
It answers one simple question: Is the market moving fast enough to pay me?
---
🧠 The 4 "Smart Logic" Features
1. The Velocity Speedometer 🏎️
Most candles are "noise." This system ignores them. It uses a Normalized Volatility Engine to detect when price hits "WARP SPEED".
• Blue: Slow (Cruising). Don't touch.
• Yellow: Accelerating. Get ready.
• Red: WARP SPEED. Institutional money is entering.
2. The 1.5x Impulse Rule 💥
The algorithm strictly enforces the "1.5x Law." A signal ONLY fires if the breakout candle is 1.5 times larger than the average of the last 3 candles.
• Result? No more fakeouts. We only trade real expansions.
3. "Smart Mode" AI Dashboard 🖥️
A heads-up display (HUD) lives on your chart, auto-detecting your trading environment:
• Auto-Session: Tells you if you are in London, New York, or Asia.
• Risk Mode: Shows if you are using "Aggressive" or "Normal" logic.
• Status: Gives you a text readout like "READY ⚡" or "WAIT..."
4. Auto-Pilot Risk Management 🛡️
Scalping is fast. You don't have time to calculate Pips.
• The script draws the lines for you.
• As soon as a "ROCKET" signal appears, a Green TP Line (2x Reward) and Red SL Line appear instantly.
---
🎮 How to Trade: The 3-Step "Kinetic" Strategy
This strategy is designed for Gold (XAUUSD) and Nasdaq (US100) on the 5-Minute Timeframe .
Step 1: The "Yellow" Warning ⚠️
Watch the Smart Structure Lines (Dashed Lines).
• If the candles turn Yellow or the Dashboard says "FAST" , wake up.
• This means pressure is building against a key level.
Step 2: The "Warp" Trigger 🚀
Wait for a Confirmed Breakout . You are looking for:
1. A candle closes OUTSIDE the dashed structure line.
2. The candle color is NEON CYAN (Bullish) or NEON MAGENTA (Bearish).
3. The Signal Label appears: "ROCKET" (Buy) or "DROP" (Sell).
👉 Rule: No Label? No Trade. The 1.5x Logic saves you from bad trades.
Step 3: The Execution 💰
1. Enter at the close of the signal candle.
2. Stop Loss: Place it exactly on the Red Line provided by the indicator.
3. Take Profit: Place it on the Green Line .
4. Walk away. Let the physics work.
---
⚙️ Customizing Your Style
The script comes with two built-in "Personalities":
🛡️ Normal Scalper (Default)
• Best for: New traders, Funded Accounts.
• Logic: Waits for strong confirmation. High Win Rate.
• Risk: 1:2 Risk/Reward.
⚠️ QuickScalper (Aggressive)
• Best for: Gold M1, Volatility Hunters.
• Logic: Enters earlier on 1.2x Impulse. More signals, faster exits.
• Risk: 1:1.5 Risk/Reward (Grab the cash and go).
---
👇 Get the Code
Search for: KINETIC ⚡ in the TradingView library.
"Markets are physics. Trade the Velocity, not the noise." — @Ash_TheTrader
Order Flow Signals - Alphaomega18═══════════════════════════════════════════════════════════════════════════════
ORDER FLOW SIGNALS - TRADINGVIEW PUBLICATION (ENGLISH)
Created by Alphaomega18
═══════════════════════════════════════════════════════════════════════════════
📌 PUBLICATION TITLE
═══════════════════════════════════════════════════════════════════════════════
Order Flow Signals - Absorptions & CVD Divergences - Alphaomega18
📝 COMPLETE DESCRIPTION
═══════════════════════════════════════════════════════════════════════════════
🎯 DETECT INSTITUTIONAL MOVES IN REAL-TIME
Order Flow Signals is an advanced order flow analysis indicator that displays institutional absorption signals, hidden CVD divergences, and extreme buy/sell pressure directly on your chart.
Fully customizable with 9 configurable colors, adjustable label sizes, and extreme absorption detection (300%+), this indicator allows you to trade WITH institutions, not against them.
🔥 THE PROBLEM IT SOLVES
Have you ever:
✗ Taken a technically perfect setup but got stopped out?
✗ Seen price reject a support/resistance but go the other way?
✗ Entered counter-trend without knowing institutions were accumulating?
✗ Missed big moves due to lack of confirmation?
Order Flow Signals solves these problems by revealing what smart money is REALLY doing behind each candle.
📊 SIGNALS DISPLAYED ON CHART
🔷 ABSORPTIONS (💎 Diamonds)
Institutions absorb order flow when volume is high BUT price doesn't move in the expected direction.
💎 BULLISH ABSORPTION (Cyan)
→ Volume spike + bearish candle + positive delta
→ Institutions are BUYING despite selling pressure
→ Strong accumulation signal
💎 BEARISH ABSORPTION (Orange)
→ Volume spike + bullish candle + negative delta
→ Institutions are SELLING despite buying pressure
→ Strong distribution signal
🔥 EXTREME ABSORPTIONS (Fuchsia Fire)
→ Volume > 300% of average (customizable)
→ MASSIVE institutional activity
→ Ultra-rare and ultra-strong signals
→ Indicates major moves in preparation
🔺 DIVERGENCES (▲ Green Triangles)
Price makes lower lows BUT CVD makes higher lows
→ Hidden accumulation in progress
→ Bullish reversal signal likely
→ Confirms your BUY entries
🔻 DIVERGENCES (▼ Red Triangles)
Price makes higher highs BUT CVD makes lower highs
→ Hidden distribution in progress
→ Bearish reversal signal likely
→ Confirms your SELL entries
🚀 EXTREME BUY PRESSURE (Rockets)
Delta > 2x average
→ Massive aggressive buying
→ Strong bullish momentum
→ Continuation likely
💥 EXTREME SELL PRESSURE (Explosions)
Delta < -2x average
→ Massive aggressive selling
→ Strong bearish momentum
→ Capitulation or panic
📈 DELTA PER CANDLE DISPLAY (NEW)
Option to display numerical delta on each candle:
• ✅ GREEN when delta positive (+250, +180, etc.)
• ❌ RED when delta negative (-320, -150, etc.)
• Tiny size to avoid clutter
• Perfect for tracking flow in real-time
🎯 REAL USE CASES
📌 Example 1: Avoid the Classic Trap
Technical setup:
→ Price rejects VWAP Weekly (resistance)
→ FVG below attracting
→ Single Prints above
→ You think: "Perfect SELL setup!"
WITHOUT Order Flow Signals:
❌ You enter SELL
❌ Price goes up and stops you out
❌ Frustration and loss
WITH Order Flow Signals:
✅ You see 💎 CYAN DIAMOND (Bullish absorption)
✅ Institutions are BUYING despite rejection
✅ You DON'T ENTER SELL
✅ Trade saved, loss avoided!
📌 Example 2: Confirm a Breakout
Setup:
→ Price breaks major resistance
→ But is it a real breakout or fakeout?
Check Order Flow Signals:
→ 🚀 ROCKET appears (extreme buy pressure)
→ 💎 CYAN DIAMOND (bullish absorption)
→ Massive positive delta visible
Clear signal: It's a REAL breakout!
→ Enter BUY with confidence
→ Institutions pushing price
📌 Example 3: Detect Hidden Accumulation
Situation:
→ Price consolidating in range
→ Apparently neutral
→ No clear technical signal
Order Flow Signals reveals:
→ ▲ GREEN TRIANGLE (bullish divergence)
→ Price flat BUT CVD rising progressively
→ Institutional accumulation in progress
Action: Prepare LONG position
→ When price breaks, it will be violent!
⚙️ COMPLETE CUSTOMIZATION
🎨 COLORS (9 configurable colors)
• Bullish Absorption (default: cyan)
• Bearish Absorption (default: orange)
• EXTREME Absorption (default: fuchsia)
• Bullish Divergence (default: green)
• Bearish Divergence (default: red)
• Buy Pressure (default: lime)
• Sell Pressure (default: fuchsia)
• Positive Delta (default: green)
• Negative Delta (default: red)
Adapt the indicator to your chart style!
📏 LABEL SIZES
5 sizes available: Tiny / Small / Normal / Large / Huge
→ Perfect for all screen types
→ Large 4K screen? → Large or Huge
→ Small laptop? → Small or Normal
🔍 CUSTOMIZABLE DETECTION
• Normal Absorption Threshold: 1.5x (default)
• EXTREME Absorption Threshold: 3.0x (default)
• Divergence Periods: 14 (default)
• All thresholds adjustable to your style
👁️ ON/OFF DISPLAY
• Absorptions 💎 (On/Off)
• Divergences ▲▼ (On/Off)
• Extreme Pressure 🚀💥 (On/Off)
• Delta per Candle (On/Off)
Display only what you need!
🔔 COMPLETE ALERT SYSTEM
8 independently configurable alert types:
1. 🔵 Bullish Absorption
2. 🔴 Bearish Absorption
3. 🔥🔵 EXTREME Bullish Absorption
4. 🔥🔴 EXTREME Bearish Absorption
5. 📈 Bullish Divergence
6. 📉 Bearish Divergence
7. 🚀 Extreme Buy Pressure
8. 💥 Extreme Sell Pressure
Receive push, email or SMS notifications when institutions act!
💡 MARKETS AND TIMEFRAMES
✅ ALL markets compatible:
• Futures (ES, NQ, YM, RTY, MNQ, MES, etc.)
• Forex (EUR/USD, GBP/USD, USD/JPY, etc.)
• Crypto (BTC, ETH, altcoins)
• Stocks (Tesla, Apple, Nvidia, etc.)
• Indices (S&P 500, Nasdaq, Dow Jones)
• Commodities (Gold, Oil, etc.)
✅ All timeframes:
• Scalping: 1min, 5min
• Day Trading: 15min, 30min, 1H ⭐ (optimal!)
• Swing Trading: 4H, Daily
Note: More reliable signals with real volume data
→ TradingView Premium recommended for tick data
🏆 UNIQUE ADVANTAGES
✅ Automatic institutional absorption detection
✅ EXTREME absorptions (300%+) for ultra-strong signals
✅ Integrated CVD (Cumulative Volume Delta)
✅ Optional per-candle delta display (green/red)
✅ 9 customizable colors - adapt to your style
✅ 5 label sizes - perfect for all screens
✅ Clear visual signals directly on chart
✅ Detailed tooltips on each signal
✅ 8 independent configurable alerts
✅ Clean, optimized code, no repaint
✅ Compatible all markets and timeframes
📊 RECOMMENDED CONFIGURATION
For MNQ / ES / NQ (15min):
```
Detection:
├─ Normal Absorption Threshold: 1.5x
└─ EXTREME Absorption Threshold: 3.0x
Display:
├─ Absorptions: ✅ ON
├─ Divergences: ✅ ON
├─ Extreme Pressure: ✅ ON
└─ Delta per Candle: ❌ OFF (or ON if preferred)
Customization:
└─ Label Size: Normal (or Large for big screen)
Colors:
└─ Default (or customize!)
Alerts:
└─ All ✅ ON
```
For Scalping (1-5min):
```
└─ Label Size: Small
└─ Delta per Candle: ✅ ON (useful in scalping)
└─ Absorption Threshold: 2.0x (stricter)
```
🎓 SUPPORT AND TOOLTIPS
Each signal includes detailed tooltip on hover:
• Exact volume and multiplier (e.g. 2.3x)
• Precise delta
• Signal explanation
• Suggested action
Hover over 💎▲🚀 to understand each signal!
🔗 PERFECT COMPLEMENT
This indicator works perfectly with:
• Order Flow Dashboard (to see CVD and pressures)
• VWAP Multi-Timeframe
• Fair Value Gaps (FVG)
• Market Profile (POC/VPOC)
• Support/Resistance
Combine Order Flow signals with your technical analysis!
⚠️ DISCLAIMER
Technical indicators are decision support tools. No indicator guarantees profits. Always use:
• Appropriate risk management
• Stop loss on every trade
• Proper position sizing
• Demo account testing first
Order Flow Signals improves your analysis but doesn't replace a complete strategy.
📞 CONTACT AND SUPPORT
Created by Alphaomega18
For questions, bugs or suggestions:
Find my other indicators:
• Order Flow Dashboard (CVD and pressures)
• VWAP Multi-Timeframe Pro
• Fair Value Gap Detector
• Volume & Volatility Crisis Detector
Cave Diving 3 Lines System
🤿 Cave Diving Dashboard - A Deep Dive into Market Structure
## The Cave Diving Analogy
Imagine you're a cave diver exploring underwater caverns. As you descend deeper, you encounter different layers of the cave system:
- **The Surface (Internal Levels)** - Where you currently are, constantly shifting with each breath
- **The First Chamber (De Novo Levels)** - Your last known safe position, recently established
- **Deep Caverns (External Levels)** - Ancient, untouched chambers deeper in the system
Just as a cave diver must constantly monitor their position relative to these reference points, traders must track price action against key structural levels.
---
## 🎯 Understanding the Three-Tiered System
### 📍 **INTERNAL LEVELS** (Current 15m Candle)
*Your real-time position in the market*
**Internal High** 🟡 - The highest point reached in the current unfinished 15-minute candle
**Internal Low** 🟢 - The lowest point reached in the current unfinished 15-minute candle
**Think of these as:**
- Your current depth while actively diving
- They update continuously as price moves
- Status shows "Updating" when actively changing, "Intact" when stable
- These are NOT trade levels—they're awareness zones
**Key Insight:** When Internal Low drops below De Novo Low, you're in **Situation A** (bearish pressure building)—the indicator highlights this with red coloring.
---
### 🎯 **DE NOVO LEVELS** (Previous Closed 15m Candle)
*Your most recent confirmed safe zone*
**De Novo High** 🔵 - The high of the last completed 15-minute candle
**De Novo Low** 🟣 - The low of the last completed 15-minute candle
**Etymology:** "De Novo" = Latin for "from new" or "anew"—these are freshly established reference points
**Think of these as:**
- The last solid ground you stood on
- Your most recent confirmed position
- The bridge between where you are (Internal) and where you've been (External)
**Status Tracking:**
- **⬆️ Upgrade** - Level moved favorably (Higher high for resistance, Higher low for support)
- **⬇️ Downgrade** - Level moved unfavorably (Lower high, Lower low)
- **= Same** - No structural change from previous candle
**Trading Significance:**
- Primary reference points for intraday structure
- Breaking De Novo levels often signals directional commitment
- Can merge with External Level 1 when they align (shown as "DN🟰Ext1")
---
### ⛽🤿 **EXTERNAL LEVELS** (Unmitigated Historical 15m Levels)
*Deep liquidity pools waiting to be discovered*
**External High 1 & 2** 🟢🔵 - The two most recent unmitigated 15m highs
**External Low 1 & 2** 🟠🌸 - The two most recent unmitigated 15m lows
**Think of these as:**
- Untouched chambers in the cave system
- Liquidity pools that smart money is targeting
- Levels that "remember" and attract price
**What Makes a Level "Unmitigated"?**
- **Highs**: Price has NOT yet traded through them (broken above)
- **Lows**: Price has NOT yet swept them (broken below)
- Once touched, they're "mitigated" and removed from tracking
- The indicator automatically maintains the two most recent unmitigated levels
**Why "External"?**
They exist outside your current candle structure—historical reference points that institutions use for:
- Stop loss placement
- Profit taking targets
- Liquidity hunting zones
---
## 🎨 Color Coding System
### HIGHS (Resistance/Targets) - Cool Colors
- 🔵 **Ext High 2** - Light Blue (Distant target)
- 🟢 **Ext High 1** - Lime Green (Primary target)
- 🔵 **De Novo High** - Cyan (Recent resistance)
- 🟡 **Internal High** - Lemon Yellow (Current ceiling)
### LOWS (Support/Stops) - Warm Colors
- 🟢 **Internal Low** - Lime (Current floor)
- 🟣 **De Novo Low** - Purple (Recent support)
- 🟠 **Ext Low 1** - Orange-Red (Primary stop zone)
- 🌸 **Ext Low 2** - Pink (Distant support)
---
## 📊 Dashboard Breakdown
### The Table Shows:
1. **Level** - Which level you're tracking
2. **Price** - Exact price of the level
3. **Pts** - Distance from current price (+ above, - below)
4. **Status** - Current state or role of the level
### Special Features:
- **⏰ Countdown Timer** - Shows time remaining until next 15m candle close (next De Novo update)
- **⚠️ Proximity Alerts** - Bottom row warns when within threshold distance of key levels (default: 25 points, adjustable)
---
## 🎯 Trading Applications
### **For Buyers (Going Long):**
- **Entry Zone**: Between De Novo Low and Ext Low 1
- **Stops**: Below Ext Low 1 (or Ext Low 2 for wider stops)
- **Targets**: De Novo High → Ext High 1 → Ext High 2
- **Confirmation**: Internal Low holds above De Novo Low
### **For Sellers (Going Short):**
- **Entry Zone**: Between De Novo High and Ext High 1
- **Stops**: Above Ext High 1 (or Ext High 2 for wider stops)
- **Targets**: De Novo Low → Ext Low 1 → Ext Low 2
- **Warning**: Watch for Situation A (Internal Low < De Novo Low)
### **Risk Management:**
- **DN🟰Ext1** status means De Novo = External 1 (tighter range, use caution)
- Proximity alerts help you avoid chasing price into resistance/support
- "Updating" status on Internal levels = active volatility
- "Upgrade/Downgrade" signals = structural shift in progress
---
## ⚙️ Customization Options
### Lookback Period
- Default: 500 candles (searches 125 hours of 15m data)
- Increase for more historical External levels
- Decrease for focus on recent structure
### Proximity Threshold
- Default: 25 points
- Set based on your instrument's average range
- Lower = tighter alerts (for scalping)
- Higher = strategic warnings (for swing trading)
### Visual Customization
- Line thickness (1-5)
- Line style (Solid/Dashed/Dotted)
- All colors fully customizable
- Show/hide lines independently
---
## 🧭 The Cave Diving Mindset
**Never dive deeper than you can safely return from.**
In trading terms:
- Know your Internal position (real-time awareness)
- Respect your De Novo levels (recent structure)
- Hunt for External liquidity (where the targets are)
- Always have an exit plan (stops below Ext Lows, above Ext Highs)
The market, like a cave, has structure. This indicator illuminates that structure across three timeframes of reference, helping you navigate with precision rather than guessing in the dark.
---
## 🎓 Key Takeaways
1. **Internal** = Real-time, unfinished, awareness only
2. **De Novo** = Just confirmed, primary reference, updates every 15m
3. **External** = Historical, unmitigated, high-probability targets/stops
4. **Upgrades/Downgrades** = Trend signals
5. **DN🟰Ext1** = Structural alignment (tighter range)
6. **Situation A** = Bearish warning (Internal < De Novo Low)
---
## 📝 Credits
*"In cave diving, you plan your dive and dive your plan. In trading, you plan your levels and trade your levels."*
**Indicator:** Cave Diving Dashboard - Part 1: Price Levels
**Timeframe:** Optimized for 15-minute structure on any chart timeframe
**Philosophy:** Structure first, price second. Know where you are, where you've been, and where the liquidity waits.
---
Happy Diving! 🤿📈
ICT Unicorn Model [Kodexius]ICT Unicorn Model is a market structure and imbalance confluence tool that automatically detects high probability “Unicorn” setups by combining three key elements into a single, clean script:
-A first, clean break of that swing level (displacement style break)
-A Fair Value Gap that overlaps a breaker candle body range
Instead of plotting every pivot or every imbalance independently, the script waits for a specific sequence: price establishes a valid swing, breaks that swing for the first time, and prints a setup only when the resulting context aligns with a valid, volatility filtered FVG and a clearly defined breaker range.
Each detected setup is drawn directly on the chart with labeled zones (Breaker and FVG) and is then actively monitored. If price violates the breaker boundary based on your chosen invalidation basis (Close or Wick), the setup is marked inactive and can optionally be removed to keep the chart clean.
This indicator is designed for traders who work with ICT style concepts such as liquidity runs, displacement, breaker blocks, and imbalance reversion, and who want a structured, rules based visualization rather than discretionary drawing.
🔹 Features
🔸 Fair Value Gap Detection With Volatility Filtering
Bullish and bearish FVGs are detected using classic three candle imbalance logic. To avoid low quality gaps during compression, the script applies an ATR based minimum size filter using the “FVG Min Size (ATR Multiplier)” input. Only gaps larger than ATR * threshold are considered valid.
🔸 First Break Validation (Clean Break Logic)
A key part of the model is identifying a “first break” of a swing level. The script checks whether the swing price has already been invalidated between the swing bar and the current bar. If it has, the swing is ignored. This helps reduce repeated signals and focuses on fresh structural breaks.
🔸 Breaker and FVG Confluence With Overlap Requirement
After a valid break occurs, the script defines a breaker range using the body of the swing candle (open and close). A setup is only created if this breaker body range overlaps the detected FVG price range. This overlap requirement is what filters many “almost” conditions and keeps signals more selective.
Bullish Unicorn:
Bearish Unicorn:
🔸 Configurable Invalidation Basis (Close or Wick)
You can choose how a setup fails:
-Close: invalidation requires a candle close beyond the breaker boundary
-Wick: invalidation occurs as soon as any wick crosses beyond the breaker boundary
This allows the tool to adapt to different trading styles, from conservative confirmation to more sensitive risk control.
🔸 Automatic Cleanup of Failed Setups
If “Delete Invalidated Setups” is enabled, the script removes the breaker box, FVG box, and label as soon as the setup is invalidated. If disabled, the zones remain visible for review while the setup is marked inactive internally.
🔸 Clear Chart Visuals
Each setup plots:
-A labeled Breaker zone box
-A labeled FVG zone box
-A directional Unicorn label (Bull or Bear) that updates position as the chart advances
Colors for bullish and bearish structures are fully configurable.
🔸 Alert Conditions
Two alert conditions are provided:
-Bullish Unicorn Setup Detected
-Bearish Unicorn Setup Detected
Alerts trigger only on the bar a new setup is created.
🔹 Calculations
This section summarizes the main computations used internally. The goal here is to explain the model mechanics rather than reproduce every implementation detail.
1. Swing Detection (Pivot High / Pivot Low)
Swing levels are detected using a symmetric pivot definition with “Swing Length” bars on both sides:
float ph = ta.pivothigh(high, swingLength, swingLength)
float pl = ta.pivotlow(low, swingLength, swingLength)
When a pivot is confirmed, its price and originating bar index are stored:
-Swing High: price = pivot high, isHigh = true
-Swing Low: price = pivot low, isHigh = false
The script keeps a limited history (most recent swings) to stay efficient.
2. Fair Value Gap Detection
FVGs use the classic three candle displacement imbalance:
Bullish FVG condition
bool isBullFVG = high < low
Bullish gap range is defined as:
-Top = low
-Bottom = high
Bearish FVG condition
bool isBearFVG = low > high
Bearish gap range is defined as:
-Top = low
-Bottom = high
3. ATR Based Minimum Gap Filter
ATR is computed (length 14), then the gap size is compared against a user threshold:
float atr = ta.atr(14)
bool validBullFVG = isBullFVG and (bullFvgTop - bullFvgBot) > (atr * fvgThreshold)
bool validBearFVG = isBearFVG and (bearFvgTop - bearFvgBot) > (atr * fvgThreshold)
This prevents very small imbalances from generating setups in low volatility conditions.
4. “First Break” Check Using Level Invalidation Scan
Before accepting a swing break, the script scans forward from the swing bar to the current bar to confirm the level has not already been breached. The scan can be based on wick or close:
-Wick mode: uses high or low
-Close mode: uses close
Conceptually:
priceToCheck = mode == "Wick" ? (checkBelow ? low : high) : close
If a prior breach is found, the swing is treated as already invalidated and is ignored for setup creation.
5. Break Of Structure Condition
Bullish break requirement
A bullish setup requires breaking a stored swing high with bullish body intent:
-close > swingHighPrice
-open < close
Bearish break requirement
A bearish setup requires breaking a stored swing low with bearish body intent:
-close < swingLowPrice
-open > close
An additional proximity filter is applied in the bearish branch to reduce weak or overly extended breaks by requiring the prior close to be reasonably near the swing level.
6. Breaker Range Construction
Once a qualifying swing is found, the breaker range is derived from the body of the swing candle (the candle at the swing bar index). The body boundaries are:
float breakerTop = math.max(bOpen, bClose)
float breakerBot = math.min(bOpen, bClose)
This models the breaker as the candle body range rather than full wick range, which typically produces more practical invalidation boundaries.
7. Overlap Test Between Breaker and FVG
A setup is only created if the breaker body overlaps the FVG zone. Conceptually the script rejects cases where one range is fully above or fully below the other:
-If there is no overlap, no setup is created
-If overlap exists, the Unicorn setup is valid
8. Active Monitoring and Invalidation
Each setup remains active until invalidated. Invalidation is evaluated every bar using your selected basis:
-Close basis: compares close to breaker boundary
-Wick basis: compares high or low to breaker boundary
Bullish invalidation
Setup fails if price crosses below breaker bottom.
Bearish invalidation
Setup fails if price crosses above breaker top.
If deletion is enabled, all drawings related to that setup are removed immediately on invalidation.
9. Drawing Updates and Object Lifecycle
Breaker and FVG boxes are extended to the right while the setup is active to keep zones visible into the near future. The Unicorn label is also repositioned as new bars print so the most recent context stays readable.
Quasimodo (QML) Pattern [Kodexius]Quasimodo (QML) Pattern is a market structure indicator that automatically detects Bullish and Bearish Quasimodo formations using confirmed swing pivots, then visualizes the full structure directly on the chart. The script focuses on the classic liquidity-grab narrative of the QML: a sweep beyond a prior swing (the Head) followed by a decisive market structure break (MSB), leaving behind a clearly defined reaction zone between the Left Shoulder and the Head.
Detection is built on pivot highs and lows, so patterns are evaluated only after swing points are validated. Once a valid 4 pivot sequence is identified, the indicator draws the pattern legs, highlights the internal triangle area to emphasize the grab, marks the MSB leg, and projects a QML zone that can be used as a potential area of interest for retests.
This tool is designed for traders who work with structure, liquidity concepts, and reversal/continuation triggers, and who want a clean, repeatable QML visualization without manually marking swings.
🔹 Features
🔸 Confirmed Pivot Based Structure Mapping
The script uses classic built-in pivot logic to detect swing highs and swing lows.
🔸 Automatic Bullish and Bearish QML Detection
The indicator evaluates the most recent 4 pivots and checks for a valid alternating sequence (High-Low-High-Low or Low-High-Low-High). When the sequence matches QML requirements, the script classifies the setup as bullish or bearish:
Bullish logic (structure reversal up):
- Left Shoulder is a pivot Low
- Head is a lower Low than the Left Shoulder (liquidity sweep)
- MSB pivot exceeds the Reaction pivot
Bearish logic (structure reversal down):
- Left Shoulder is a pivot High
- Head is a higher High than the Left Shoulder (liquidity sweep)
- MSB pivot breaks below the Reaction pivot
🔸 Full Pattern Visualization (Legs + Highlighted Core)
When a pattern triggers, the script draws:
Three main legs: Left Shoulder to Reaction, Reaction to Head, Head to MSB
A shaded triangular highlight over the internal structure to make the liquidity-grab shape easy to spot at a glance
🔸 QML Zone Projection
A QML Zone box is drawn using the price range defined between the Left Shoulder and the Head, then extended to the right to remain visible as price develops. This zone is intended to act as a practical reference area for potential retests and reaction planning after MSB confirmation.
🔸 MSB Emphasis
A dotted MSB line is drawn between the Reaction point and the MSB point to visually emphasize the confirmation leg that completes the pattern logic.
🔸 Clean Point Tagging and Directional Labeling
Key points are labeled directly on the chart:
- “LS” at the Left Shoulder
- “Head” at the sweep pivot
- “MSB” at the break pivot
A directional label (“Bullish QML” or “Bearish QML”) is also printed to quickly identify the detected bias.
🔸 Configurable Visual Style
All main visual components are user configurable:
- Bullish and bearish colors
- Line width
- Label size
🔸 Efficient Update Logic
Pattern checks are only performed when a new pivot is confirmed, avoiding unnecessary repeated calculations on every bar. The most recent pattern’s projected elements (zone and label positioning) are updated as new bars print to keep the latest setup readable.
🔹 Calculations
This section summarizes the core logic used for detection and plotting.
1. Pivot Detection (Swing Highs and Lows)
The script relies on confirmed pivots using the user inputs:
Left Bars: how many bars must exist to the left of the pivot
Right Bars: how many bars must exist to the right to confirm it
float ph = ta.pivothigh(leftLen, rightLen)
float pl = ta.pivotlow(leftLen, rightLen)
When a pivot is confirmed, its true bar index is the pivot bar, not the current bar, so the script stores:
bar_index
2. Pivot Storage and History Window
Each pivot is stored as a structured object containing:
- price
- index
- isHigh (true for pivot high, false for pivot low)
A rolling history is maintained (up to 50 pivots) to keep processing stable and memory usage controlled.
3. Sequence Validation (Alternation Check)
The pattern evaluation always uses the latest 4 pivots:
p0: Left Shoulder candidate
p1: Reaction candidate
p2: Head candidate
p3: MSB candidate
Before checking bullish/bearish rules, the script enforces alternating pivot types:
bool correctSequence =
(p0.isHigh != p1.isHigh) and
(p1.isHigh != p2.isHigh) and
(p2.isHigh != p3.isHigh)
This prevents invalid structures like consecutive highs or consecutive lows from being interpreted as QML.
4. Bullish QML Conditions
A bullish QML is evaluated when the Left Shoulder is a Low:
Head must be lower than Left Shoulder (sweep)
MSB must be higher than Reaction (break)
if not p0.isHigh
if p2.price < p0.price and p3.price > p1.price
// Bullish QML confirmed
Interpretation:
p2 < p0 represents the liquidity grab below the prior swing low
p3 > p1 represents the market structure break above the reaction high
5. Bearish QML Conditions
A bearish QML is evaluated when the Left Shoulder is a High:
Head must be higher than Left Shoulder (sweep)
MSB must be lower than Reaction (break)
if p0.isHigh
if p2.price > p0.price and p3.price < p1.price
// Bearish QML confirmed
Interpretation:
p2 > p0 represents the liquidity grab above the prior swing high
p3 < p1 represents the market structure break below the reaction low
6. Drawing Logic (Structure, Highlight, Zone, Labels)
When confirmed, the script draws:
Three connecting legs (LS to Reaction, Reaction to Head, Head to MSB)
A shaded triangle using a transparent “ghost” line to enable filling
A dotted MSB emphasis line between Reaction and MSB
A QML Zone box spanning the LS to Head price range and projecting to the right
Point labels: LS, Head, MSB
A direction label: “Bullish QML” or “Bearish QML”
7. Latest Pattern Extension
To keep the newest setup readable, the script updates the most recently detected pattern by extending its projected elements as new bars print:
QML zone right edge is pushed forward
The main label x position is pushed forward
This keeps the last identified QML zone visible as price evolves, without having to redraw historical patterns on every bar.
Amihud Illiquidity Ratio [MarkitTick]💡This indicator implements the Amihud Illiquidity Ratio, a financial metric designed to measure the price impact of trading volume. It assesses the relationship between absolute price returns and the volume required to generate that return, providing traders with insight into the "stress" levels of the market liquidity.
Concept and Originality
Standard volume indicators often look at volume in isolation. This script differentiates itself by contextualizing volume against price movement. It answers the question: "How much did the price move per unit of volume?" Furthermore, unlike static indicators, this implementation utilizes dynamic percentile zones (Linear Interpolation) to adapt to the changing volatility profile of the specific asset you are viewing.
Methodology
The calculation proceeds in three distinct steps:
1. Daily Return: The script calculates the absolute percentage change of the closing price relative to the previous close.
2. Raw Ratio: The absolute return is divided by the volume. I have introduced a standard scaling factor (1,000,000) to the calculation. This resolves the issue of the values being astronomically small (displayed as roughly 0) without altering the fundamental logic of the Amihud ratio (Absolute Return / Volume).
- High Ratio: Indicates that price is moving significantly on low volume (Illiquid/Thin Order Book).
- Low Ratio: Indicates that price requires massive volume to move (Liquid/Deep Order Book).
3. Dynamic Regimes: The script calculates the 75th and 25th percentiles of the ratio over a lookback period. This creates adaptive bands that define "High Stress" and "Liquid" zones relative to recent history.
How to Use
Traders can use this tool to identify market fragility:
- High Stress Zone (Red Background): When the indicator crosses above the 75th percentile, the market is in a High Illiquidity Regime. Price is slipping easily. This is often observed during panic selling or volatile tops where the order book is thin.
- Liquid Zone (Green Background): When the indicator drops below the 25th percentile, the market is in a Liquid Regime. The market is absorbing volume well, which is often characteristic of stable trends or accumulation phases.
- Dashboard: A visual table on the chart displays the current Amihud Ratio and the active Market Regime (High Stress, Normal, or Liquid).
Inputs
- Calculation Period: The lookback length for the average illiquidity (Default: 20).
- Smoothing Period: The length of the additional moving average to smooth out noise (Default: 5).
- Show Quant Dashboard: Toggles the visibility of the on-screen information table.
● How to read this chart
• Spike in Illiquidity (Red Zones)
Price is moving on "thin air." Expect high volatility or potential reversals.
• Low Illiquidity (Green/Stable Zones)
The market is deep and liquid. Trends here are more sustainable and reliable.
• Divergence
Watch for price making new highs while liquidity is drying up—a classic sign of an exhausted trend.
Example:
● Chart Overview
The chart displays the Amihud Illiquidity indicator applied to a Gold (XAUUSD) 4-hour timeframe.
Top Pane: Price action with manual text annotations highlighting market reversals relative to liquidity zones.
Bottom Pane: The specific technical indicator defined in the logic. It features a Blue Line (Raw Illiquidity), a Red Line (Signal/Smoothed), and dynamic background coloring (Red and Green vertical strips).
● Deep Visual Analysis
• High Stress Regime (Red Zones)
Visual Event: In the bottom pane, the background periodically shifts to a translucent red.
Technical Logic: This event is triggered when the amihudAvg (the smoothed illiquidity ratio) exceeds the 75th percentile ( hZone ) of the lookback period.
Forensic Interpretation: The logic calculates the absolute price change relative to volume. A spike into the red zone indicates that price is moving significantly on relatively lower volume (high price impact). Visually, the chart shows these red zones aligning with local price peaks (volatility expansion), leading to the bearish reversal marked by the red box in the top pane.
• Liquid Regime (Green Zones)
Visual Event: The background shifts to a translucent green in the bottom pane.
Technical Logic: This triggers when the amihudAvg falls below the 25th percentile ( lZone ).
Forensic Interpretation: This state represents a period where large volumes are absorbed with minimal price impact (efficiency). On the chart, this green zone corresponds to the consolidation trough (green box, top pane), validating the annotated accumulation phase before the bullish breakout.
• Indicator Lines
Blue Line: This is the illiquidityRaw value. It represents the raw daily return divided by volume.
Red Line: This is the smoothedVal , a Simple Moving Average (SMA) of the raw data, used to filter out noise and define the trend of liquidity stress.
● Anomalies & Critical Data
• The Reversal Pivot
The transition from the "High Stress" (Red) background to the "Liquid" (Green) background serves as a visual proxy for market regime change. The chart shows that as the Red zones dissipate (volatility contraction), the market enters a Green zone (efficient liquidity), which acted as the precursor to the sustained upward trend on the right side of the chart.
● About Yakov Amihud
Yakov Amihud is a leading researcher in market liquidity and asset pricing.
• Brief Background
Professor of Finance, affiliated with New York University (NYU).
Specializes in market microstructure, liquidity, and quantitative finance.
His work has had a major impact on both academic research and practical investment models.
● The Amihud (2002) Paper
In 2002, he published his influential paper: “Illiquidity and Stock Returns: Cross-Section and Time-Series Effects” .
• Key Contributions
Introduced the Amihud Illiquidity Measure, a simple yet powerful proxy for market liquidity.
Demonstrated that less liquid stocks tend to earn higher expected returns as compensation for liquidity risk.
The measure became one of the most widely used liquidity metrics in finance research.
● Why It Matters in Practice
Used in quantitative trading models.
Applied in portfolio construction and risk management.
Helpful as a liquidity filter to avoid assets with excessive price impact.
In short: Yakov Amihud established a practical and robust link between liquidity and returns, making his 2002 work a cornerstone in modern financial economics.
Disclaimer: All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.






















