Advanced custom multi MA signals (EMA/SMA/VWMA/VWAP) Features of Multi Moving Averages
The biggest enemy in trading is "Noise." If you get swayed by minute fluctuations on the chart, you end up missing the forest for the trees.
This indicator (Advanced Custom Multi MA Signals) is not just a simple line. By combining the three core elements of Price, Time, and Volume, it acts as a navigation system that visualizes the market's "true trend." In particular, the ability to analyze 5 moving averages simultaneously across various timeframes is akin to viewing a 3D map of the battlefield.
Understanding Core Concepts
This indicator supports 4 types of moving averages. It is crucial to clearly understand the nature of each tool.
SMA (Simple Moving Average): The most basic average value. Since it produces fewer whipsaws (false signals), it is used as a baseline to judge the "long-term trend."
EMA (Exponential Moving Average): Places more weight on recent prices. It reacts sensitively to market changes, making it advantageous for identifying "entry points."
VWMA (Volume Weighted Moving Average): Incorporates "volume" into the price calculation. It acts as a "false signal filter," weeding out price moves that aren't backed by trading volume.
VWAP (Volume Weighted Average Price): The benchmark price used by institutional investors for daily trading. It is calculated based on the session, regardless of the period settings. It is considered the "lifeline" of day trading.
Indicator Settings Guide
Open the settings window and tune it to fit your trading style.
MA 01 ~ 05 (Moving Average Settings)
MA Type: Select according to your purpose. (Generally, EMA is recommended for short-term analysis, SMA/VWMA for long-term).
Length: Enter the period you wish to analyze (e.g., 20, 60, 120, 200).
Timeframe: This is the core feature. It allows you to overlay moving averages from a higher timeframe (e.g., 4-hour, Daily) onto the chart you are currently viewing (e.g., 15-minute).
Signal Option (Trading Signals)
Golden Cross (GC) / Death Cross (DC): Captures the moment the short-term line breaks through the long-term line. You can run up to 3 strategies simultaneously.
Ribbon Gradient (Trend Visualization)
Represents the gap between two moving averages with color. As the color deepens and the width expands, it indicates a powerful trend; if the width narrows, it suggests a high probability of a trend reversal.
5 Usage Strategies
The highlight of this indicator is the cross strategy utilizing the "Multi-Timeframe (MTF)" feature. Familiarize yourself with the 5 example strategies below and set up your own strategy based on your expertise.
💡 Tip 1. Do not go against the "Major Trend" (The Authority of the Weekly Candle)
Settings: Set MA5 to .
Interpretation: The Weekly 50 line is the "major trend line" managed by institutions and market makers. If the current price is above this line, maintain only a "Buy (Long)" bias; if below, maintain only a "Sell (Short)" bias. Adhering to this rule alone can help you avoid massive losses.
💡 Tip 2. Highly Reliable "Swing Signal" (Daily Golden Cross)
Settings: In Signal 1, configure the Short MA to and the Long MA to .
Interpretation: A Golden Cross where the 4-Hour 50 EMA breaks above the Daily 50 EMA often signifies a major "trend reversal" rather than a temporary rebound. This provides an ideal entry signal for office workers or swing traders who need high reliability.
💡 Tip 3. 4-Hour Candle as the Standard for "Precision Entry"
Situation: When the Daily trend is rising (Bullish alignment).
Strategy: While watching the 15-minute or 1-hour chart, set the indicator's Signal 2 to the cross of and .
Interpretation: When the Daily chart is in an uptrend, a Golden Cross occurring on the 4-Hour chart marks "the point where a correction (pullback) ends and the rise resumes." This is the entry point with the best risk-to-reward ratio.
💡 Tip 4. Filtering Out "Fake Signals" (The Secret of Volume)
Strategy: When creating a cross signal, try using VWMA (Volume Weighted) for the Long MA, even if you use EMA for the Short MA.
Reason: A Golden Cross caused simply by a rise in price can be a trap. However, if it breaks through the heavy VWMA line accompanied by volume, it is strong evidence that "genuine liquidity" has entered.
💡 Tip 5. Remember the "Hierarchy" (Higher Timeframe Priority Rule)
Principle: If a Golden Cross (Buy Signal) appears on the 4-Hour chart, but the Daily chart is in a Death Cross (Sell Signal) state, do not enter.
Interpretation: A signal from a lower timeframe cannot overcome the power of a higher timeframe. The professional approach is to trade with significant volume only when signals align (Sync) in the order of Weekly > Daily > 4-Hour. Keep this indicator's dashboard feature on and always check the status of higher timeframes.
Signal Generation Principle (Operating Mechanism)
Signals are generated when the set short-term moving average and long-term moving average cross each other.
📈 1. Golden Cross (BUY = Buy Signal)
Situation: The moment the short-term MA crosses upward from below the long-term MA.
Principle: It implies that recent buying pressure has broken through the resistance level accumulated over a long period.
📉 2. Death Cross (SELL = Sell Signal)
Situation: The moment the short-term MA crosses downward from above the long-term MA.
Principle: It implies that recent selling pressure has collapsed the long-term support line.
※ If the candles are not displaying correctly or are flickering, please set the indicator's 'Visual order' to 'Bring to front' as shown in the image below.
Investment Caution and Disclaimer
Before using this indicator for actual trading, please strictly read the contents below.
① Auxiliary indicators are a "Compass," not a "Book of Prophecy."
This indicator is merely a tool that mathematically calculates and visualizes past price data. A "magic indicator" that predicts future price fluctuations 100% accurately or guarantees profit does not exist. The signals provided are for reference only and must never be the sole basis for entry/exit decisions.
② The responsibility for all investments lies with "Yourself."
Financial investment (Cryptocurrencies, Stocks, Futures, etc.) involves high volatility and is a risky activity that can result in the loss of some or all of the principal. The final responsibility for all trading results (profits and losses) incurred by utilizing this indicator lies entirely with the investor. The distributor and developer accept no legal responsibility for investment results under any circumstances.
③ Past data does not guarantee the future.
Even a Golden Cross that fit perfectly in backtesting or past charts may operate differently in tomorrow's market situation (News, Macroeconomics, Unexpected Variables, etc.). Do not rely solely on technical analysis; you must conduct fundamental analysis and risk management in parallel.
④ Risk management is the top priority.
No matter how promising a signal appears, "all-in trading" (investing all assets in a single trade) is a shortcut to bankruptcy. More important than the indicator itself is adhering to the principles of strict scaling in (split buying) and Stop-Loss.
Marketstructure
SMC Academy [PhenLabs]📊 SMC Academy
Version: PineScript™ v6
📌 Description
The SMC Academy indicator is a comprehensive educational tool designed to demystify Smart Money Concepts (SMC) for traders of all levels. Unlike standard indicators that simply print signals, this script uses a “Learning Phase” system that allows users to toggle between individual concepts—such as Market Structure, Liquidity, Imbalances, and Order Blocks—or view them all simultaneously. It lets you focus on one piece of the puzzle at a time.
🚀 Points of Innovation
Progressive Learning Modes: Toggle between 5 distinct phases to master concepts individually before using the Full Strategy Mode.
Educational Tooltips: Hover over labels to read detailed explanations of why a BOS, MSS, or Liquidity zone was identified.
Smart Filtering: Uses ATR and Volume integration to filter out low-quality Fair Value Gaps and weak Order Blocks.
HTF Dashboard: A built-in panel analyzes Higher Timeframe (4H) data to ensure you are trading in alignment with the broader trend.
🔧 Core Components
Market Structure Engine: Automatically detects Swing Highs and Lows to map out market direction using configurable swing lengths.
Liquidity Manager: Identifies unmitigated swing points that serve as Buy-Side (BSL) and Sell-Side (SSL) liquidity magnets.
Imbalance Detector: Highlights Fair Value Gaps (FVG) where price inefficiencies exist, using ATR thresholds to ignore noise.
Order Block Identifier: Locates the specific candles responsible for structure breaks, validated by volume analysis.
🔥 Key Features
Break of Structure (BOS): Automatically marks trend continuation signals with solid lines and color-coded labels.
Market Structure Shift (MSS): Identifies potential trend reversals when significant swing points are breached.
Dashboard Context: Displays the current trend direction and the 4H context directly on your chart.
Custom Alerts: Built-in alert conditions for structure breaks and new Order Blocks allow for automated tracking.
🎨 Visualization
Structure Lines: Solid lines indicate confirmed breaks (Green for Bullish, Red for Bearish).
Liquidity Zones: Dotted lines extending rightward indicate resting liquidity levels that price may target.
FVG Boxes: Shaded boxes highlight imbalance zones, automatically extending for a user-defined number of bars.
Dashboard: A clean, non-intrusive table in the top-right corner displays trend status and active mode.
📖 Usage Guidelines
Setting Categories
Learning Mode: Select from ‘1. Market Structure’ through ‘5. Full Strategy Mode’ to filter what appears on the chart.
Swing Detection Length: Default (5). Determines the sensitivity of the swing high/low detection.
Structure Break Type: Options (Close/Wick). Choose whether a candle close or just a wick is required to confirm a break.
Min FVG Size: Default (0.5 ATR). Filters out gaps smaller than this multiplier to reduce noise.
Filter Weak OBs by Volume: Default (True). Only highlights Order Blocks where volume exceeds the 20-period average.
✅ Best Use Cases
Educational Study: Isolate “Phase 1: Market Structure” to practice identifying trend changes without distraction.
Trend Following: Use “Phase 3: Imbalances” to find entry points within an established trend.
Reversal Trading: Combine “Phase 2: Liquidity” and “Phase 4: Order Blocks” to catch reversals at key levels.
⚠️ Limitations
Subjectivity: Market structure can be interpreted differently depending on the swing length settings used.
Ranging Markets: Like all trend-following concepts, false BOS/MSS signals may generate during choppy, sideways price action.
Repainting: While the signals are non-repainting once confirmed, the live candle may flash a signal before the close if “Close” mode is selected.
💡 What Makes This Unique
Interactive Learning: The inclusion of tooltip explanations transforms this from a simple tool into an active mentor.
Phase-Based Workflow: The ability to strip the chart back to basics at the click of a button is unique to the PhenLabs ecosystem.
🔬 How It Works
Swing Analysis: The script calculates pivot highs and lows based on your length input to define the structural landscape.
Break Validation: It checks if price crosses these pivot points to trigger BOS (Continuation) or MSS (Reversal) logic.
Volume Confirmation: For Order Blocks, it looks back inside the swing leg to find the specific candle responsible for the move, verifying it has significant volume.
💡 Note:
For the best experience, start in Phase 1 to calibrate your Swing Detection Length to the specific volatility of the asset you are trading before enabling Full Strategy Mode.
Auto-Anchored Fibonacci Volume Profile [Custom Array Engine]Description:
1. The Theoretical Foundation: Structure vs. Participation In professional technical analysis, traders often struggle to reconcile two distinct datasets: Price Geometry (where price should go) and Market Participation (where money actually went).
Why Fibonacci? (The Structure) Fibonacci Retracements map the mathematical structure of a trend. They identify psychological and algorithmic "interest zones" (0.382, 0.5, 0.618) where a correction is statistically likely to terminate. However, Fibonacci levels are theoretical—they are "lines in the sand" that do not guarantee liquidity or reaction.
Why Volume Profile? (The Verification) Volume Profile maps the historical exchange of shares at specific price levels. It reveals "fair value" (High Volume Nodes) and "market imbalance" (Low Volume Nodes). It is the only tool that verifies if a specific price level was actually accepted by institutional participants.
2. Underlying Calculations (The Custom Engine) This script operates on a custom-built calculation engine that bypasses standard built-in functions entirely. It uses Pine Script Arrays to build a Volume Profile from scratch. Here is the breakdown of the proprietary code logic:
A. The "Smart-Fill" Distribution Algorithm (Solves Gapping)
The Problem: Standard volume scripts often assign a candle's entire volume to a single price row. In volatile markets or steep trends, this creates visual "gaps" or a "barcode" effect because price moved too fast to register on every row.
My Solution: I wrote a custom loop that calculates the vertical overlap of every candle against the profile grid.
The Math: Volume Per Bin = Total Candle Volume / Bins Touched.
The Result: If a single volatile candle spans 10 price rows (bins), the script mathematically divides that volume and distributes it equally into all 10 array indices. This generates a solid, continuous distribution curve that accurately reflects price action through the entire candle range, not just the close.
B. Dynamic Arrays & Split-Volume Logic The script initializes two separate floating-point arrays (buyVolArray and sellVolArray) sized to the user's resolution (up to 300 rows). It iterates through the specific time-window of the swing:
If Close >= Open, the calculated volume slice is injected into the Buy Array.
If Close < Open, it is injected into the Sell Array.
These arrays are then visually stacked to render the dual-color profile, allowing traders to see the "Delta" (Buyer vs. Seller aggression) at key structural levels.
C. Custom Garbage Collection (Performance) To enable the "Auto-Anchoring" feature without causing chart lag or visual artifacts ("ghosting"), the script includes a Garbage Collection System. Before drawing a new profile, the script iterates through a tracking array of all existing objects (box.delete, line.delete) and clears them from memory. This ensures the indicator remains lightweight and responsive even when dragging chart margins or switching timeframes.
3. The Synthesis: Why Combine Them? The core philosophy of this script is Confluence . A Fibonacci level without volume is merely a suggestion; a Fibonacci level backed by volume is a defensive wall. By algorithmically anchoring a Volume Profile to the exact coordinates of a Fibonacci swing, this tool allows traders to instantly answer critical questions:
"Is the Golden Pocket (0.618) supported by a High Volume Node (HVN), or is it a Low Volume Node (LVN) that price might slice through?"
"Is the Shallow Retracement (0.382) holding because of structural support, or just a lack of selling pressure?"
4. How to Read the Indicator
The Geometry: The script automatically detects the trend and draws standard Fib levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0).
The Confluence Check: Look for the Point of Control (Red Line). If this High Volume Node aligns with a key Fib level (e.g., the 0.618), the probability of a reversal increases significantly.
The Imbalance Check: Look for "Valleys" in the profile (Low Volume Nodes). These gaps often act as "slippage zones" where price travels quickly between structural levels.
Buy/Sell Splits: The dual-color bars (Teal/Red) reveal the composition of the volume. A 0.618 level held up by dominant Buy Volume is a stronger bullish signal than one with mixed volume.
5. Settings & Customization
Lookback Length: Sensitivity of the swing detection (Default: 200 bars).
Resolution: Granularity of the profile rows (Default: 100). Higher values provide smoother definition.
Width (%): Responsive sizing that scales the profile relative to the trend's duration.
Extend Lines: Option to project structural levels infinitely to the right.
Disclaimer This script is an analytical tool for visualizing historical market data. It does not provide trade signals or financial advice.
Market Structure [BOS/ChoCh Line & Bar-Chart]Overview
A comprehensive market structure indicator that identifies Break of Structure (BOS) and Change of Character (CHoCH) patterns - essential concepts in Smart Money trading methodology.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 KEY FEATURES
Two detection modes: Swing-based (High/Low) and Line Chart-based (Close)
Automatic HH/LL/LH/HL labeling with price and percentage change
BOS (Break of Structure) for trend continuation
CHoCH (Change of Character) for trend reversals
Market Structure Candle Coloring (MSC)
Optional Line Chart overlay
Fully customizable colors and display options
Built-in alerts for BOS and CHoCH events
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 DETECTION MODES
Swings Mode
Uses candlestick highs and lows to identify swing points. This is the traditional approach and works well for most trading styles.
Line Chart Mode
Uses closing prices only to identify peaks and troughs - similar to how a line chart displays price action. This mode filters out wicks and can provide cleaner structure identification.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 STRUCTURE LABELS
HH (Higher High) - Price made a new high above the previous high → Bullish
HL (Higher Low) - Price made a higher low → Bullish
LH (Lower High) - Price failed to make a new high → Bearish
LL (Lower Low) - Price made a new low below the previous low → Bearish
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 BOS vs CHoCH
BOS (Break of Structure)
A continuation signal. Occurs when price breaks a key level in the direction of the current trend.
Bullish BOS: Price closes above the last swing high during an uptrend
Bearish BOS: Price closes below the last swing low during a downtrend
CHoCH (Change of Character)
A reversal signal. Occurs when price breaks the key level that would invalidate the current trend.
Bullish CHoCH: During a downtrend, price closes above the high that produced the last Lower Low
Bearish CHoCH: During an uptrend, price closes below the low that produced the last Higher High
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 CANDLE COLORING (MSC)
When enabled, candles are colored based on the current market structure trend:
Bullish trend: Candles colored in the bullish color
Bearish trend: Candles colored in the bearish color
Trend-conforming candles appear solid, counter-trend candles appear faded
Note: For best results, go to Chart Settings → Symbol and set Body/Border/Wick colors to transparent.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 SETTINGS
Market Structure Settings
Detection Mode - Choose between Swings or Line Chart
Swing Length - Sensitivity of pivot detection (higher = less sensitive)
Show BOS / Show CHoCH - Toggle display of each pattern type
Line Chart Display
Show Line Chart - Display the close-based line overlay
Line Chart Color / Width - Customize appearance
Labels & Extra Data
Show HH/LL/LH/HL Labels - Toggle swing point labels
Show Price at Pivots - Display price values
Show % Change - Display percentage change between swings
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 ALERTS
The indicator includes alerts for:
Bullish/Bearish BOS
Bullish/Bearish CHoCH
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 USAGE TIPS
Use higher Swing Length values on higher timeframes to filter noise
CHoCH signals potential trend reversals - consider waiting for confirmation
BOS signals trend continuation - can be used for entries in the trend direction
Combine with other confluence factors like support/resistance, order blocks, or volume analysis
The Line Chart mode can help identify structure on volatile instruments where wicks create noise
For best display of bar coloring set Visual Order -> Bring to Front
EW AIO Elliott Wave Engine Invite OnlyEW AIO — Elliott Wave Engine
EW AIO automatically detects impulsive Elliott Wave structures (1–5) and highlights Wave-5 exhaustion zones using structure, momentum divergence, and volatility confirmation.
Key Features
• Automated Elliott Wave detection
• Wave-5 TOP / BOTTOM exhaustion signals
• RSI divergence confirmation (optional)
• Fibonacci retrace & extension framework
• HTF EMA trend bias
• ATR & Keltner volatility filters
• Visual Entry / SL / TP levels
• Webhook-ready alerts
Access
This is an Invite-Only premium indicator.
Access is granted after purchase.
⚠️ Educational use only. Not financial advice.
Market Structure HighLow + Liquidity [MaB]📊 Market Structure HighLow + Liquidity A comprehensive indicator combining precision market structure analysis with real-time liquidity zone detection, built on a custom finite-state machine architecture.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 KEY FEATURES
• Automatic Swing Detection Identifies structural High/Low points using a dual-confirmation system (minimum candles + pullback percentage)
• Smart Trend Tracking Automatically switches between Uptrend (Higher Highs & Higher Lows) and Downtrend (Lower Highs & Lower Lows)
• Breakout Alerts Visual markers for confirmed breakouts (Br↑ / Br↓) with configurable threshold
• Sequential Labeling Clear numbered labels (L1, H2, L3, H4...) showing the exact market structure progression
• Color-Coded Structure Lines
• Green: Uptrend continuation legs
• Red: Downtrend continuation legs
• Gray: Trend inversion points
• Imbalance Zones (FVG) Automatically detects Fair Value Gaps that form during impulsive moves between validated swing points
• Inducement Zones Identifies potential liquidity traps - FVGs that form before breakout confirmation, often used as stop-hunt areas
• Dynamic Zone Management Zones automatically close when price touches them, with configurable retracement sensitivity
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 TECHNICAL ARCHITECTURE
This indicator does NOT rely on TradingView's built-in ta.pivothigh() / ta.pivotlow() functions.
Instead, it implements a custom finite-state machine (FSM) that manages multiple monitoring states, alternating dynamically between Uptrend and Downtrend modes based on confirmed breakouts.
Core Components:
• State Machine Engine Multiple internal states handle candidate detection, validation, and confirmation phases. The system transitions between states based on price action triggers and confirmation criteria.
• Dual-Confirmation System Each swing point must satisfy two independent filters before validation:
o Time-based filter (minimum candles)
o Price-based filter (minimum retracement %)
• Directional Breakout Logic Separate breakout detection routines for uptrend continuation, downtrend continuation, and trend inversion scenarios. Each triggers specific state transitions.
• FVG Classification Engine Automatically distinguishes between Imbalance zones (post-confirmation FVGs) and Inducement zones (pre-confirmation FVGs) based on breakout timing context.
• Dynamic Zone Lifecycle Zones are created, monitored, and closed through a managed lifecycle with configurable touch sensitivity.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ CONFIGURABLE PARAMETERS
Market Structure
• Analysis Start Date: Define when to begin structure analysis
• Min Confirmation Candles: Required candles for validation (default: 3)
• Pullback Percentage: Minimum retracement for confirmation (default: 10%)
• Breakout Threshold: Percentage beyond structure for breakout (default: 1%)
Liquidity
• Show Zones: Toggle visibility of imbalance and inducement zones
• Zone Colors: Customize colors for Supply/Demand imbalances and inducements
• Zone Retracement %: How deep price must enter zone to consider it touched (0-100%)
• Inactive Zones Transparency: Visual distinction for closed zones
Display
• Show Market Structure Table: Toggle info panel
• Replay Mode: Optimize for TradingView Replay feature
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 ZONE COLOR CODING
• 🔴 Imbalance Supply (Red): Bearish FVG - potential resistance/short entry
• 🟢 Imbalance Demand (Green): Bullish FVG - potential support/long entry
• 🟠 Inducement Supply (Orange): Pre-breakout bearish FVG - possible stop-hunt zone
• 🔵 Inducement Demand (Blue): Pre-breakout bullish FVG - possible stop-hunt zone
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 HOW IT WORKS
1. Initializes state machine in UPTREND mode, searching for first swing Low
2. Tracks price movement and triggers candidate states upon potential reversals
3. Validates candidates through dual-confirmation (time + price filters)
4. Upon confirmation, scans price range for FVG patterns (3-candle gaps)
5. Classifies detected FVGs based on breakout timing (Inducement vs Imbalance)
6. Monitors breakout levels - triggers state transitions on confirmed breaks
7. Alternates between Uptrend/Downtrend modes based on breakout direction
8. Manages zone lifecycle - closes zones when price retraces into them
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 BEST USED FOR
• Identifying key support/resistance levels with liquidity context
• Spotting potential reversal zones (imbalances)
• Avoiding stop-hunt traps (inducement awareness)
• Trend direction confirmation
• Breakout trading setups with confluence
• Multi-timeframe structure and liquidity analysis
• Understanding where institutional orders may be resting
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ NOTES
• Works best on higher timeframes (1H+) for cleaner structure
• Inducement zones often convert to Imbalance zones after breakout confirmation
• Zone Retracement % allows fine-tuning: 0% = first touch, 25% = quarter penetration, 100% = full traversal
• Inactive zones remain visible (faded) to show historical liquidity levels
• Use Replay Mode when backtesting to prevent buffer overflow errors
Liquidity Levels Pro Tool - thewallranka
Liquidity Levels Pro Tool is a market-structure and liquidity-mapping indicator designed to help discretionary futures and index traders identify statistically relevant price levels where reactions, continuations, or liquidity sweeps are more likely to occur.
This script is a decision-support tool, not a signal generator. It does not issue buy/sell alerts or predict future price movement. Instead, it organizes and scores liquidity information so traders can make their own contextual decisions.
What this indicator does
The script continuously detects and maintains liquidity zones derived from price pivots, then evaluates those zones using multiple structural and contextual factors:
Repeated price interaction (touches)
Freshness (time since last interaction)
Confluence with key reference levels
Reaction behavior after contact
Session relevance (RTH vs overnight)
Market regime (trend vs mean reversion)
Time-of-day effects (open, midday, power hour)
Only the most relevant zones—based on a dynamic scoring system—are displayed to reduce chart clutter and focus attention on levels that have historically mattered.
Core components
1. Liquidity Zones
Zones are built from pivot highs and lows and expanded into areas using a configurable tick-based padding. Nearby zones are merged to avoid redundancy.
Each zone is continuously evaluated and assigned a score (0–100) reflecting its relative importance.
2. Zone Scoring (No Lookahead)
Zone scores are based on:
Number of confirmed interactions
Recency of the last touch
Confluence with prior day/week levels, VWAP, and Opening Range
Reaction quality after touches (speed and follow-through)
Session alignment (zones that “work” in the current session are favored)
Penalties after liquidity sweeps
Zones are not forward-looking and do not rely on future data.
3. Context Engine
The script classifies the current environment using VWAP slope and distance:
Trend (up or down)
Mean reversion
Mixed/transition
Time-of-day context (Open, Midday, Power Hour) is also tracked internally and influences zone scoring.
This context is displayed in the HUD to support situational awareness, not automated decisions.
4. Liquidity Sweeps
Optional sweep detection highlights situations where price trades beyond a zone and closes back inside, indicating potential stop runs or failed breakouts.
Sweeps are rate-limited and applied conservatively to avoid visual noise.
5. Trade Planning Levels (Optional)
When enabled, the script highlights the nearest high-quality liquidity level above and below price based on score thresholds.
These are intended as reference targets, not trade entries or exits.
HUD (Heads-Up Display)
The on-chart HUD summarizes:
Key reference levels (prior day/week, Opening Range)
Nearest strong liquidity above/below price
Market regime and time-of-day context
Distance to levels (ticks or points)
The HUD is fully optional, positionable, and includes resizable modes (Small / Medium / Large) to fit different chart layouts.
How to use this tool
This indicator is best used as part of a discretionary trading process, for example:
Identifying areas where price is more likely to react or pause
Framing trades around higher-quality structure instead of arbitrary levels
Filtering setups based on session and regime context
Managing expectations near known liquidity rather than chasing price
It is intentionally designed not to provide trade signals.
Limitations and important notes
This script does not predict outcomes or guarantee reactions
High-scoring zones can still fail
Liquidity behavior is context-dependent and probabilistic
No performance claims or backtested results are provided
The indicator should not be used in isolation
Past behavior does not imply future results.
Chart and usage notes
The script is intended for standard time-based charts
Recommended for liquid futures and index products
Use a clean chart for clarity when publishing or sharing
No external indicators are required
Final note
Liquidity Levels Pro (Tool) — v6 is designed to organize complex market structure into a clear, readable framework, allowing traders to focus on execution and risk management rather than raw level detection.
This script reflects an analytical approach to intraday liquidity and structure, not an automated trading system.
SmartMoney BOS Pro [Stansbooth]
## ✨ BOS + ICT RSI Indicator — Trade Like Smart Money ✨
The market doesn’t move randomly — it moves with **structure**, **liquidity**, and **institutional intent**.
This indicator is built to help you see exactly that.
Powered by **Break of Structure (BOS)** and advanced **ICT concepts**, this tool highlights when the market is truly shifting direction or continuing with strength — the same way **smart money** trades.
To make every setup even stronger, a **smart RSI confirmation** is seamlessly integrated, helping you stay out of weak trades and focus only on **high-quality, high-probability opportunities**.
### 🔥
What Makes It Special?
• Clear and accurate BOS signals
• ICT-based market structure & liquidity insight
• RSI confirmation to reduce false entries
• Clean visuals — no clutter, no confusion
• Designed for scalpers, intraday & swing traders
🎯
Who Is This For?
If you’re tired of lagging indicators…
If you want to understand **why** price moves…
If you want to trade with confidence instead of guessing…
This indicator is for you.
📊
Markets Supported:
Forex • Crypto • Stocks • Indices
Stop chasing price.
Start trading ** structure, liquidity, and smart money**.
🚀 **See the market differently. Trade better.**
Context Bundle | VWAP / EMA / Session HighLow (v6)
📌 0DTE Context Bundle (v6)
**VWAP • EMA Cloud • Session High/Low (NY / London / Asia)
The **0DTE Context Bundle** is a *decision-making overlay*, not a signal spam indicator.
It’s designed to help traders clearly see **value, trend, and liquidity levels** across **New York, London, and Asia sessions** — all in one clean, customizable tool.
Built for **NQ, ES, Gold, and FX pairs**, with a focus on **5–15-minute execution charts**.
---
## 🔹 What This Indicator Shows
### ✅ VWAP + ATR Bands
* Session VWAP (fair value)
* ATR-based extension bands (1x / 2x)
* Helps identify **overextension, mean reversion zones, and trend pullbacks**
### ✅ EMA 9 / 21 Cloud
* Visual trend and momentum filter
* Custom colors + opacity
* Identifies **trend continuation vs chop**
### ✅ Session High / Low Levels
* **New York RTH**
* **London**
* **Asia (midnight-safe)**
* Optional previous session highs/lows
* Adjustable line styles, widths, colors, and extensions
### ✅ Anchored VWAP (Optional)
* Reset by:
* Daily
* NY session start
* London session start
* Asia session start
* Useful for tracking **session-specific value shifts**
---
## 🔹 How Traders Use It
This indicator is meant to answer:
* *Are we trading at value or extension?*
* *Is the market trending or rotating?*
* *Where is liquidity likely sitting right now?*
Common use cases:
* Trend pullbacks into VWAP or EMA cloud
* Reversal setups at session highs/lows
* Session breakout + retest confirmation
* Overnight context for London and Asia sessions
---
## 🔹 Customization & Flexibility
Every component can be toggled and styled:
* Colors, widths, line styles
* Cloud up/down colors + opacity
* Session visibility and extensions
* VWAP band multipliers and ATR length
Members can adapt it to **their own style**, market, and timeframe.
---
## ⚠️ Disclaimer
This indicator is provided for **educational and informational purposes only**.
It does **not** provide financial advice or trade signals.
Always manage risk and confirm entries with your own strategy.
Ghost Scalp Protocol By [@Ash_TheTrader]
# 👻 GHOST SCALP PROTOCOL
### 💀 Stop Getting Trapped. Start Tracking the Banks.
Most retail traders lose because they enter exactly where institutions are exiting. They get caught in **"Stop Hunts"** and **"Fake-Outs."**
The **Ghost Scalp Protocol** is not just an indicator; it is a complete institutional trading system designed for **M1 & M5 Scalpers**. It combines **Smart Money Concepts (SMC)** with a **Physics-Based Momentum Engine ($p=mv$)** to detect high-probability reversals.
---
### ⚛️ THE LOGIC: 3-STAGE CONFIRMATION
This algorithm does not rely on lagging indicators. It uses a 3-step "Protocol" to validate every trade:
**1. THE GHOST TRAP (Liquidity Sweeps)**
* The script automatically draws "Ghost Lines" at key Swing Highs/Lows where retail Stop Losses are hiding.
* It waits for price to **sweep** these levels (Stop Hunt).
* **The Signal:** A Neon **Skull (☠️)** appears *only* if price aggressively rejects the level with high volume. This is the "Turtle Soup" pattern.
**2. THE PHYSICS ENGINE ($p = mv$)**
* Momentum is not just price speed; it is **Mass (Volume) x Velocity (Range)**.
* The dashboard calculates the "Force" of every candle.
* **The Signal:** An **Arrow (⬆/⬇)** appears when momentum surges **5x** above the average. This confirms the banks are pushing the move.
**3. BANK BIAS (Elasticity Filter)**
* Markets move like a rubber band.
* The script calculates a hidden "Fair Value" baseline.
* It creates a **Bias**: It only looks for Shorts in **PREMIUM (Shorting)** zones and Longs in **DISCOUNT (Accumulating)** zones.
---
### 📊 THE SMART DASHBOARD (HUD)
A futuristic, non-intrusive Heads-Up Display keeps you focused on the data that matters:
* **🏦 BANK BIAS:** Tells you if Institutions are likely **Accumulating** or **Shorting**.
* **📈 HTF TREND:** Automatically checks the **1-Hour Trend**. Don't fight the tide.
* **🚀 MOMENTUM:** Real-time Physics calculation.
* **Green Text:** Acceleration (Move is getting stronger).
* **Red Text:** Deceleration (Move is dying).
* **🌍 SESSION:** Shows active Bank Sessions (Tokyo, London, NY).
* **⚠️ OVERLAP ALERT:** Flashes GOLD when London & New York are open simultaneously (Peak Volatility).
---
### 🔥 STRATEGY: HOW TO TRADE
Use this checklist to execute high-probability scalps:
#### 📉 SHORT SETUP (SELL)
1. **Liquidity:** Wait for price to break above a **Red Ghost Line** (Sweep Highs).
2. **Signal:** Wait for the **Pink Skull ☠️** (Trap Detected).
3. **Confluence:**
* Dashboard Bias says: **"SHORTING"**
* HTF Trend says: **"BEARISH 📉"** (Optional but recommended).
4. **Entry:** On the Close of the Skull candle.
5. **Stop Loss:** Just above the wick swing high.
#### 📈 LONG SETUP (BUY)
1. **Liquidity:** Wait for price to break below a **Blue Ghost Line** (Sweep Lows).
2. **Signal:** Wait for the **Blue Skull ☠️** (Trap Detected).
3. **Confluence:**
* Dashboard Bias says: **"ACCUMULATING"**
* HTF Trend says: **"BULLISH 📈"** (Optional but recommended).
4. **Entry:** On the Close of the Skull candle.
5. **Stop Loss:** Just below the wick swing low.
---
### 🏆 RECOMMENDED PAIRS & TIMEFRAMES
* **⚡ Best Timeframes:**
* **1 Minute (M1):** For aggressive "Sniper" entries (High Frequency).
* **5 Minute (M5):** The "Gold Standard" for balanced Scalping.
* **15 Minute (M15):** Safer, higher win-rate Day Trading.
* **💎 Best Assets:**
* **Gold (XAUUSD):** Highly effective on liquidity sweeps.
* **Indices:** US100 (Nasdaq), US30 (Dow Jones).
* **Crypto:** BTCUSD, ETHUSD (High volatility).
* **Forex:** GBPUSD, EURUSD (London/NY Session).
---
### 🛠️ SETTINGS & CUSTOMIZATION
* **Surge Factor:** Default is **5.0x**. Lower this to 3.0 if you want more aggressive Momentum Arrows.
* **Smart Sessions:** Automatically converts to **New York Time** (EST) regardless of your location. No more time zone math.
* **Visuals:** Designed with "Ghost Glow" technology—97% transparent backgrounds that look classy and don't clutter your chart.
---
**"The Ghost Algo sees what you can't."**
*Trade Safe. Trade Smart.*
**~ Ash_TheTrader**
Trading Module [BackQuant]Trading Module
A modular overlay that lets you combine three core components, a Trend Model, an Impulse Model, and an optional Stop Loss framework, then layer in a multi-symbol RSI screener plus a full price action toolkit (market structure, FVGs, order blocks, volumetric S/R). Built for discretionary execution and study, not for blind automation.
────────────────────────────────────────────────────────────
What this script is
This indicator is designed like a “module picker”. Instead of forcing one opinionated system, it gives you selectable models that can be combined into a workflow:
1) Trend Model , answers “what side is the market biased to?”
2) Impulse Model , answers “is there currently expansion, pressure, or a momentum event worth paying attention to?”
3) Stop Loss Layer , answers “where are reasonable invalidation zones if I’m managing risk manually?”
4) RSI Screener , answers “what are my watchlist assets doing right now, on multiple timeframes, in one place?”
5) Price Action Concepts , answers “what structure levels, imbalances, institutional zones, and volume-based levels matter?”
You can run it as a lightweight overlay (trend + impulse only), or turn on the heavier price action stack when you want deeper context.
────────────────────────────────────────────────────────────
How to use it, the intended workflow
Step 1, pick your Trend Model
The trend model is your baseline directional filter. It is meant to reduce “random trading” by keeping you aligned with the dominant structure or momentum bias.
Trend Models (examples)
Typical usage:
- If the trend model reads bullish, you focus on long setups and avoid shorting into strength.
- If the trend model reads bearish, you focus on short setups and avoid catching bottoms.
- If the trend model is neutral or mixed, you reduce size or wait for confirmation.
What you can expect from the options (without exposing internal weighting or thresholds):
- Universal Trend+ , a composite trend regime model that blends multiple families of trend evidence. It is designed to be more robust than a single indicator and reduce “one-indicator failure modes”.
- EMA Cross , a classic fast vs slow trend bias. Simple, responsive, but can whipsaw in ranges.
- DEMA ATR , a smoother trend anchor that adapts to volatility. Often cleaner in chop than basic crosses.
- Relative Strength Overlay , a strength scoring style bias built from an RSI-style internal scoring process. Useful when you want “strength state” more than “moving average state”.
Color conventions:
- Long color and short color are user-defined, so you can keep consistent visuals across your BackQuant suite.
Step 2, pick your Impulse Model
Impulse is separate from trend on purpose. Trend answers direction, impulse answers timing. A market can be trending but not currently impulsing, or impulsing in a counter-trend squeeze.
Impulse Models (examples)
How to use impulse signals:
- Treat impulse as “permission” to engage, not as a standalone trade trigger.
- Best pairing is trend aligned impulse, meaning bullish trend model plus bullish impulse, bearish plus bearish.
- Counter-trend impulses can be used as warning signals, take-profit cues, or short-lived mean reversion opportunities, depending on your style.
The impulse options in this module are built around pressure and expansion detection. They are meant to identify moments where conditions shift from “noise” to “initiative activity”.
Step 3, choose a Stop Loss framework
This script includes optional stop visualization modes. These are not meant to be blindly used as a “one true stop”, they are tools for structuring invalidation around volatility or defined percentage bands.
Stop Loss (examples)
Stop loss options:
- None , no overlay.
- Dynamic , a volatility-aware band. Useful when you want stops to widen in high vol and tighten in low vol.
- Fixed , preset percentage bands. Useful for quick structure around risk units, scaling, or rule-based journaling.
- Bar-to-Bar , a micro-structure invalidation reference that uses the prior bar as a risk anchor. Useful for very tight management and fast invalidation.
How to apply them properly:
- Stops should be placed where the trade idea is wrong, not where you “feel pain”.
- A volatility stop is usually an environment stop, while a fixed stop is usually a plan stop.
- If you use impulses for entries, your stop should account for impulse volatility, otherwise you get stopped on the exact move you’re trying to capture.
────────────────────────────────────────────────────────────
RSI Screener module
This module is built for scanning multiple symbols and timeframes from one chart, without switching tabs.
RSI Screener (example)
What it does:
- Lets you define up to 10 symbols (defaults to major crypto pairs).
- Each slot can have its own timeframe.
- Computes an RSI value per symbol and assigns a directional state relative to a midline threshold.
- Displays a stacked overlay readout using a monospace label style for quick scanning.
How to use it:
- Set slots 1–5 as your majors, 6–10 as your rotation candidates.
- Use higher timeframes for regime, lower timeframes for timing.
- Use the midline threshold as a “trend bias” line, not an overbought or oversold line.
- Treat the screener as context, not a signal. Your chart model and price action still decide the trade.
Performance note:
- Screeners are heavy by nature because each symbol is a security() request. Keep the number of enabled slots reasonable if you are on lower-end hardware or running many scripts.
────────────────────────────────────────────────────────────
Price Action Concepts and Market Structure stack
This script includes a full price action toolkit intended to provide “where” context, levels, zones, and structural breaks, so the trend and impulse models are not operating in a vacuum.
Price Action Concepts / Market Structure (example)
This section is split into five major blocks:
1) Market Structure, Swing and Internal
You can enable swing structure and internal structure separately, with independent lookbacks.
- Swing structure tracks larger, slower pivots, better for macro trend structure.
- Internal structure tracks tighter pivots, better for entry timing and micro shifts.
It prints structure events as:
- BOS (Break of Structure), continuation-style break.
- MSB (Market Structure Break), shift-style break. Some traders call this CHoCH, here it’s presented as an MSB concept.
Usage:
- Swing BOS is good for confirming a larger regime.
- Internal structure is good for timing entries within the swing context.
- If internal flips but swing does not, treat it as a warning, not necessarily a full reversal.
2) Fair Value Gaps (FVG)
Optional imbalance boxes that highlight displacement zones.
Key controls:
- Timeframe selection (or current timeframe).
- How many to keep on chart.
- How far to extend them right.
Usage:
- FVGs are best treated as “areas of interest”, not guaranteed support/resistance.
- They help you frame where price might rebalance after an impulse event.
3) Order Blocks (OB)
Optional institutional-style zones detected from structure and candle logic, with filters.
Key controls:
- Fractal type (3 or 5) changes how “strict” structure detection is.
- Break method (close vs high/low) changes confirmation strictness.
- Optional filter with FVG distance to reduce low-quality blocks.
- Extend, delete-when-filled, and label options for chart hygiene.
Usage:
- OBs are strongest when aligned with swing context and confirmed by volume or displacement.
- Filled blocks are informational, they can be removed to reduce clutter.
4) Volumetric Support and Resistance
This module creates support and resistance “zones” based on high-volume pivot events, then manages them over time.
Key controls:
- Detection sensitivity, volume multiplier, and lookback period.
- Minimum distance between zones to avoid stacking duplicates.
- Remove broken, extend, and volume display toggles.
How to interpret:
- Levels are thicker zones, not single price lines.
- “Touches” are tracked as an interaction count, useful for identifying repeatedly defended or attacked zones.
- High-volume zones are visually emphasized, these tend to matter more than low volume pivots.
Usage:
- Pair volumetric levels with impulse signals, an impulse into a high-volume resistance zone is not the same as an impulse in open space.
- Use volumetric levels as structure anchors for invalidation and targets.
5) Alerts
The price action stack includes alerts for new levels, touches, breaks, and order block creation or interaction.
Use alerts for:
- Watchlist management, you get notified when price hits an area.
- Avoiding screen-watching, especially when you run multi-timeframe setups.
────────────────────────────────────────────────────────────
Core philosophy of the module
This indicator is not “one model to rule them all”. It is meant to let you build a trading process:
- Trend decides bias.
- Impulse decides engagement timing.
- Price action decides location and structure.
- Stops decide risk containment.
- Screener decides where to look.
If you only use one layer, you are throwing away most of the edge this style of framework is designed to create. The strength is in confluence and filtering.
────────────────────────────────────────────────────────────
Suggested presets
Preset A, clean trend-following overlay
- Trend Model, Universal Trend+ or DEMA ATR
- Impulse Model, either option
- Stop Loss, Dynamic
- Price action modules off (structure off, FVG off, OB off, volumetric off)
- Screener on (high timeframe)
Preset B, execution and structure mode
- Trend Model on
- Impulse Model on
- Market Structure on (swing + internal)
- FVG on (current timeframe or one higher)
- Order Blocks on with FVG filter
- Volumetric S/R on
- Stop Loss, Dynamic or Bar-to-Bar depending on speed
Preset C, watchlist scanner mode
- Screener on
- Minimal chart overlays on
- Use alerts for touches and breaks
- Only open charts that show alignment across trend and impulse
────────────────────────────────────────────────────────────
Notes and limitations
- This is a heavy script when multiple modules are enabled, because it draws objects and can request multiple symbols.
- The models are designed to be modular, so not every combination will be optimal for every market or timeframe.
────────────────────────────────────────────────────────────
Quick input map
Main Settings/Models
- Select Trend Model
- Select Impulse Model
- Select Stop Loss
- Show Screener
- Long/Short colors
Screener Settings
- Label size and offsets
- RSI length and midline
- Up to 10 symbol slots with per-slot timeframe and enable toggle
Market Structure
- Swing and internal structure mode and lookbacks
- Bull and bear colors
Fair Value Gaps
- Enable, count, timeframe, extend, colors
Order Blocks
- Enable, labels, fractal type, break method
- FVG filter and distance
- Lookback, extend, delete-when-filled, colors
Volumetric S/R
- Sensitivity, volume multiplier, analysis window
- Level limits, distance rules, extension and cleanup rules
- Volume display preferences
────────────────────────────────────────────────────────────
End note
This is intended as a full visual decision-support module for discretionary traders who want trend, timing, structure, and watchlist scanning in one place. Use it to build a repeatable process, then validate that process with proper testing and journaling before risking real capital.
NeuraLine v1Neuraline is a daily market-regime indicator designed to help traders stay aligned with the dominant trend while avoiding noise, false flips, and emotional overtrading.
Instead of reacting to every small move, Neuraline focuses on structural trend confirmation, combining trend strength, regime persistence, and higher-timeframe context into one clean visual layer.
1. Anti-Flip Trend Logic
Neuraline uses a buffered EMA regime system with built-in hysteresis.
This means the indicator does not flip trend on every minor crossover, but only when price confirms a meaningful shift.
Result: fewer false signals, more stability.
2. Market Strength Filter (ADX)
Trend changes are only validated when market strength confirms the move.
This prevents signals during low-volatility, choppy conditions where most indicators fail.
3. Clear Market Regime: Bullish or Bearish
Neuraline always operates in one of two states:
• Bullish regime
• Bearish regime
No confusion. No over-analysis.
Every signal is contextualized within the current regime.
4. Higher-Timeframe Structure via 50 / 200 Moving Averages
The integrated 50 & 200 day moving averages provide long-term market context:
• MA lines automatically adapt their color based on bullish or bearish alignment
• A subtle ribbon highlights the structural zone between them
This makes it instantly clear whether price action is occurring within a healthy trend or against macro structure.
5. Minimal, Emotion-Free Signals
Buy and sell signals are only triggered on confirmed regime transitions, not on every fluctuation. Signals are displayed as clean, non-intrusive icons directly on the chart — no clutter, no noise.
6. Designed for Daily & Swing Traders
Neuraline is optimized for:
• Daily charts
• Swing trading
• Position management
• Market bias confirmation
It is not a scalping tool.
It is a decision-filter.
APS - Sweeps & BOSThis indicator identifies pivot highs and lows, detects liquidity sweeps, and marks Break of Structure (BOS).
Key Features:
1) Pivot Detection :
The script uses configurable left and right bar parameters to identify significant pivot highs and lows, marking them with "X" labels on the chart. These pivots represent potential areas where price may react.
2) Sweep Detection :
A sweep occurs when price temporarily moves beyond a previous pivot level but closes back inside, suggesting a liquidity grab or stop hunt. The indicator draws horizontal lines connecting the original pivot to the sweep location and labels these events. Sweeps often precede reversals as they collect liquidity before moving in the opposite direction.
3) Break of Structure (BOS) :
BOS events are marked when price closes beyond a previous pivot level, indicating a potential shift in market structure. Bullish BOS occurs when price closes above a pivot high, while Bearish BOS occurs when price closes below a pivot low. These can signal continuation moves or trend changes.
4) Previous Day High/Low (PDH/PDL):
The indicator tracks the previous session's high and low (based on 6 PM ET session breaks, which auto-adjusts for DST) and displays whether these levels have been breached. It also calculates and displays a 50% equilibrium line between PDH and PDL.
5) Higher Timeframe Context :
A table in the top-right corner shows whether the higher timeframe close is in premium (above equilibrium) or discount (below equilibrium) territory. The HTF automatically adjusts based on your current timeframe.
6) Customization Options:
Adjustable pivot sensitivity (left/right bars)
Configurable sweep lookback period
Customizable colors, line styles, and label sizes for all elements
Toggle visibility for any component
Optional alerts for sweeps and BOS events
How to Use:
Sweeps near support/resistance often indicate liquidity grabs before reversals
BOS events can confirm directional bias changes
Use PDH/PDL levels as reference points for intraday trading
Consider HTF context when taking trades (discount zones for longs, premium zones for shorts)
Important Notes:
This indicator is designed for educational purposes and market analysis. Past patterns do not guarantee future results. Please follow proper risk management.
Volatility High/Low Projection (PHOD / PLOD)AP Capital – Volatility + High/Low Projection
This indicator is designed to identify high-probability intraday turning points by combining daily range statistics, session behaviour, and volatility context into a single clean framework.
It is built for index, forex, and metals traders who want structure, not noise.
🔹 Core Features
1️⃣ Potential High of Day (PHOD) & Potential Low of Day (PLOD)
The indicator highlights likely intraday extremes based on:
Session timing (Asia, London, New York)
Current day volatility vs historical averages
Prior day expansion or compression behaviour
Each level is displayed with:
A clear label (PHOD / PLOD)
A forward-extending box acting as a live Point of Interest (POI)
Automatic invalidation when price breaks the zone
2️⃣ Volatility & Range Context (Info Panel)
A compact information panel in the top-right corner provides real-time context without cluttering the chart:
20-Day Average Range
% of the average range already used today
Range status (NORMAL / EXHAUSTED)
Average session ranges for:
Asia
London
New York
This allows traders to immediately assess whether price is:
Early in the day with room to trend
Statistically stretched and prone to reversal
Over-extended where breakout chasing is risky
3️⃣ Session-Aware Logic
The model respects how markets behave across the trading day:
Asia favours accumulation and potential lows
London provides expansion
New York often delivers distribution or exhaustion
This prevents random high/low marking and focuses only on structurally meaningful levels.
🧠 How to Use
Use PHOD / PLOD boxes as reaction zones, not blind entries
Combine with your own confirmation (structure break, momentum, volume, EMA reclaim, etc.)
Avoid chasing trades when the Range Status = EXHAUSTED
Particularly effective on 15m – 1h timeframes
⚠️ Important Notes
This indicator does not repaint
It is contextual, not a buy/sell signal generator
Best used as part of a complete trading plan
📈 Suitable Markets
XAUUSD (Gold)
Indices (NASDAQ, S&P 500, DAX)
Major FX pairs
📌 Disclaimer
This indicator is for educational and analytical purposes only.
It does not constitute financial advice. Trading involves risk.
FOMC Sweep Reaction AP Capital – FOMC Sweep Reaction v1.0
AP Capital – FOMC Sweep Reaction v1.0 is a news-reaction and liquidity-based trading tool designed specifically to track and trade FOMC volatility on Gold (XAUUSD) and other highly reactive instruments.
The indicator focuses on liquidity sweeps, structure breaks, and EMA reclaims that commonly occur around Federal Reserve interest-rate decisions and Powell speeches, helping traders identify high-probability reversal or continuation moves after the initial spike.
🔍 What This Indicator Detects
This tool highlights the most repeatable FOMC behaviours observed across multiple months of broker data:
• Sweeps of previous day’s high or low
• Stop-hunt wicks into liquidity pools
• EMA13 reclaim after the news spike
• Break and close beyond short-term structure
• Momentum shift following volatility exhaustion
The goal is not to predict the news, but to react to confirmed price behaviour after liquidity has been taken.
📌 Core Features
• FOMC Sweep Detection
Identifies aggressive wicks into prior highs/lows during news volatility
• EMA Reclaim Confirmation
Uses EMA13 to validate momentum shift after the sweep
• Market Structure Awareness
Filters reactions that fail to break structure to avoid false reversals
• Session-Aligned Logic
Designed around London → NY → FOMC release timing
• Clean Visuals
Minimal chart clutter for fast decision-making during volatile conditions
🧠 How to Use
Wait for FOMC release / Powell speech
Allow price to sweep previous liquidity (PDH / PDL / local extremes)
Observe reclaim of EMA13
Enter only after structure confirmation
Manage trade using EMA trailing or structure-based exits
⚠️ This is a reaction system, not a prediction tool.
📊 Best Use Cases
• XAUUSD (Gold)
• NASDAQ / US indices
• High-impact macro news events
• 5-min to 15-min timeframes
⚠️ Important Notes
• News volatility is extreme — risk management is essential
• Not designed for low-volatility or ranging markets
• Best combined with a clear trading plan and strict risk rules
📎 Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Trading during high-impact news events involves significant risk.
Market Structure Pivots with BOS & CHoCH [zazenio]What is Market Structure?
Market structure is simply the pattern of highs and lows that price creates as it moves. When you look at any chart, you'll notice price doesn't move in a straight line — it swings up, pulls back, swings up again (in an uptrend), or the opposite in a downtrend.
These swing points — the peaks and valleys — are what traders call pivots . Identifying them correctly is the foundation of understanding where a market has been and where it might go next.
What This Indicator Does
Swing Pivots automatically marks these peaks and valleys on your chart so you don't have to draw them manually. It works on any market — stocks, crypto, forex, futures, indices — and on any timeframe.
Beyond just marking pivots, this indicator also draws BOS (Break of Structure) and CHoCH (Change of Character) lines — two essential concepts that help you understand when a trend is continuing or potentially reversing.
How Pivots Are Detected
This indicator confirms pivots based on price structure, not a fixed bar count.
Here's how it works:
A swing high is confirmed when price breaks below the previous swing low. At that moment, we know the high was real — price tried to go higher, failed, and reversed. The market "proved" that level was a genuine turning point.
A swing low is confirmed when price breaks above the previous swing high. The same logic applies — price tried to go lower, failed, and reversed direction.
This creates a natural alternation: high, low, high, low. Each pivot is validated by the market's actual behavior, not by waiting for an arbitrary number of bars to pass.
Understanding BOS and CHoCH
Once you can identify pivots, the next step is understanding what happens when price breaks through them. This is where BOS and CHoCH come in.
BOS (Break of Structure)
A Break of Structure occurs when price continues in the direction of the current trend by breaking a previous pivot level.
In an uptrend : Price breaks above a previous swing high → This signals strength. Buyers are pushing price to new highs, and the trend is likely to continue.
In a downtrend : Price breaks below a previous swing low → This signals weakness. Sellers are pushing price to new lows, and the trend is likely to continue.
Think of BOS as the market saying "the trend is still intact." Each BOS confirms that the dominant side (buyers or sellers) remains in control.
CHoCH (Change of Character)
A Change of Character occurs when price breaks a pivot level in the opposite direction of the current trend. This is an early warning signal that the trend may be reversing.
In an uptrend : Price breaks below a previous swing low → This is unexpected. In a healthy uptrend, lows should hold. When they don't, it suggests buyers are losing control and sellers may be taking over.
In a downtrend : Price breaks above a previous swing high → This is unexpected. In a healthy downtrend, highs should hold. When they don't, it suggests sellers are losing control and buyers may be stepping in.
Think of CHoCH as the market's behavior "changing character" — it's no longer acting the way it should if the trend were healthy.
Why BOS and CHoCH Matter
These concepts give you a framework for reading what the market is actually doing:
BOS tells you the trend is continuing — stay with it or look for entries in that direction
CHoCH warns you the trend may be ending — time to be cautious, take profits, or look for trades in the new direction
By visualizing these breaks directly on your chart, you don't have to guess. You can see at a glance whether the market is trending smoothly (consecutive BOS) or showing signs of reversal (CHoCH).
Why This Approach Works
Most pivot indicators use a "lookback" method — they wait for a certain number of bars (say, 5 or 10) on each side of a candle before confirming it as a pivot. This creates a fixed delay. By the time the pivot appears on your chart, price has already moved on.
This indicator doesn't wait. It confirms pivots the moment price structure proves them. The result is pivots that align with how traders actually read charts — based on breaks of structure, not arbitrary countdowns.
Settings
Configuration
Swing Width : Controls how sensitive the detection is. Higher numbers show only major swings; lower numbers capture smaller moves within the structure.
Pivot Settings
High/Low Color : Customize the colors of swing high and swing low markers
Style : Choose between Triangle or Circle markers
Size : Adjust the size of pivot markers (Auto, Tiny, Small, Normal)
Structure Lines
Show CHoCH : Toggle Change of Character lines on/off
CHoCH Color : Customize the color of CHoCH lines
CHoCH Label : Show/hide the "CHoCH" text label
Show BOS : Toggle Break of Structure lines on/off
BOS Color : Customize the color of BOS lines
BOS Label : Show/hide the "BOS" text label
Use Cases
See the "skeleton" of price action at a glance
Identify potential support and resistance levels
Understand if the market is trending or ranging
Spot trend continuations with BOS lines
Catch early reversal signals with CHoCH lines
Build a foundation for more advanced trading strategies
━━━━━━━━━━━━━━━━━━━━━━
Version History
v1.1
Added BOS (Break of Structure) lines to visualize trend continuation
Added CHoCH (Change of Character) lines to identify potential trend reversals
Added toggle options for BOS and CHoCH visibility
Added customizable colors for structure lines
Added optional labels for BOS and CHoCH
v1.0
Initial release
Automatic swing high and swing low detection
Structure-based pivot confirmation (not fixed lookback)
Customizable pivot markers (style, size, colors)
Adjustable swing width sensitivity
━━━━━━━━━━━━━━━━━━━━━━
Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and does not constitute a recommendation to buy or sell any financial instrument. Always do your own research and trade at your own risk.
Swing Pivots - Market Structure High Low [zazenio]What is Market Structure?
Market structure is simply the pattern of highs and lows that price creates as it moves. When you look at any chart, you'll notice price doesn't move in a straight line — it swings up, pulls back, swings up again (in an uptrend), or the opposite in a downtrend.
These swing points — the peaks and valleys — are what traders call pivots. Identifying them correctly is the foundation of understanding where a market has been and where it might go next.
What This Indicator Does
Swing Pivots automatically marks these peaks and valleys on your chart so you don't have to draw them manually. It works on any market — stocks, crypto, forex, futures, indices — and on any timeframe.
How Pivots Are Detected
This indicator confirms pivots based on price structure, not a fixed bar count.
Here's how it works:
A swing high is confirmed when price breaks below the previous swing low. At that moment, we know the high was real — price tried to go higher, failed, and reversed. The market "proved" that level was a genuine turning point.
A swing low is confirmed when price breaks above the previous swing high. The same logic applies — price tried to go lower, failed, and reversed direction.
This creates a natural alternation: high, low, high, low. Each pivot is validated by the market's actual behavior, not by waiting for an arbitrary number of bars to pass.
Why This Matters
Most pivot indicators use a "lookback" method — they wait for a certain number of bars (say, 5 or 10) on each side of a candle before confirming it as a pivot. This creates a fixed delay. By the time the pivot appears on your chart, price has already moved on.
This indicator doesn't wait. It confirms pivots the moment price structure proves them. The result is pivots that align with how traders actually read charts — based on breaks of structure, not arbitrary countdowns.
Settings
Swing Width: Controls how sensitive the detection is. Higher numbers show only major swings; lower numbers capture smaller moves within the structure.
Style/Size/Colors: Customize how the pivot markers look on your chart.
Use Cases
See the "skeleton" of price action at a glance
Identify potential support and resistance levels
Understand if the market is trending or ranging
Build a foundation for more advanced concepts like Break of Structure (BOS) and Change of Character (CHoCH)
⸻
Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and does not constitute a recommendation to buy or sell any financial instrument. Always do your own research and trade at your own risk.
VCAI BOS-Zone PROVCAI BOS-Zone PRO is a structure-driven order-block mapper that tracks swing highs/lows, detects Break of Structure (BOS), and automatically draws clean bullish and bearish OB zones with midlines and directional flags.
It provides a clear, rules-based map of where structural shifts occurred and where price may react on future retests.
What it does:
Uses configurable swing pivots to define structure.
A bullish BOS is triggered when price closes above the last swing high;
a bearish BOS when price closes below the last swing low.
After each BOS, the script finds the last opposite candle (bearish before a bullish BOS, bullish before a bearish BOS) and builds an order-block zone from that candle’s high/low.
Each zone is projected a fixed number of bars into the future, keeping charts clean and preventing zones from extending into the price scale.
Only the latest N bullish and N bearish zones are kept, so the chart focuses on the most relevant active levels.
How to read it:
Yellow boxes + BULL flags = bullish demand zones.
Purple boxes + BEAR flags = bearish supply zones.
The edges of each zone act as potential support/resistance.
Reactions inside a yellow zone suggest buy-side interest;
rejection at a purple zone suggests sell-side pressure.
Optional midlines mark the 50% level of each zone, commonly used for refined entries, mitigations, and partial management.
How traders typically use it:
BOS-Zone PRO does not generate buy/sell alerts, but many traders use the zones as part of a broader decision process:
Bullish zones are often monitored for long setups when price returns and shows strength or continuation.
Bearish zones are often monitored for short setups when price retests and shows rejection or weakness.
Midlines provide refined entry levels with clearer invalidation points.
This tool is best used as structural context alongside your own entry model, risk settings, and trade management.
Notes & best practices:
BOS is directional, not predictive — treat zones as context, not guaranteed reversals.
Works on all symbols and timeframes.
Lower swing settings capture local structure; higher settings focus on major breaks and cleaner OB's.
Ideal as a structural map for discretionary traders or as a component inside automated systems.
Part of the VCAI toolset.
We develop a range of market-structure, volume, trend and liquidity tools designed to work together or stand alone.
SMC-Math by Thomas v1📌 SMC-Math by Thomas v1 — Description
SMC-Math by Thomas v1 is a complete Smart Money Concepts toolkit designed for traders who want a clean, mathematical, and structured view of market mechanics.
Rather than relying on abstract concepts or subjective drawings, this indicator focuses on rules-based detection of:
✔ Order Blocks (OB)
✔ Fair Value Gaps (FVG)
✔ Market Structure shifts (BoS / CHoCH)
✔ HTF trend confirmation
✔ Premium / Discount arrays
✔ Equal High & Equal Low Liquidity Zones (no hinting — expiry only)
This version is engineered for stability, clarity, and performance — with fully optimized array management, timestamp-based cleanup, and a clean visual presentation suitable for both discretionary and systematic trading.
📌 Key Features
🔹 1. Order Blocks (Bullish & Bearish)
Auto-detected using fractal swing highs/lows
Optional displacement + high volume filters
Midline display option
HTF trend alignment filter
Smart expiry + broken OB cleanup
Custom opacity, buffer, and extension controls
🔹 2. Fair Value Gaps (FVG)
Bullish and bearish gap detection
HTF confirmation-based dimming
No border for a clean ICT-style visuals
Auto remove when filled
Fully rule-based
🔹 3. Market Structure (BoS / CHoCH)
Based on fractal highs/lows
Automatic labeling (small, unobtrusive)
Direction validated by HTF option
Each structure level plotted with a projected line
Smooth, clean BOS/CHOCH flow
🔹 4. Premium / Discount Zones
Auto-calculated from most recent swing high & swing low
Box shading dynamically updates each bar
Helps identify optimal trade areas (OB → FVG → PD array)
🔹 5. Liquidity Zones (Equal Highs & Equal Lows)
This tool highlights where liquidity is likely resting:
Detects Equal Highs and Equal Lows using your tolerance or max difference
Auto-creates borderless shaded boxes
Adjustable box height and extension
NO hinting logic — the box remains for exactly cleanupDelay bars, then expires
Clean and predictable behavior, ideal for rule-based setups
This is especially useful for:
identifying buy-side and sell-side liquidity pools
anticipating runs on liquidity
targeting sweeps
🔹 6. HTF Status Panel
Shows higher-timeframe trend status on the live bar:
Bullish
Bearish
Or “HTF Not Required”
Useful for aligning entries with larger market flow.
📌 How to Use SMC-Math by Thomas v1
1️⃣ Identifying Direction
Start by reading:
HTF Trend Label
BOS & CHOCH reactions
Bullish: look for HL → HH structure + bullish OBs + bullish FVGs
Bearish: look for LH → LL structure + bearish OBs + bearish FVGs
This creates your directional bias.
2️⃣ Using Order Blocks
An OB is valid when:
It appears in line with structure
HTF alignment supports it (optional toggle)
Price returns after a displacement
OB is not “broken” (indicator handles this visually)
Use OBs as:
Rebalance targets
Entry areas
Stop placement logic
3️⃣ Fair Value Gaps
FVGs appear when price dislocates and leaves inefficiency.
Use them to:
Refine entries inside OBs
Project premium/discount zones
Identify continuation zones
The indicator auto-removes FVGs when filled.
4️⃣ Liquidity Zones
Liquidity zones identify resting orders at equal highs/lows.
This version uses simple expiry logic:
Box is created when EQH/EQL forms
It remains visible for 20 bars (default)
It disappears automatically after expiry
No hint/confirmation triggers deletion
Usage tips:
Expect price to run toward these zones
Use them as targets or continuation markers
Combine with OB/FVG for confluence
5️⃣ Premium / Discount Zones
Use PD arrays to gauge:
Premium = optimal shorting zones
Discount = optimal long zones
Not trade “in the middle” unless a clear BOS or CHoCH happens
📌 Recommended Workflow
HTF Bias → Check the HTF panel
Market Structure → Identify trend continuation or reversal
Liquidity → Mark where price is likely to target
FVG → Identify imbalance zones
OB → Confirm institutional origin points
PD Arrays → Determine optimal trade location
Execute with confluence
📌 Who Is This Indicator For?
✔ Traders using ICT / SMC logic
✔ Traders wanting rule-based, non-subjective markups
✔ Traders who want automated detection without repainting
✔ Anyone who uses OB, FVG, liquidity sweeps, and structure shifts
VCAI Volume & Liquidity Map LiteVCAI Volume & Liquidity Map Lite visualises recent market participation using a horizontal liquidity/volume histogram plotted beside current price.
It shows where trading activity has clustered, where the chart is thin, and how much of that activity came from buying vs selling pressure.
This Lite edition keeps the tool simple and fast:
Yellow = buy-side volume (aggressive buyers / upward pressure)
Purple = sell-side volume (aggressive sellers / downward pressure)
Thicker sections = higher traded volume at that price
POC line (purple) marks the price with the highest volume concentration
Value Area lines (yellow dashed) mark where ~70% of volume has traded
Bars extend outward to the right of price for a clean, unobstructed chart
Lookback setting controls how many candles the map is built from
Use it to quickly identify:
high-interest price zones
low-liquidity areas where price can move fast
likely reaction levels
where momentum may slow, reverse, or break through
Designed as a lightweight, open-source tool for anyone wanting a clean liquidity/volume map without complex settings.
Part of the VCAI Lite Series.
SMC N-Gram Probability Matrix [PhenLabs]📊 SMC N-Gram Probability Matrix
Version: PineScript™ v6
📌 Description
The SMC N-Gram Probability Matrix applies computational linguistics methodology to Smart Money Concepts trading. By treating SMC patterns as a discrete “alphabet” and analyzing their sequential relationships through N-gram modeling, this indicator calculates the statistical probability of which pattern will appear next based on historical transitions.
Traditional SMC analysis is reactive—traders identify patterns after they form and then anticipate the next move. This indicator inverts that approach by building a transition probability matrix from up to 5,000 bars of pattern history, enabling traders to see which SMC formations most frequently follow their current market sequence.
The indicator detects and classifies 11 distinct SMC patterns including Fair Value Gaps, Order Blocks, Liquidity Sweeps, Break of Structure, and Change of Character in both bullish and bearish variants, then tracks how these patterns transition from one to another over time.
🚀 Points of Innovation
First indicator to apply N-gram sequence modeling from computational linguistics to SMC pattern analysis
Dynamic transition matrix rebuilds every 50 bars for adaptive probability calculations
Supports bigram (2), trigram (3), and quadgram (4) sequence lengths for varying analysis depth
Priority-based pattern classification ensures higher-significance patterns (CHoCH, BOS) take precedence
Configurable minimum occurrence threshold filters out statistically insignificant predictions
Real-time probability visualization with graphical confidence bars
🔧 Core Components
Pattern Alphabet System: 11 discrete SMC patterns encoded as integers for efficient matrix indexing and transition tracking
Swing Point Detection: Uses ta.pivothigh/pivotlow with configurable sensitivity for non-repainting structure identification
Transition Count Matrix: Flattened array storing occurrence counts for all possible pattern sequence transitions
Context Encoder: Converts N-gram pattern sequences into unique integer IDs for matrix lookup
Probability Calculator: Transforms raw transition counts into percentage probabilities for each possible next pattern
🔥 Key Features
Multi-Pattern SMC Detection: Simultaneously identifies FVGs, Order Blocks, Liquidity Sweeps, BOS, and CHoCH formations
Adjustable N-Gram Length: Choose between 2-4 pattern sequences to balance specificity against sample size
Flexible Lookback Range: Analyze anywhere from 100 to 5,000 historical bars for matrix construction
Pattern Toggle Controls: Enable or disable individual SMC pattern types to customize analysis focus
Probability Threshold Filtering: Set minimum occurrence requirements to ensure prediction reliability
Alert Integration: Built-in alert conditions trigger when high-probability predictions emerge
🎨 Visualization
Probability Table: Displays current pattern, recent sequence, sample count, and top N predicted patterns with percentage probabilities
Graphical Probability Bars: Visual bar representation (█░) showing relative probability strength at a glance
Chart Pattern Markers: Color-coded labels placed directly on price bars identifying detected SMC formations
Pattern Short Codes: Compact notation (F+, F-, O+, O-, L↑, L↓, B+, B-, C+, C-) for quick pattern identification
Customizable Table Position: Place probability display in any corner of your chart
📖 Usage Guidelines
N-Gram Configuration
N-Gram Length: Default 2, Range 2-4. Lower values provide more samples but less specificity. Higher values capture complex sequences but require more historical data.
Matrix Lookback Bars: Default 500, Range 100-5000. More bars increase statistical significance but may include outdated market behavior.
Min Occurrences for Prediction: Default 2, Range 1-10. Higher values filter noise but may reduce prediction availability.
SMC Detection Settings
Swing Detection Length: Default 5, Range 2-20. Controls pivot sensitivity for structure analysis.
FVG Minimum Size: Default 0.1%, Range 0.01-2.0%. Filters insignificant gaps.
Order Block Lookback: Default 10, Range 3-30. Bars to search for OB formations.
Liquidity Sweep Threshold: Default 0.3%, Range 0.05-1.0%. Minimum wick extension beyond swing points.
Display Settings
Show Probability Table: Toggle the probability matrix display on/off.
Show Top N Probabilities: Default 5, Range 3-10. Number of predicted patterns to display.
Show SMC Markers: Toggle on-chart pattern labels.
✅ Best Use Cases
Anticipating continuation or reversal patterns after liquidity sweeps
Identifying high-probability BOS/CHoCH sequences for trend trading
Filtering FVG and Order Block signals based on historical follow-through rates
Building confluence by comparing predicted patterns with other technical analysis
Studying how SMC patterns typically sequence on specific instruments or timeframes
⚠️ Limitations
Predictions are based solely on historical pattern frequency and do not account for fundamental factors
Low sample counts produce unreliable probabilities—always check the Samples display
Market regime changes can invalidate historical transition patterns
The indicator requires sufficient historical data to build meaningful probability matrices
Pattern detection uses standardized parameters that may not capture all institutional activity
💡 What Makes This Unique
Linguistic Modeling Applied to Markets: Treats SMC patterns like words in a language, analyzing how they “flow” together
Quantified Pattern Relationships: Transforms subjective SMC analysis into objective probability percentages
Adaptive Learning: Matrix rebuilds periodically to incorporate recent pattern behavior
Comprehensive SMC Coverage: Tracks all major Smart Money Concepts in a unified probability framework
🔬 How It Works
1. Pattern Detection Phase
Each bar is analyzed for SMC formations using configurable detection parameters
A priority hierarchy assigns the most significant pattern when multiple detections occur
2. Sequence Encoding Phase
Detected patterns are stored in a rolling history buffer of recent classifications
The current N-gram context is encoded into a unique integer identifier
3. Matrix Construction Phase
Historical pattern sequences are iterated to count transition occurrences
Each context-to-next-pattern transition increments the appropriate matrix cell
4. Probability Calculation Phase
Current context ID retrieves corresponding transition counts from the matrix
Raw counts are converted to percentages based on total context occurrences
5. Visualization Phase
Probabilities are sorted and the top N predictions are displayed in the table
Chart markers identify the current detected pattern for visual reference
💡 Note:
This indicator performs best when used as a confluence tool alongside traditional SMC analysis. The probability predictions highlight statistically common pattern sequences but should not be used as standalone trading signals. Always verify predictions against price action context, higher timeframe structure, and your overall trading plan. Monitor the sample count to ensure predictions are based on adequate historical data.
ZigZagCoreZigZagCore
ZigZagCore is a generic ZigZag engine that works with any user-defined threshold (ATR-based, volatility-based, fixed ticks, etc.).
API
import ReflexSignals/ZigZagCore/ as zz
var zz.ZzState state = zz.zz_new()
float thr = ... // your threshold in price units
state := zz.zz_update(state, thr)
zz_update(state, thr)
Parameters:
state (ZzState)
thr (float)
ZzState
Fields:
dir (series int)
highSinceLow (series float)
lowSinceHigh (series float)
lastHighLevel (series float)
lastLowLevel (series float)
lastHighIndex (series int)
lastLowIndex (series int)
highSinceLowIndex (series int)
lowSinceHighIndex (series int)
isNewHigh (series bool)
isNewLow (series bool)
Directional State
dir = 1 → market is in an upswing
dir = -1 → market is in a downswing
dir = na → initial undecided state
Live Swing Tracking (Unconfirmed Leg)
Continuously updated swing extremes:
highSinceLow — highest price since the last confirmed low
lowSinceHigh — lowest price since the last confirmed high
Their corresponding bar indices
These fields describe the current active swing leg, which updates every bar until a pivot is confirmed.
Pivot Detection
A pivot confirms only when price moves beyond the prior swing extreme by more than threshold. When this occurs, the library sets:
isNewHigh = true (on the detection bar only) and updates lastHighLevel, lastHighIndex
isNewLow = true and updates lastLowLevel, lastLowIndex
Volume profilerMulti-Range Volume Analysis & Absorption Detection
This tool visualises market activity through multi-range volume profiling and absorption signal detection. It helps you quickly identify where volume expands, compresses, or diverges from expected behaviour.
What it does
Volume Profiler plots four volume EMAs (short / mid / long / longer) so you can gauge how current volume compares to different market regimes.
It also highlights structural volume extremes:
• Low-volume bars (liquidity withdrawal)
These are potential signs of exhaustion, pauses, or low liquidity environments.
• High-volume + Low-range absorption
A classic footprint-style signal where aggressive volume fails to move price.
Often seen during:
absorption of one side of the book
liquidity collection
failed breakouts
institutional accumulation/distribution
You can choose:
which EMA defines “high volume”
how to measure candle range (High-Low, True Range, or Body)
how to define baseline volatility (ATR or average range)
Alerts are included so you can monitor absorption automatically.
Features
Multi-range volume EMAs (10 / 50 / 100 / 300 by default)
Low-volume bar flags
Absorption detection based on custom thresholds
Customisable volatility baseline
Optional bar colouring
Labels displayed directly in the volume pane
Alert conditions for absorption events
How to use
This indicator is valuable for:
confirming trend strength or weakness
detecting absorption before reversal or breakout continuation
finding low-liquidity pauses
identifying volume expansion across different time horizons
footprint-style behavioural confirmation without needing order-flow data
Works across all markets and timeframes.
Notes
This script is intended for educational and analytical use.
It does not repaint.






















