Range Indicator Golden Pocket, Liquidity, FairValueGapOverview
This indicator is a comprehensive institutional market structure toolkit. It is designed to identify high-probability reversal zones by merging three powerful technical analysis concepts: Fibonacci Golden Pockets (61.8% - 65%), Liquidity Pool Analysis (Swing Failure Patterns), and Fair Value Gaps (FVG). By automating the detection of price inefficiencies and "stop runs," it helps traders navigate complex price action with objective, rule-based confirmation.
What the Script Does
The script continuously monitors a user-defined lookback period to define a trading range. Within this range, it dynamically plots:
Golden Pockets: High-confluence retracement zones (calculated as 0.35 - 0.382 internal range levels).
Liquidity Zones: Highlighted regions at the absolute high and low (Top/Bottom 5%) where institutional orders and retail stops are typically concentrated.
Swing Failure Patterns (SFP): Real-time detection of liquidity grabs where price breaches a range extreme but fails to close outside, signaling a potential trap.
Fair Value Gaps (FVG): Visualizes 3-candle price imbalances, showing areas of aggressive buying or selling that often act as future magnets or support/resistance.
2-Candle Confirmation: A momentum-based filter requiring a candle-close confirmation before a reversal signal is generated.
For Whom is it?
Smart Money Concepts (SMC) & ICT Students: Traders looking for automated liquidity sweeps and market inefficiencies.
Fibonacci & Mean Reversion Traders: Those seeking a clean, professional visualization of the Golden Pocket across multiple timeframes.
Systematic Day Traders: Who require strict price-action confirmation (SFP and 2-candle rules) to remove emotional bias from their entries.
Functions and Input Options
1. Market Structure & Visuals
Lookback Period (Default: 100): Defines the window for calculating the range extremes.
Box Offset Right (Default: 50): Extends all zones into the future for better anticipatory trading.
Show Price Lines & Labels: Displays the exact price for every zone boundary on the right axis for precise execution.
2. Fair Value Gap (FVG) Settings
Show Fair Value Gaps: A toggle to enable/disable the plotting of price imbalances.
FVG Extension (Default: 10): Determines how many bars into the future the FVG box remains visible.
Custom Colors: Separate color inputs for Bullish (Gap Up) and Bearish (Gap Down) inefficiencies.
3. Professional Alert System
The script includes five specific alert conditions:
GP Touch: Early warning when price enters a Golden Pocket.
2-Candle Pattern: Confirmed momentum shift within a Golden Pocket.
SFP Long/Short: Alerts when a Liquidity Grab (Swing Failure) is confirmed at the range high or low.
Transparency and Compliance (Moderator Info)
Non-Repainting Logic: All signals (SFP, 2-Candle, and FVG) are calculated and triggered based on confirmed candle closes. Drawings use barstate.islast purely for visual efficiency without altering historical data integrity.
Educational Context: The script visualizes well-known market principles (Fibonacci, SFPs, and FVGs) to aid traders in their analysis; it does not provide automated financial advice or "black-box" buy/sell signals.
Resource Management: Optimized for Pine Script v5, using efficient array and box handling to ensure smooth performance even on lower timeframes.
Liquidity
TrendlinesTrendline S&R
This indicator is an automated technical analysis tool designed to identify the most relevant Support and Resistance (S&R) zones based on market pivots. Unlike standard pivot indicators that clutter the chart with historic lines, this script uses a "Closest-to-Price" algorithm to display only the single most relevant Support (Green) and Resistance (Red) zone currently interacting with price action.
It solves common frustrations with automated trendlines—specifically the issue of lines disappearing immediately upon a breakout—by introducing a Stability Buffer.
Key Features & Importance
The script scans hundreds of potential trendlines but only draws the one geographically closest to the current price.
Importance: This ensures you are looking at the zone that matters right now. It filters out distant or irrelevant historic lines, keeping your chart clean and focused on immediate price action.
🛡️ 5-Bar Stability Buffer (Anti-Flicker)
Feature: A hardcoded 5-bar "memory" prevents the zone from disappearing the moment price touches or breaks it.
Importance: This is critical for trading breakouts. It allows you to see the zone persist while price breaches it, helping you distinguish between a true breakout, a fakeout, or a retest, without the reference level vanishing from your screen.
🔍 Dynamic Pivot Filtering
Feature: Uses a restricted Pivot Strength (5-15) and Minimum Confirmation (2-8 touches).
Importance: By enforcing these limits, the indicator ignores insignificant market noise and micro-swings, ensuring that drawn zones represent structural market levels with genuine liquidity.
🔔 Integrated Alert System
Feature: Built-in alerts for "Zone Breakout" (candle close crossing the zone) and "Zone Touch" (wick entering the zone).
Importance: Allows you to set the indicator and walk away. You will be notified instantly when price interacts with these key levels, removing the need to stare at the chart.
📉 Adaptive Tolerance (Fixed ATR)
Feature: Uses a fixed ATR multiplier internally to determine the width of the zone.
Importance: This automatically adjusts the thickness of the support/resistance zone based on the asset's volatility.
Settings Guide
Bars to Apply: How far back in history the script looks for pivots (Default: 300).
Pivot Source: Choose between calculating from "High/Low" (wicks) or "Close" (bodies).
Pivot Strength: The number of bars required on each side to define a swing point (Range: 5–15).
Min Pivot Confirmation: The minimum number of touches required to validate a trendline (Range: 2–8).
How to Use
Add the indicator to your chart.
Adjust Pivot Strength if you want to catch smaller swings (lower number) or major structures (higher number).
Set an alert in TradingView by clicking the "Clock" icon, selecting this indicator, and choosing "Zone Breakout" or "Zone Touch".
eBacktesting - Learning: Liquidity GrabseBacktesting - Learning: Liquidity Grabs highlights moments when price pushes just beyond a recent swing high or swing low (where many stops tend to sit) and then quickly returns back inside the level. This behavior is often called a stop run, sweep, or liquidity grab.
Traders study these events because they can reveal:
- Where liquidity is “resting” (obvious highs/lows)
- A quick sweep and rejection (often a wick)
- When a breakout attempt is actually a trap
- A full candle close through the level, followed by an immediate reversal back inside (classic breakout trap)
- Potential areas where price may reverse or accelerate after stops are taken
Use it as a training tool to build pattern recognition and improve your patience around key levels, especially during active sessions where sweeps happen frequently.
These indicators are built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
DLR - Daily Liquidity Range Framework (v1.3)Daily Level Ranges
This strategy targets discounted premiums for buying Call/Put Options in discounted areas based on liquidity levels that form ranges.
Opening Range creates the strongest liquidity for the day.
Premarket Highs/Lows are strong liquidity points.
Previous Day Highs/Lows are reliable liquidity points.
PMH/PML and PDH/PDL may alternate positions relative to OR.
* Discounted Calls are taken under the OR in Bullish conditions
* Discounted Puts are taken above the OR in bearish conditions.
- Momentum Calls are taken at the OR in Bullish Conditions
- Momentum Puts are taken at the OR in Bearish Conditions
eBacktesting - Learning: Buy/Sell-side LiquidityeBacktesting - Learning: Buy/Sell-side Liquidity
Buy-side and sell-side liquidity are some of the most important “magnets” in day trading. When price forms obvious swing highs and swing lows, stop-loss orders often build up just above those highs (buy-side liquidity) and just below those lows (sell-side liquidity). Markets frequently move into these areas to “take” that liquidity before making the next meaningful move.
This indicator helps you spot those potential liquidity pools and highlights when price reaches them. Use it to study:
- where stops are likely resting above highs / below lows
- how often price sweeps those areas before reversing
- how liquidity runs can trigger the next expansion or trend continuation
These indicators are built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
Signal Architect Stop-Hunt !GC HOUR.1.12.2026 AM Signal Architect™ — Developer Note
These daily posts are intentional.
They are designed to help potential users visually observe consistency—not just in outcomes, but in process—across multiple futures products, market conditions, and timeframes, using the Stop Hunt Indicator alongside my proprietary Signal Architect™ framework.
The goal is simple:
To show how structure, behavior, and probability repeat—every day—despite a constantly changing market.
If you follow these posts over time, you will begin to recognize that:
• The same behaviors appear across different futures contracts
• The same reactions occur on multiple timeframes
• The same structural traps and stop events repeat regardless of volatility regime
That consistency is not coincidence.
Consistency is the signal.
Over time, that consistency should become familiar—
and familiarity should become your edge.
________________________________________
🧠 What You’re Seeing (And Why It Matters)
This indicator includes a limited visual preview of a proprietary power signal I have personally developed and refined across:
• Futures
• Algorithmic trading systems
• Options structure
• Equity market behavior
Every tool I release is built around one core principle:
Clarity of direction without over-promising or over-fitting.
That is why all Signal Architect™ tools emphasize:
• Market structure first
• High-probability directional context
• Clear, visual risk framing
• No predictive claims
• No curve-fit illusions
What you see publicly is not the full system—only controlled, educational previews meant to demonstrate how structure and probability align in real markets.
________________________________________
📊 Background & Scope
Over the years, I have personally developed 800+ programs, including:
• Equity systems
• Futures strategies
• Options structure tools
• Dividend & income frameworks
• Portfolio construction and allocation logic
This includes 40+ Nasdaq-100 trading bots, several operating under extremely strict rule-sets and controlled deployment conditions.
Nothing shared publicly represents my complete internal framework.
Public posts exist for education, observation, and pattern recognition—not signals, not advice, and not promises.
________________________________________
🤝 For Those Who Find Value
If these daily posts help you see the market more clearly:
• Follow, boost, and share my scripts, Ideas, and MINDS posts
• Feel free to message me directly with questions or build requests
• Constructive feedback and collaboration are always welcome
For traders who want to go deeper, optional memberships may include:
• Additional signal access
• Early previews
• Occasional free tools and upgrades
🔗 Membership & Signals:
trianchor.gumroad.com
________________________________________
⚠️ Final Note
Everything published publicly is educational and analytical only.
Markets carry risk.
Discipline, patience, and risk management always come first.
Watch the consistency.
Study the structure.
Let the market repeat itself.
— Signal Architect™
________________________________________
🔗 Personally Developed GPT Tools
• AuctionFlow GPT
chatgpt.com
• Signal Architect™ Gamma Desk – Market Intelligence
chatgpt.com
• Gamma Squeeze Watchtower™
chatgpt.com
Signal Architect Stop-Hunt !GC. 15 MIN. 1.12.2026 . AM SESSIONSignal Architect™ — Developer Note
These daily posts are intentional.
They are designed to help potential users visually observe consistency—not just in outcomes, but in process—across multiple futures products, market conditions, and timeframes, using the Stop Hunt Indicator alongside my proprietary Signal Architect™ framework.
The goal is simple:
To show how structure, behavior, and probability repeat—every day—despite a constantly changing market.
If you follow these posts over time, you will begin to recognize that:
• The same behaviors appear across different futures contracts
• The same reactions occur on multiple timeframes
• The same structural traps and stop events repeat regardless of volatility regime
That consistency is not coincidence.
Consistency is the signal.
Over time, that consistency should become familiar—
and familiarity should become your edge.
________________________________________
🧠 What You’re Seeing (And Why It Matters)
This indicator includes a limited visual preview of a proprietary power signal I have personally developed and refined across:
• Futures
• Algorithmic trading systems
• Options structure
• Equity market behavior
Every tool I release is built around one core principle:
Clarity of direction without over-promising or over-fitting.
That is why all Signal Architect™ tools emphasize:
• Market structure first
• High-probability directional context
• Clear, visual risk framing
• No predictive claims
• No curve-fit illusions
What you see publicly is not the full system—only controlled, educational previews meant to demonstrate how structure and probability align in real markets.
________________________________________
📊 Background & Scope
Over the years, I have personally developed 800+ programs, including:
• Equity systems
• Futures strategies
• Options structure tools
• Dividend & income frameworks
• Portfolio construction and allocation logic
This includes 40+ Nasdaq-100 trading bots, several operating under extremely strict rule-sets and controlled deployment conditions.
Nothing shared publicly represents my complete internal framework.
Public posts exist for education, observation, and pattern recognition—not signals, not advice, and not promises.
________________________________________
🤝 For Those Who Find Value
If these daily posts help you see the market more clearly:
• Follow, boost, and share my scripts, Ideas, and MINDS posts
• Feel free to message me directly with questions or build requests
• Constructive feedback and collaboration are always welcome
For traders who want to go deeper, optional memberships may include:
• Additional signal access
• Early previews
• Occasional free tools and upgrades
🔗 Membership & Signals:
trianchor.gumroad.com
________________________________________
⚠️ Final Note
Everything published publicly is educational and analytical only.
Markets carry risk.
Discipline, patience, and risk management always come first.
Watch the consistency.
Study the structure.
Let the market repeat itself.
— Signal Architect™
________________________________________
🔗 Personally Developed GPT Tools
• AuctionFlow GPT
chatgpt.com
• Signal Architect™ Gamma Desk – Market Intelligence
chatgpt.com
• Gamma Squeeze Watchtower™
chatgpt.com
Signal Architect Stop-Hunt GOLD 5MINSignal Architect™ — Developer Note
These daily posts are intentional.
They are designed to help potential users visually observe consistency—not just in outcomes, but in process—across multiple futures products, market conditions, and timeframes, using the Stop Hunt Indicator alongside my proprietary Signal Architect™ framework.
The goal is simple:
To show how structure, behavior, and probability repeat—every day—despite a constantly changing market.
If you follow these posts over time, you will begin to recognize that:
• The same behaviors appear across different futures contracts
• The same reactions occur on multiple timeframes
• The same structural traps and stop events repeat regardless of volatility regime
That consistency is not coincidence.
Consistency is the signal.
Over time, that consistency should become familiar—
and familiarity should become your edge.
________________________________________
🧠 What You’re Seeing (And Why It Matters)
This indicator includes a limited visual preview of a proprietary power signal I have personally developed and refined across:
• Futures
• Algorithmic trading systems
• Options structure
• Equity market behavior
Every tool I release is built around one core principle:
Clarity of direction without over-promising or over-fitting.
That is why all Signal Architect™ tools emphasize:
• Market structure first
• High-probability directional context
• Clear, visual risk framing
• No predictive claims
• No curve-fit illusions
What you see publicly is not the full system—only controlled, educational previews meant to demonstrate how structure and probability align in real markets.
________________________________________
📊 Background & Scope
Over the years, I have personally developed 800+ programs, including:
• Equity systems
• Futures strategies
• Options structure tools
• Dividend & income frameworks
• Portfolio construction and allocation logic
This includes 40+ Nasdaq-100 trading bots, several operating under extremely strict rule-sets and controlled deployment conditions.
Nothing shared publicly represents my complete internal framework.
Public posts exist for education, observation, and pattern recognition—not signals, not advice, and not promises.
________________________________________
🤝 For Those Who Find Value
If these daily posts help you see the market more clearly:
• Follow, boost, and share my scripts, Ideas, and MINDS posts
• Feel free to message me directly with questions or build requests
• Constructive feedback and collaboration are always welcome
For traders who want to go deeper, optional memberships may include:
• Additional signal access
• Early previews
• Occasional free tools and upgrades
🔗 Membership & Signals:
trianchor.gumroad.com
________________________________________
⚠️ Final Note
Everything published publicly is educational and analytical only.
Markets carry risk.
Discipline, patience, and risk management always come first.
Watch the consistency.
Study the structure.
Let the market repeat itself.
— Signal Architect™
________________________________________
🔗 Personally Developed GPT Tools
• AuctionFlow GPT
chatgpt.com
• Signal Architect™ Gamma Desk – Market Intelligence
chatgpt.com
• Gamma Squeeze Watchtower™
chatgpt.com
Signal Architect Stop-Hunt Signal Architect™ — Developer Note
These daily posts are intentional.
They are designed to help potential users visually observe consistency—not just in outcomes, but in process—across multiple futures products, market conditions, and timeframes, using the Stop Hunt Indicator alongside my proprietary Signal Architect™ framework.
The goal is simple:
To show how structure, behavior, and probability repeat—every day—despite a constantly changing market.
If you follow these posts over time, you will begin to recognize that:
• The same behaviors appear across different futures contracts
• The same reactions occur on multiple timeframes
• The same structural traps and stop events repeat regardless of volatility regime
That consistency is not coincidence.
Consistency is the signal.
Over time, that consistency should become familiar—
and familiarity should become your edge.
________________________________________
🧠 What You’re Seeing (And Why It Matters)
This indicator includes a limited visual preview of a proprietary power signal I have personally developed and refined across:
• Futures
• Algorithmic trading systems
• Options structure
• Equity market behavior
Every tool I release is built around one core principle:
Clarity of direction without over-promising or over-fitting.
That is why all Signal Architect™ tools emphasize:
• Market structure first
• High-probability directional context
• Clear, visual risk framing
• No predictive claims
• No curve-fit illusions
What you see publicly is not the full system—only controlled, educational previews meant to demonstrate how structure and probability align in real markets.
________________________________________
📊 Background & Scope
Over the years, I have personally developed 800+ programs, including:
• Equity systems
• Futures strategies
• Options structure tools
• Dividend & income frameworks
• Portfolio construction and allocation logic
This includes 40+ Nasdaq-100 trading bots, several operating under extremely strict rule-sets and controlled deployment conditions.
Nothing shared publicly represents my complete internal framework.
Public posts exist for education, observation, and pattern recognition—not signals, not advice, and not promises.
________________________________________
🤝 For Those Who Find Value
If these daily posts help you see the market more clearly:
• Follow, boost, and share my scripts, Ideas, and MINDS posts
• Feel free to message me directly with questions or build requests
• Constructive feedback and collaboration are always welcome
For traders who want to go deeper, optional memberships may include:
• Additional signal access
• Early previews
• Occasional free tools and upgrades
🔗 Membership & Signals:
trianchor.gumroad.com
________________________________________
⚠️ Final Note
Everything published publicly is educational and analytical only.
Markets carry risk.
Discipline, patience, and risk management always come first.
Watch the consistency.
Study the structure.
Let the market repeat itself.
— Signal Architect™
________________________________________
🔗 Personally Developed GPT Tools
• AuctionFlow GPT
chatgpt.com
• Signal Architect™ Gamma Desk – Market Intelligence
chatgpt.com
• Gamma Squeeze Watchtower™
chatgpt.com
Orion Time Matrix | ICT Macros [by AK]ORION TIME MATRIX | ICT MACRO SUITE
The Orion Time Matrix is a precision timing instrument designed to decipher the algorithmic "Heartbeat" and the timing of institutional order flow in US Index Futures markets, specifically Nasdaq (NQ) and S&P 500 (ES).
Inspired by the "Time & Price" teachings of Michael J. Huddleston (The Inner Circle Trader), this tool maps out the specific time windows where algorithms seek liquidity and price delivery is most efficient.
Liquidity Trend Horizon [Pineify]Pineify - Liquidity Trend Horizon
The Liquidity Trend Horizon is a sophisticated trend-following indicator designed to identify potential liquidity sweep zones while providing clear visual trend direction. It combines adaptive volatility bands with smart liquidity detection to help traders spot high-probability reversal points where institutional activity may be occurring.
Key Features
Dynamic trend baseline using WMA and EMA smoothing
ATR-based volatility bands that adapt to market conditions
Automatic liquidity sweep detection with visual alerts
Gradient-filled channels for intuitive trend visualization
Real-time candle coloring based on trend direction
How It Works
The indicator calculates a weighted moving average (WMA) of the closing price, then applies exponential smoothing (EMA) to create a responsive yet stable baseline. This dual-smoothing approach filters out market noise while maintaining sensitivity to genuine trend changes.
Volatility bands are constructed using a 200-period Average True Range (ATR) multiplied by a user-defined factor. This creates dynamic support and resistance zones that automatically widen during volatile periods and contract during consolidation.
How Multiple Indicators Work Together
The synergy between WMA, EMA, and ATR creates a comprehensive trend analysis system:
The WMA provides the initial trend estimation with emphasis on recent price action
The EMA layer adds smoothness to reduce false signals
The ATR bands define probabilistic boundaries where price is likely to find support or resistance
Trading Ideas and Insights
Liquidity sweeps occur when price wicks beyond the volatility bands but closes back within the channel. These events often indicate:
Stop-loss hunting by larger market participants
False breakouts that may lead to reversals
Areas of accumulated liquidity being absorbed
A bullish sweep (wick below lower band, close above) suggests potential buying opportunity. A bearish sweep (wick above upper band, close below) may signal selling pressure.
Unique Aspects
Unlike traditional channel indicators, the Liquidity Trend Horizon specifically identifies sweep events where price temporarily breaks boundaries before reverting. This behavior is commonly associated with institutional order flow and smart money concepts.
How to Use
Observe the baseline color for overall trend direction (cyan for bullish, purple for bearish)
Watch for sweep markers (🚀 BULL / 📉 BEAR) at band extremes
Use background flashes as immediate alerts for sweep events
Consider entries when sweeps align with the prevailing trend direction
Customization
Trend Period - Adjust baseline sensitivity (default: 24)
Channel Width Multiplier - Control band distance from baseline (default: 2.0)
Smoothness - Fine-tune signal responsiveness (default: 5)
Color Settings - Personalize bullish/bearish colors and transparency
Conclusion
The Liquidity Trend Horizon bridges technical analysis with liquidity concepts, offering traders a unique perspective on market structure. By highlighting potential sweep zones within an adaptive trend framework, it helps identify areas where reversals are statistically more likely to occur.
Smart Money Structure█████████████████████████████████████████████████████████████████████████████
█ SMART MONEY STRUCTURE | SMS Pro
█ Institutional Order Flow & Liquidity Zones
█ by @scalping-algo
█████████████████████████████████████████████████████████████████████████████
📋 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator automatically detects and plots Smart Money Concepts (SMC)
including Break of Structure (BOS), Demand & Supply Zones, and Flip Zones.
Perfect for traders who follow institutional order flow and price action.
🎯 INDICATOR COMPONENTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ BOS (Break of Structure)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• Bullish BOS: Price breaks above previous swing high → Trend shift UP
• Bearish BOS: Price breaks below previous swing low → Trend shift DOWN
✦ How to use:
→ Wait for BOS confirmation before entering trades
→ Bullish BOS = Look for long entries
→ Bearish BOS = Look for short entries
→ Combine with zones for high-probability setups
🟦 DEMAND ZONE (Teal Box)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• Last bearish candle before a bullish BOS
• Institutional buying area / Unfilled orders
✦ How to use:
→ Wait for price to retrace into the zone
→ Look for bullish rejection / confirmation candle
→ Enter LONG with stop below the zone
→ Target: Previous high or next supply zone
🟪 SUPPLY ZONE (Purple Box)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• Last bullish candle before a bearish BOS
• Institutional selling area / Unfilled orders
✦ How to use:
→ Wait for price to retrace into the zone
→ Look for bearish rejection / confirmation candle
→ Enter SHORT with stop above the zone
→ Target: Previous low or next demand zone
🔵 FLIP+ / MIT+ (Cyan Box)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• FLIP+: Old supply zone that flipped to demand (breaker block)
• MIT+: Mitigation zone - area where price may return to rebalance
✦ How to use:
→ Stronger than regular demand zones
→ Price often reacts sharply at flip zones
→ Great for continuation trades after BOS
→ Enter LONG when price taps the zone
🔴 FLIP- / MIT- (Pink Box)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• FLIP-: Old demand zone that flipped to supply (breaker block)
• MIT-: Mitigation zone - area where price may return to rebalance
✦ How to use:
→ Stronger than regular supply zones
→ Price often reacts sharply at flip zones
→ Great for continuation trades after BOS
→ Enter SHORT when price taps the zone
📐 STRUCTURE LINES (Gray Dashed)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• Connects swing highs and lows
• Shows market structure and trend direction
✦ How to use:
→ Upward sloping = Bullish structure
→ Downward sloping = Bearish structure
→ Trade in the direction of structure
📊 TRADING STRATEGY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LONG SETUP:
┌─────────────────────────────────────────┐
│ 1. Wait for Bullish ⚡ BOS │
│ 2. Mark the DEMAND or FLIP+ zone │
│ 3. Wait for price to retrace to zone │
│ 4. Enter on bullish confirmation │
│ 5. Stop loss: Below the zone │
│ 6. Take profit: Next SUPPLY zone │
└─────────────────────────────────────────┘
SHORT SETUP:
┌─────────────────────────────────────────┐
│ 1. Wait for Bearish ⚡ BOS │
│ 2. Mark the SUPPLY or FLIP- zone │
│ 3. Wait for price to retrace to zone │
│ 4. Enter on bearish confirmation │
│ 5. Stop loss: Above the zone │
│ 6. Take profit: Next DEMAND zone │
└─────────────────────────────────────────┘
⚙️ SETTINGS GUIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Structure Length (default: 9)
└─ Higher = Less signals, stronger zones
└─ Lower = More signals, more noise
└─ Recommended: 7-14 depending on timeframe
• Confirmation Factor (default: 0.33)
└─ Filters out weak structure breaks
└─ Higher = More confirmation needed
└─ Lower = Earlier signals
• Auto-Remove Broken Zones
└─ ON: Removes zones when price breaks through
└─ OFF: Keeps all zones visible
💡 PRO TIPS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ Use higher timeframes (4H, Daily) for stronger zones
✓ Combine with volume analysis for confirmation
✓ FLIP zones are generally stronger than regular zones
✓ Fresh (untested) zones have higher probability
✓ Multiple timeframe analysis = Higher accuracy
✓ Don't trade against the BOS direction
⚠️ RISK DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Trading involves substantial risk. Past performance is not indicative of
future results. This indicator is a tool to assist your analysis, not a
guarantee of profits. Always use proper risk management.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📧 Questions? Leave a comment below!
⭐ If you find this useful, please give it a BOOST!
🔔 Follow @scalping-algo for more indicators
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Smart Money Flow Oscillator [MarkitTick]💡This script introduces a sophisticated method for analyzing market liquidity and institutional order flow. Unlike traditional volume indicators that treat all market activity equally, the Smart Money Flow Oscillator (SMFO) employs a Logic Flow Architecture (LFA) to filter out market noise and "churn," focusing exclusively on high-impact, high-efficiency price movements. By synthesizing price action, volume, and relative efficiency, this tool aims to visualize the accumulation and distribution activities that are often attributed to "smart money" participants.
✨ Originality and Utility
Standard indicators like On-Balance Volume (OBV) or Money Flow Index (MFI) often suffer from noise because they aggregate volume based simply on the close price relative to the previous close, regardless of the quality of the move. This script differentiates itself by introducing an "Efficiency Multiplier" and a "Momentum Threshold." It only registers volume flow when a price move is considered statistically significant and structurally efficient. This creates a cleaner signal that highlights genuine supply and demand imbalances while ignoring indecisive trading ranges. It combines the trend-following nature of cumulative delta with the mean-reverting insights of an In/Out ratio, offering a dual-mode perspective on market dynamics.
🔬 Methodology
The underlying calculation of the SMFO relies on several distinct quantitative layers:
• Efficiency Analysis
The script calculates a "Relative Efficiency" ratio for every candle. This compares the current price displacement (body size) per unit of volume against the historical average.
If price moves significantly with relatively low volume, or proportional volume, it is deemed "efficient."
If significant volume occurs with little price movement (churn/absorption), the efficiency score drops.
This score is clamped between a user-defined minimum and maximum (Efficiency Cap) to prevent outliers from distorting the data.
• Momentum Thresholding
Before adding any data to the flow, the script checks if the current price change exceeds a volatility threshold derived from the previous candle's open-close range. This acts as a gatekeeper, ensuring that only "strong" moves contribute to the oscillator.
• Variable Flow Calculation
If a move passes the threshold, the script calculates the flow value by multiplying the Typical Price and Volume (Money Flow) by the calculated Efficiency Multiplier.
Bullish Flow: Strong upward movement adds to the positive delta.
Bearish Flow: Strong downward movement adds to the negative delta.
Neutral: Bars that fail the momentum threshold contribute zero flow, effectively flattening the line during consolidation.
• Calculation Modes
Cumulative Delta Flow (CDF): Sums the flow values over a rolling period. This creates a trend-following oscillator similar to OBV but smoother and more responsive to real momentum.
In/Out Ratio: Calculates the percentage of bullish inflow relative to the total absolute flow over the period. This oscillates between 0 and 100, useful for identifying overextended conditions.
📖 How to Use
Traders can utilize this oscillator to identify trend strength and potential reversals through the following signals:
• Signal Line Crossovers
The indicator plots the main Flow line (colored gradient) and a Signal line (grey).
Bullish (Green Cloud): When the Flow line crosses above the Signal line, it suggests rising buying pressure and efficient upward movement.
Bearish (Red Cloud): When the Flow line crosses below the Signal line, it suggests dominating selling pressure.
• Divergences
The script automatically detects and plots divergences between price and the oscillator:
Regular Divergence (Solid Lines): Suggests a potential trend reversal (e.g., Price makes a Lower Low while Oscillator makes a Higher Low).
Hidden Divergence (Dashed Lines): Suggests a potential trend continuation (e.g., Price makes a Higher Low while Oscillator makes a Lower Low).
"R" labels denote Regular, and "H" labels denote Hidden divergences.
• Dashboard
A dashboard table is displayed on the chart, providing real-time metrics including the current Efficiency Multiplier, Net Flow value, and the active mode status.
• In/Out Ratio Levels
When using the Ratio mode:
Values above 50 indicate net buying pressure.
Values below 50 indicate net selling pressure.
Approaching 70 or 30 can indicate overbought or oversold conditions involving volume exhaustion.
⚙️ Inputs and Settings
Calculation Mode: Choose between "Cumulative Delta Flow" (Trend focus) or "In/Out Ratio" (Oscillator focus).
Auto-Adjust Period: If enabled, automatically sets the lookback period based on the chart timeframe (e.g., 21 for Daily, 52 for Weekly).
Manual Period: The rolling lookback length for calculations if Auto-Adjust is disabled.
Efficiency Length: The period used to calculate the average body and volume for the efficiency baseline.
Eff. Min/Max Cap: Limits the impact of the efficiency multiplier to prevent extreme skewing during anomaly candles.
Momentum Threshold: A factor determining how much price must move relative to the previous candle to be considered a "strong" move.
Show Dashboard/Divergences: Toggles for visual elements.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
This indicator represents a hybrid synthesis of academic Market Microstructure theory and classical technical analysis. It utilizes an advanced algorithm to quantify "Price Impact," leveraging the following theoretical frameworks:
• 1. The Amihud Illiquidity Ratio (2002)
The core logic (calculating body / volume) functions as a dynamic implementation of Yakov Amihud’s Illiquidity Ratio. It measures price displacement per unit of volume. A high efficiency score indicates that "Smart Money" has moved the price significantly with minimal resistance, effectively highlighting liquidity gaps or institutional control.
• 2. Kyle’s Lambda (1985) & Market Depth
Drawing from Albert Kyle’s research on market microstructure, the indicator approximates Kyle's Lambda to measure the elasticity of price in response to order flow. By analyzing the "efficiency" of a move, it identifies asymmetries—specifically where price reacts disproportionately to low volume—signaling potential manipulation or specific Market Maker activity.
• 3. Wyckoff’s Law of Effort vs. Result
From a classical perspective, the algorithm codifies Richard Wyckoff’s "Effort vs. Result" logic. It acts as an oscillator that detects anomalies where "Effort" (Volume) diverges from the "Result" (Price Range), predicting potential reversals.
• 4. Quantitative Advantage: Efficiency-Weighted Volume
Unlike linear indicators such as OBV or Chaikin Money Flow—which treat all volume equally—this indicator (LFA) utilizes Efficiency-Weighted Volume. By applying the efficiency_mult factor, the algorithm filters out market noise and assigns higher weight to volume that drives structural price changes, adopting a modern quantitative approach to flow analysis.
● 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.
Institutional PointOverview Institutional Point is a sophisticated data-mining indicator designed to identify and track "institutional footprints" by isolating the single candle with the highest volume relative to a specific time anchor. Unlike traditional volume profiles that aggregate data into price bins, this script pinpoints the exact temporal origin of massive liquidity injections.
Core Methodology The script operates on a multi-timeframe analysis engine (MTF). It scans sub-chart data (2-minute or 15-minute intervals) to find the absolute maximum volume peak within a defined period. Once the "Institutional Point" is identified:
Source Identification: The origin candle is highlighted in white, signaling a high-conviction entry or exit by large-scale market participants.
Zone Projection: A borderless "Institutional Zone" is projected forward from the spike’s high/low range.
Dynamic Interaction: The zone remains active until the price revisits the area (mitigation) or until the time-based expiration is reached.
Anchor Modes & Precision
8-Hour Cycle: Optimized for high-frequency scalping. Anchors reset at 00:00, 08:00, and 16:00. Utilizes ultra-precise 2-minute volume detection.
Daily Session: Designed for intraday and swing traders. Anchors to the Daily Open. Utilizes 2-minute volume detection to isolate precise institutional orders.
Weekly Cycle: Built for identifying major structural pivots. Anchors to the Weekly Open. Utilizes 15-minute volume detection for macro-liquidity analysis.
Key Features
Naked Level Tracking: Zones automatically stop extending the moment they are "hit" by price action, providing a clean visual of unmitigated liquidity.
Anti-Noise Filter: Automatically excludes Saturday and Sunday data to maintain statistical integrity across global markets.
Minimalist Interface: High-contrast visual design focused on scannability and professional chart aesthetics.
Use Cases
Data Science & Backtesting: Ideal for measuring the "Z-Score" or "Percentile Distance" from institutional peaks.
Supply & Demand Trading: Automated identification of the "Origin of the Move."
Magnet Analysis: Tracking "Naked" volume spikes as high-probability magnets for future price mean reversion.
Session Liquidity Raid ModelSession Liquidity Raid Model
This indicator helps you understand what each market session is doing with liquidity — without guessing, predicting, or over-complicating things.
It tracks the Asia, London, and New York sessions and shows you:
Where each session’s highs and lows are
Whether those levels have been taken (raided) or are still untouched
When New York is likely cleaning up liquidity left by London
The basic idea (very simple)
If London moves price strongly without taking Asia’s opposite side, New York often comes back to raid London levels first before the real move happens.
This indicator makes that process visible at a glance.
What it shows on the chart
Asia High & Low
London High & Low
Whether each level is taken or not
A simple Bullish / Bearish / Neutral session bias
Clean horizontal lines for key session levels
No buy or sell signals.
No indicators stacked on top of each other.
Just context.
How to use it
Use it to avoid bad trades, not force trades
Wait for liquidity to be taken before looking for entries
Combine it with your own price action, structure, or FVGs
If you trade CME_MINI:NQ1! , this helps you stay aligned with what New York is actually doing, instead of reacting late.
Important note
This is not a trading strategy and it does not predict the future.
It simply shows which session still owes liquidity and which one has already been cleared.
LBMA London Gold Fix Times [Auto DST]## Overview
This lightweight indicator automatically marks the **LBMA Gold Price Fixing** times on your chart using vertical lines. It is designed specifically for **XAUUSD (Gold)** traders who need to monitor institutional liquidity and volatility shifts during the London session.
The indicator tracks the two key daily fixing moments:
* **AM Fix:** 10:30 (London Time)
* **PM Fix:** 15:00 (London Time)
## Key Features
* **🌍 Auto Daylight Saving Time (DST):** Built with the `Europe/London` timezone parameter. It automatically adjusts to British Summer Time (BST) and GMT, so you never have to manually change the UTC offset settings.
* **⚡ Minimalist Design:** Draws clean vertical lines without cluttering your chart with text labels.
* **🎨 Fully Customizable:** You can adjust the line color, width, and style (Solid, Dashed, Dotted) for both AM and PM sessions independently.
## Why are these times important?
The London Gold Fix (LBMA Gold Price) is the global benchmark for physical gold settlement. Major institutions, central banks, and mining companies settle contracts at these times. Consequently, **10:30** and **15:00** (London time) often witness:
1. Significant spikes in volatility.
2. Trend reversals or accelerations.
3. Massive volume injection.
## Usage Tips
* **Timeframe:** This indicator works best on **Intraday Timeframes** (1-minute to 30-minute charts).
* *Note:* It may not be visible on H1 (1-hour) charts or higher because the fix times (e.g., 10:30) occur in the middle of an hourly candle.
* **Setup:** Simply add it to your chart. No timezone configuration is required; the script calculates London time internally.
## Settings
* **AM Fix Color:** Default is Blue (London Morning).
* **PM Fix Color:** Default is Red (London Afternoon/US Morning overlap).
* **Line Style:** Choose between Solid, Dashed, or Dotted lines.
概述 (Overview)
这是一个轻量级的辅助指标,通过垂直线在图表上自动标记 LBMA 伦敦金定盘价(LBMA Gold Price Fixing) 的时刻。它是专为 XAUUSD(黄金) 交易者设计的,旨在帮助大家捕捉伦敦时段内机构流动性和市场波动的关键节点。
该指标会自动锁定每天两个核心的定盘时间:
上午定盘 (AM Fix): 10:30 (伦敦时间)
下午定盘 (PM Fix): 15:00 (伦敦时间)
主要功能 (Key Features)
🌍 自动识别夏令时 (Auto DST): 代码内置 Europe/London 时区参数。无论英国处于夏令时 (BST) 还是冬令时 (GMT),指标都会自动精准对齐,无需用户手动调整时区设置。
⚡ 极简主义设计: 仅绘制干净的垂直线,不显示任何文字标签,避免遮挡K线或干扰视线。
🎨 高度可定制: 您可以独立调整上午和下午定盘线的颜色、粗细以及样式(实线、虚线或点线)。
为什么要关注这两个时间点?
LBMA 伦敦金定盘价是全球实物黄金结算的基准价格。大型金融机构、中央银行和金矿公司通常会在这个时间点集中进行合约结算。因此,在伦敦时间 10:30 和 15:00 前后,市场经常会出现:
波动率瞬间激增。
短期趋势的反转或加速。
巨量成交量的涌入。
使用建议 (Usage Tips)
适用周期: 建议在 日内分时图(1分钟、5分钟、15分钟或30分钟)上使用。
注意: 在 1小时 (H1) 或更大的周期上,线条可能无法显示,因为定盘时间(如 10:30)发生在整点K线的内部,无法被单独标记。
设置方法: 加载指标即可使用。无论您本地电脑的时间设置如何,脚本内部会自动计算正确的伦敦时间。
参数设置 (Settings)
AM Fix Color: 上午定盘线颜色(默认为蓝色)。
PM Fix Color: 下午定盘线颜色(默认为红色,此时往往也是美盘初期的波动高峰)。
Line Style: 线条样式选择(实线、虚线、点线)。
Swing Failure Signals [AlgoAlpha]🟠 OVERVIEW
This script detects swing failure patterns by tracking how price interacts with recent swing highs and lows, then confirming those sweeps with a change in candle behavior. The goal is to highlight areas where price briefly breaks a key level, fails to continue, and then shifts direction. These events often occur around liquidity runs, where stops are triggered before price reverses. The script draws levels, colors bars, and prints clear markers to help visualize where these failures occur and when they are confirmed.
🟠 CONCEPTS
The logic starts with pivot-based swing detection. Recent swing highs and lows are stored and monitored. When price trades beyond one of these levels within a defined historical window, it is treated as a sweep. A sweep alone is not enough. The script then waits for a Change in State of Delivery (CISD), which is defined by a shift in candle structure that shows follow-through in the opposite direction. A tolerance filter measures how far price traveled beyond the level relative to the reaction that followed. If the reaction is strong enough and happens within a limited number of bars, the sweep is validated as a swing failure. In short: the swing defines the reference, the sweep shows intent, and the CISD confirms acceptance or rejection.
🟠 FEATURES
Sweep detection with a maximum lookback to avoid outdated levels
CISD confirmation using candle structure and price expansion
Alert conditions for bullish and bearish swing failures
🟠 USAGE
Setup : Add the script to your chart. It works on any market and timeframe. Lower timeframes highlight intraday liquidity runs, while higher timeframes show structural failures. Start with the default inputs before adjusting.
Read the chart : A bullish swing failure occurs when price sweeps a prior low, then reverses and confirms with a bullish CISD. A bearish swing failure is the opposite, sweeping a prior high and confirming with a bearish CISD. Dashed lines mark the swept swing. Solid lines mark the CISD level. Bars are colored while the SFP state is active.
Settings that matter : Increasing Pivot Detection Length finds more significant swings but fewer signals. Reducing Max Pivot Point Edge limits how far back sweeps are allowed, keeping signals more current. The Patience setting controls how many bars are allowed for confirmation after a sweep. The Trend Noise Filter raises or lowers how strong the reaction must be to qualify as a valid failure.
GLI Fed Plumbing Regime (v1.0)GLI Regime Index
Global Liquidity Intelligence for Risk Markets
The GLI Regime Index is a macro-liquidity regime engine that classifies the financial system based on where cash is actually flowing inside the Fed–Treasury plumbing.
Markets do not move on narratives.
They move on liquidity .
GLI measures that liquidity in real time by combining four institutional-grade signals:
• Fed Reverse Repo (RRP) – where excess cash is being parked
• 3-Month Treasury Bills – where short-term money prefers to earn yield
• IORB – the Federal Reserve’s policy floor
• SOFR – the true cost of funding in the system
By comparing these flows, GLI identifies which institution is currently in control of money:
Regime What It Means
FED DOMINANT Abundant reserves, liquidity flowing into risk assets
T-BILL DOMINANT Treasury absorbing liquidity, risk tightening
CASH GLUT Excess money trapped at the Fed (RRP high)
FUNDING STRESS Funding markets under pressure (SOFR > IORB)
NEUTRAL Transition state between regimes
Why this matters
Assets like NVDA, BTC, high-beta tech, and growth stocks don’t trade on earnings — they trade on marginal liquidity.
GLI tells you:
When rallies are supported by real money
When breakouts are likely to fail
When dips are being bought vs distributed
When risk is being quietly withdrawn
How to use it
Apply GLI to any chart.
When the background turns:
Green (Fed Dominant) → Risk assets are structurally supported
Orange (T-Bill Dominant) → Liquidity is draining from risk
Blue (Cash Glut) → Money is stuck at the Fed, rallies struggle
Red (Funding Stress) → Volatility and liquidation risk rise
The built-in Liquidity HUD shows:
RRP usage
Fed vs Treasury dominance
SOFR stress
Rate spreads in real time
No interpretation required.
What GLI is not
GLI is not a technical indicator.
It does not look at price, volume, or momentum .
It looks at the money behind the price .
That’s why it works.
Wyckoff Map (TR + S/D + Springs/Upthrusts)Wyckoff Map is a context-aware market structure overlay that visualizes key Wyckoff concepts directly on the price chart — without repainting and without relying on black-box signals.
Instead of generating isolated buy/sell alerts, this tool maps the environment in which price is operating, helping traders understand where supply and demand are interacting, where liquidity is being swept, and which phase the market is likely in.
What the script shows
Trading Range (TR)
Automatically detects a recent trading range
Displays the range as a shaded box for immediate context
Supply & Demand Zones
Demand zone near the range low (buyers’ area)
Supply zone near the range high (sellers’ area)
Zones adapt dynamically as the range evolves
Wyckoff Events
Spring: downside liquidity sweep followed by a reclaim (potential accumulation behavior)
Upthrust: upside liquidity sweep followed by failure (potential distribution behavior)
Events are filtered by range context and optional volume confirmation
Market Phase (Heuristic)
Labels the current environment as:
Accumulation
Distribution
Neutral Trading Range
Markup / Markdown
Phase is inferred from price position within the range and moving-average slope
Legend & Visual Guidance
A floating legend explains all zones and events
Designed to remain readable during replay and live trading
How to use
This script is not a standalone trading strategy.
It is best used to:
Avoid chasing breakouts into supply
Identify failed breakdowns near demand
Recognize accumulation vs distribution behavior
Add context to lower-timeframe entries
Combine with your own execution model (structure, risk, or order flow)
Higher-timeframe context is strongly recommended.
⚙️ Customization
You can adjust:
Trading range length
Zone thickness (ATR-based)
Pivot sensitivity
Volume confirmation
Event confirmation strictness
Visibility of zones, events, phase labels, and legend
Disclaimer
Wyckoff analysis is contextual and probabilistic, not deterministic.
This tool visualizes structural behavior — it does not predict future price.
Use proper risk management.
TL;DR (Short Description)
A non-repainting Wyckoff market structure overlay that maps trading ranges, supply/demand zones, Springs, Upthrusts, and accumulation/distribution phases directly on the chart.
Key Price Levels + Zones"Support and resistance are rarely exact lines; hey are zones where price reacts."
This indicator upgrades standard horizontal levels by visualizing Liquidity Zones around the most critical intraday reference points: Pre-Market, Previous Day, and Previous Week Highs/Lows.
Unlike basic scripts that just draw thin lines, this tool combines the precision of exact price levels with the reality of market volatility. It offers deep customization, allowing you to separate line colors from zone colors, perfect for keeping your charts clean and professional.
Key Features
1. Dual Zone Logic (Dynamic Sizing)
• Price Tier Mode (Default): Zones are sized based on the asset price (e.g., higher-priced stocks get wider zones automatically). This mimics "psychological" levels.
• ATR Volatility Mode: Switches calculation to use the Average True Range (ATR). Zones expand during high volatility and contract during chop, adapting to the market conditions in real-time.
2. Ultimate Customization
• Separate Colors: You can finally set your Line Color (e.g., Bright Green) independently from your Zone Fill (e.g., Faint Grey).
• Individual Toggles: Turn the Line, Zone, or Label on/off individually for every single level.
• Line Styles: Differentiate daily levels (Solid) from weekly levels (Dashed) instantly.
3. The "Smart" Levels
• PM High/Low: Real-time Pre-Market tracking that freezes at the open.
• PD High/Low: Previous Day’s range.
• PW High/Low: Previous Week’s range (Critical for swing points).
---
Settings Guide
• Extension Style:
- Individual: Keeps history of levels for backtesting.
- Most Recent: Keeps the chart minimal by extending only today's levels.
• Zone Thickness Mode: Switch between "Price Tier" and "ATR Volatility".
• ATR Settings: Fully adjustable Length and Multiplier (when in ATR mode).
• Transparency: Global slider to control how subtle or bold the zones appear.
How to Trade This
• The "Trap": If price breaks a Line but fails to close outside the Zone, it is often a liquidity grab (fakeout).
• The Retest: Watch for price to break a level and use the Zone as a cushion for a bounce/retest entry.
Options Liquidity Meter (OLM)❓ The question behind this indicator
When trading options, it is common to experience situations where price moves in the expected direction, yet the option contract does not increase in value as anticipated.
This typically happens when one or more of the following conditions is missing:
Insufficient liquidity participation
Lack of volatility expansion
Weak or passive order flow
Options Liquidity Meter (OLM) was created to address this specific question:
“If price moves from here, are there conditions for option premiums to actually expand?”
🎯 What this indicator does
Options Liquidity Meter is a context tool, not a trading system.
It evaluates whether the current market environment is favorable for option premium expansion , based on three core engines:
Liquidity (Relative Volume)
Measures whether price movement is supported by meaningful participation.
Volatility State
Identifies compression, release, and expansion phases, where options tend to respond differently.
Order Flow Activity (OBV-based)
Acts as a proxy for active vs. passive participation, helping filter hollow moves.
These components are combined into a single, easy-to-read options context.
🟢🟡🔴 Options Context Output
The indicator displays one consolidated state:
RED — NO EXPANSION
Price may move, but option premiums often do not respond.
YELLOW — BUILDING
Liquidity or volatility is developing. Conditions are improving but not fully aligned.
GREEN — EXPANSION LIKELY
Liquidity, volatility expansion, and active flow are aligned.
This is a favorable environment for option premium expansion.
The same logic is reflected visually through the background color and summarized in the dashboard.
📊 How to read the dashboard
The dashboard shows:
Liquidity: LOW / OK / HIGH
Volatility: COMPRESSED / RELEASED / EXPANDING
Order Flow: FLAT / ACTIVE
Options Context: NO EXPANSION / BUILDING / EXPANSION LIKELY
Below, a Background Color Meaning section explains what each color represents, making the indicator intuitive and educational.
📍 Where to apply this indicator
Options Liquidity Meter must be applied to the underlying asset chart, such as:
Indices (SPY, SPX, QQQ, etc.)
Stocks
Futures
ETFs
It is not designed to be applied to option contracts themselves.
The indicator evaluates the market conditions of the underlying, which are the drivers that influence option premium behavior.
Contract selection (strike, delta, gamma, expiration) remains the trader’s responsibility.
🧠 How to use it
Use your own methodology to define:
Direction
Structure
Entries and exits
Use Options Liquidity Meter to evaluate:
Whether the current environment supports option premium expansion
If the context is RED, be cautious — price may move without rewarding options.
If the context is GREEN, the environment is statistically more favorable for options responsiveness.
🔗 Complementary tools
Options Liquidity Meter is designed to complement, not replace, other tools.
It works well alongside:
Opening Path Selector (EMA200 Context Tool)
For deciding which asset offers the cleanest directional context.
Multi-Tool VWAP + EMAs (Multi-Timeframe) + Key Levels
For in-chart structure, bias, and reference levels.
Each tool addresses a different stage of the decision process and can be used independently.
⚠️ Important notes
This indicator provides context only
It does not generate trading signals
No indicator guarantees results
Use at your own risk.
Liquidity Strain Detector [MarkitTick]💡 This indicator provides a specialized method for detecting market anomalies where price movement becomes disconnected from typical volume profiles, signaling potential exhaustion events. By combining statistical analysis of liquidity (price impact) with a directional trend filter, the tool aims to highlight moments of extreme market stress, such as panic selling or euphoric buying, that often precede mean reversions or trend pauses.
● Originality and Utility
Standard volume indicators often look at raw volume levels, which can be misleading during different times of the day or across different assets. This script calculates the efficiency of moving price (Illiquidity) and normalizes it statistically. This allows the trader to see when the market is becoming thin or stressed relative to recent history. It is particularly useful for contrarian traders looking for capitulation points within established trends, offering a unique perspective beyond standard RSI or MACD divergence.
● Methodology
The core mechanism drives a custom Liquidity Engine that performs the following steps:
Price Impact Calculation: It computes the ratio of the True Range to Volume. High values indicate that price is moving significant distances on relatively low volume or that volatility is extreme relative to participation.
Normalization: The raw impact data is smoothed using a logarithmic scale to handle the wide variance in volume data.
Statistical Scoring (Z-Score): The script calculates the Z-Score of this normalized data over a user-defined lookback period. This determines how many standard deviations the current liquidity stress is away from the mean.
Trend Filtering: A standard Exponential Moving Average (EMA) determines the dominant market direction to contextualize the stress signal.
● How to Use
The indicator plots labels on the chart when specific High Stress conditions are met during a trend:
SE (Seller Exhaustion - Green Label): Appears when the market is in a downtrend (price below EMA), the current candle is bearish, and the liquidity stress Z-Score breaches the upper threshold. This suggests panic selling or a liquidity gap down, often marking a temporary bottom or reversal point.
BE (Buyer Exhaustion - Red Label): Appears when the market is in an uptrend (price above EMA), the current candle is bullish, and the liquidity stress Z-Score breaches the upper threshold. This suggests a melt-up or buying climax into thin liquidity, often preceding a pullback.
● Inputs
Trend Filter Length: The period for the EMA used to determine the baseline trend direction.
Statistical Lookback: The number of bars used to calculate the mean and standard deviation for the Z-Score.
Stress Threshold (Sigma): The Z-Score value required to trigger a high-stress signal. Higher values result in fewer, more extreme signals.
● 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.
Liquidity Retest Strategy (Apicode) - TP/SL Lines FixedTechnical Documentation:
1. Purpose and underlying concept
This strategy targets a common behavior in liquid markets: liquidity sweeps around meaningful support/resistance levels, followed by a retest and rejection (reversal) with confirmation.
The core thesis is that many initial “breaks” are not continuation moves, but rather stop-runs and order harvesting. After the sweep, price reclaims the level and closes back on the opposite side, offering a structured entry with defined risk.
The strategy includes:
Support/Resistance detection via pivots
Dynamic selection of the “working” level using an ATR-based proximity window
Rejection validation via candle structure (wick + close)
Optional filters: volume, VWAP-like bias, and EMA trend
Risk management with static TP/SL (ATR-based or %), plus trailing stop (ATR-based or %), with per-trade lines plotted
2. Main components
2.1. Volatility metric: ATR
atr = ta.atr(atrLength) is used in two essential places:
Level selection (proximity to S/R): prevents trading levels that are too far from current price.
Sweep validation (minimum wick size): requires the wick to extend beyond the level by a volatility-relative amount.
Optionally, ATR can also be used for:
Static TP/SL (when usePercent = false)
Trailing stop (when useTrailPercent = false)
2.2. Building S/R levels with pivots
Pivots are detected using:
pivotHigh = ta.pivothigh(pivotLookback, rightBars)
pivotLow = ta.pivotlow(pivotLookback, rightBars)
Each confirmed pivot is stored in arrays:
resistanceLevels for resistance
supportLevels for support
The array size is capped by maxLevels, which reduces noise and manages chart resource usage (lines).
2.3. Selecting the “best” level each bar
On each bar, a single support S and/or resistance R candidate is chosen:
Support: nearest level below price (L < price)
Resistance: nearest level above price (L > price)
Only levels within atr * maxDistATR are considered
This produces dynamic “working levels” that adapt to price location and volatility.
2.4. Rejection pattern (retest + sweep)
After selecting the working level:
Support rejection (long setup)
Conditions:
Low touches/crosses support: low <= S
Close reclaims above: close > S
Bullish candle: close > open
Sufficient wick below the level (liquidity sweep): (S - low) >= atr * minWickATR
This aims to capture a stop sweep below support followed by immediate recovery.
Resistance rejection (short setup)
Symmetric conditions:
High touches/crosses resistance: high >= R
Close rejects back below: close < R
Bearish candle: close < open
Sufficient wick above the level: (high - R) >= atr * minWickATR
2.5. Optional filters
Final signals are the rejection pattern AND enabled filters:
1.- Volume filter
High volume is defined as: volume > SMA(volume, 20) * volMult
When useVolFilter = true, setups require relatively elevated participation
2.- VWAP-like bias filter
A VWAP-like series is computed over vwapLength (typical price weighted by volume)
When useVWAPFilter = true:
- Longs only if close > vwap
- Shorts only if close < vwap
3.- EMA trend filter
Uptrend if EMA(fast) > EMA(slow)
When useTrendFilter = true:
- Longs only in uptrend
- Shorts only in downtrend
2.6. Backtest time window (time filter)
To keep testing focused and reduce long-history noise:
useMaxLookbackDays enables the filter
maxLookbackDays defines how many days back from timenow entries are allowed
Entries are permitted only when time >= startTime.
3. Entry rules and position control
3.1. Entries
strategy.entry('Long', strategy.long) when longSetup and no long position is open
strategy.entry('Short', strategy.short) when shortSetup and no short position is open
No pyramiding is allowed (pyramiding = 0). Position gating is handled by:
Long allowed if strategy.position_size <= 0
Short allowed if strategy.position_size >= 0
4. Risk management: TP/SL and trailing (with plotted lines)
4.1. Detecting entry/exit events
Events are identified via changes in strategy.position_size:
LongEntry: transition into a long
shortEntry: transition into a short
flatExit: transition back to flat
This drives per-trade line creation, updates, and cleanup of state variables.
4.2. Static TP/SL
On entry, entryPrice := strategy.position_avg_price is stored.
Percent mode (usePercent = true)
Long:
staticSL = entryPrice*(1 - slPerc/100)
staticTP = entryPrice*(1 + tpPerc/100)
Short:
staticSL = entryPrice*(1 + slPerc/100)
staticTP = entryPrice*(1 - tpPerc/100)
ATR mode (usePercent = false)
Long:
staticSL = entryPrice - atrAtEntry*slATR
staticTP = entryPrice + atrAtEntry*tpATR
Short:
staticSL = entryPrice + atrAtEntry*slATR
staticTP = entryPrice - atrAtEntry*tpATR
4.3. Trailing stop (custom)
While a position is open, the script tracks the most favorable excursion:
Long: hhSinceEntry = highest high since entry
Short: llSinceEntry = lowest low since entry
A trailing candidate is computed:
Percent trailing (useTrailPercent = true)
Long: trailCandidate = hhSinceEntry*(1 - trailPerc/100)
Short: trailCandidate = llSinceEntry*(1 + trailPerc/100)
ATR trailing (useTrailPercent = false)
Long: trailCandidate = hhSinceEntry - atr*trailATR
Short: trailCandidate = llSinceEntry + atr*trailATR
Then the effective stop is selected:
Long: slUsed = max(staticSL, trailCandidate) when useTrail is enabled
Short: slUsed = min(staticSL, trailCandidate) when useTrail is enabled
If useTrail is disabled, slUsed remains the static stop.
Take profit remains static:
tpUsed = staticTP
Exit orders are issued via:
strategy.exit(..., stop=slUsed, limit=tpUsed)
4.4. Per-trade TP/SL lines
On each entry, two lines are created (SL and TP) via f_createLines().
During the trade, the SL line updates when trailing moves the stop; TP remains fixed.
On exit (flatExit), both lines are finalized on the exit bar and left on the chart as historical references.
This makes it straightforward to visually audit each trade: entry context, intended TP, and trailing evolution until exit.
5. Visualization and debugging
BUY/SELL labels with configurable size (xsize)
Debug mode (showDebug) plots the chosen working support/resistance level each bar
Stored pivot levels are drawn using reusable line slots, projected a fixed 20 bars to the right to keep the chart readable and efficient
6. Parameter guidance and practical notes
pivotLookback / rightBars: controls pivot significance vs responsiveness. Lower rightBars confirms pivots earlier but can increase noise.
maxDistATR: too low may reject valid levels; too high may select distant, less relevant levels.
minWickATR: key quality gate for “real” sweeps. Higher values reduce frequency but often improve signal quality.
Filters:
Volume filter tends to help in ranges and active sessions.
VWAP bias is useful intraday to align trades with session positioning.
EMA trend filter is helpful in directional markets but may remove good mean-reversion setups.
Percent TP/SL: provides consistent behavior across assets with variable volatility, but is less adaptive to sudden regime shifts.
Percent trailing: can capture extensions well; calibrate trailPerc per asset/timeframe (too tight = premature exits).
7. Known limitations
Pivot-derived levels are a heuristic; in strong trends, valid retests may be limited.
The time filter uses timenow; behavior may vary depending on historical context and how the platform evaluates “current time.”
TP/SL and trailing are computed from bar OHLC; in live trading, intrabar sequencing and fills may differ from bar-close simulation.






















