Geometric Matrix Intelligence [GMI]Description:
Welcome to the Geometric Matrix Intelligence + Market Structure indicator. This script is a hybrid trading tool that merges advanced structural concepts (BOS/CHoCH) with geometric probability levels and volatility-based trend analysis.
Core Features:
Geometric Probability Levels (GMI):
When a shift in trend direction is detected based on our custom ATR volatility filter, the script automatically projects forward geometric expansion levels (Φ1 to Φ4). These levels are highly versatile:
Reversal Zones: Price often reacts directly at these mathematical levels, creating excellent pivot or bounce areas.
Take Profit (TP) Targets: Once you are in a trade, these expansion lines provide objective, dynamic targets to scale out or close your positions.
Market Structure (BOS / CHoCH):
Automatically identifies structural pivot highs and lows using a fractal length (defaulted to 12).
Plots pending "Candidate" structure lines (in blue by default).
Confirms Break of Structure (BOS) or Change of Character (CHoCH) when the price breaks these pivots, updating dynamically on your chart.
VWAP Integration:
Includes a built-in Volume Weighted Average Price (VWAP) as a primary institutional baseline to help gauge overall intraday or multi-day bias. (Enabled by default).
Interactive Trend Dashboard & Shading:
An on-chart dashboard tracks the immediate trend status, the initial trigger entry price, maximum projected targets (Φ4), and current ATR volatility.
Visual trend shading allows for immediate macro-trend recognition.
How to Use:
Watch for Market Structure shifts (BOS/CHoCH) aligning with the GMI generated levels.
Use the projected Φ levels as primary take profit targets when trading a newly confirmed structural break.
Monitor the VWAP to ensure your structural trades are on the correct side of the institutional volume average.
Disclaimer:
This script is provided for educational and informational purposes only. It is not intended to be a financial advice, investment recommendation, or a signal to buy/sell any asset. Trading in financial markets involves significant risk of loss. Always do your own research and test any indicator or strategy in a paper-trading environment before committing real capital. Indicator

CHoCH SetupCHoCH Setup is a comprehensive multi-timeframe analysis tool designed to identify structural shifts, validate them with volume and momentum, and highlight high-probability Fair Value Gap (FVG) entries.
Multi-Timeframe (MTF) Alignment: Evaluates a Higher Timeframe (HTF) directional bias to ensure your current timeframe trades align with the macro trend.
Volume Point of Control (POC): Dynamically calculates the high-volume node of recent periods. Breaks through the POC indicate strength.
BLVL (Break Level) CHoCH & BOS: Identifies structural market shifts. A CHoCH (Change of Character) triggers the drawing of the main setup box.
Volume Profile Inside CHoCH Box: Visualizes the volume intensity directly within the CHoCH box to validate the momentum of the breakout.
RSI Tracking Polyline: Tracks the RSI behavior historically to identify if the setup occurred in overbought/oversold conditions or if there is momentum divergence.
FVG Engine: Highlights bullish and bearish Fair Value Gaps. It can optionally filter for "bounces" or mitigations where price taps into the FVG after a structural break.
CHoCH Fibonacci Zones & Targets: Automatically plots a Buy/Sell mitigation zone (0.382 - 0.618) and extended target levels (1.47, 1.55, 2.56, 2.6, 2.68) for taking profit.
HUD Dashboard: Provides a real-time summary of the HTF Bias, Current TF Bias, POC Trap State, and the strength of the current CHoCH.
🎯 Identifying an "A+ Setup"
An A+ setup occurs when multiple confluences align simultaneously. Look for the following conditions on your dashboard and chart:
Timeframe Alignment: Both HTF Bias and Current TF Bias are pointing in the same direction.
Strong CHoCH Signal: A CHoCH break happens in the direction of the HTF Bias, backed by above-average volume (indicated by thick volume columns inside the CHoCH box).
POC Confirmation: Price breaks and holds beyond the POC level, avoiding a "Trap" state (e.g., a "Strong Bullish" state on the dashboard).
FVG Creation: The impulse move that caused the CHoCH leaves behind a Fair Value Gap.
Entry Execution: Price pulls back into the CHoCH Fibo Zone (0.382 - 0.618) and taps the FVG. This is the optimal entry zone targeting the extended Fibo levels (1.47+).
🔔 Alerts
The script includes built-in alert conditions tailored for this setup:
Bullish CHoCH Direction FVG Formed!: Triggers when a new bullish FVG forms immediately following a Bullish CHoCH.
Bearish CHoCH Direction FVG Formed!: Triggers when a new bearish FVG forms immediately following a Bearish CHoCH.
(To set these up: Create an alert on PulseWire, select the indicator, and choose "Any alert() function call".)
⚠️ Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial or trading advice. Trading in financial markets involves a high degree of risk, and past performance of any indicator or setup is not indicative of future results. Always backtest strategies thoroughly and use proper risk management.* Indicator

Wyckoff Architectural Range - erdensedatThe "Wyckoff Architectural Probability Range" is an advanced, non-overlapping consolidation detector and liquidity sweep identification system. Designed to keep charts clean, it dynamically adapts to market volatility and focuses solely on the current active trading range.
Key Features:
- Dynamic ATR-Based Range Width: The indicator automatically adjusts its maximum allowed range width based on the asset's current volatility, ensuring it works seamlessly across both major assets (BTC, ETH) and highly volatile altcoins.
- Non-Overlapping Architecture: Historical ranges are completely removed upon a confirmed breakout, leaving only the active, actionable consolidation zone on your chart.
- Premium & Discount Zones: The range is mathematically divided into Premium (Top 25%), Equilibrium (Middle 50%), and Discount (Bottom 25%) zones. Internal EQ levels (0.4 and 0.6) are also projected.
- Advanced Retest Signals:
> Buy Signal: Prints when price crosses below the Discount EQ and subsequently retests and closes above it.
> Sell Signal: Prints when price crosses above the Premium EQ and subsequently retests and closes below it.
- Smart Liquidity Detection (Spring & UTAD): Automatically identifies and labels wick-based liquidity sweeps outside the range.
- Mean Reversion Probability: A dynamic stats panel calculates the mean reversion probability based on the current deviation from the main Equilibrium level.
- Built-in Alert System: Provides any() alert conditions for Buy/Sell signals, Spring/UTAD sweeps, and Range Breakouts.
- Optional VWAP: Toggle a standard VWAP line on or off directly from the settings for additional confluence.
How to Use:
Use the statistical panel and structural boxes to identify institutional accumulation (Discount Zone) and distribution (Premium Zone). Wait for confirmed retest signals (Triangles) or liquidity sweeps (Spring/UTAD) for high-probability mean-reversion entries.
Disclaimer:
The information and scripts provided in this indicator are for educational and informational purposes only and do not constitute financial advice. Trading cryptocurrencies, forex, and other financial markets involves a high degree of risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own research and consult with a certified financial advisor before making any trading decisions.
Indicator

Price Reaction ZonesPrice Reaction Zones (PRZ) is an advanced structural analytics tool designed for traders who focus on market microstructure, dynamic support/resistance levels, and liquidity sweeps. By blending traditional Change of Character (CHoCH) concepts with a custom-engineered "AXIS Motor", this indicator offers dynamic kinetic sensitivity and highly strategic Fibonacci-based target zones.
This script maps out historical structure ranges, isolates liquidity traps (sweeps), and projects tactical ghost vectors to evaluate micro-trend strength.
Key Features:
1. Smart Market Structure & Dynamic Fib Boxes
When a valid Break of Structure (BOS) or Change of Character (CHoCH) occurs, the indicator identifies the absolute extremes (Highest High and Lowest Low wicks) of the most recently broken structure.
Bullish CHoCH (Upward Break): Creates a dynamic Fibonacci box between 0.318 and 0.500 of the previous downward structure.
Bearish CHoCH (Downward Break): Creates a dynamic Fibonacci box between 0.618 and 0.790 of the previous upward structure.
These boxes act as immediate high-probability reaction zones for the very next wave. An Equilibrium (EQ - 0.5) limit line is also drawn to clearly divide the market bias.
2. External Ranges & Liquidity Sweep Detection
Instead of cluttering the chart with every single swing high or low, PRZ calculates an overarching "External Range" based on a lookback of the last 6 structural phases.
It automatically frames a beautiful Price Range Box mapping the exact tick difference and percentage span of the overarching macro structure.
Rejected Wick Logic (Sweeps): If price pierces the external High or Low boundaries but closes inside the range, a permanent "UP" or "DOWN" text is pinned to that wick. This signals a textbook liquidity sweep (a trap for breakout traders) and potential reversal.
Alerts are fully integrated for UP and DOWN sweep detections.
3. The AXIS Engine & Auto-Kinetic Sensitivity
Unlike static trendlines, the integrated AXIS Engine measures the "Velocity" of the market.
Auto-Kinetic Multiplier: By analyzing the real-time sum of bullish vs. bearish momentum (close to open differences) over a rolling window, the script dynamically adjusts the slope sensitivity of the resistance and support lines entirely independent of one another.
Tactical Ghost Vectors: Projects subtle, short-term momentum paths (Minor Lookbacks) to help you visualize the micro-trend inside the macro-structure, offering early warnings of momentum shifts before structural breaks happen.
4. Highly Customizable Interface
You have complete control over visualization. Tweak kinetic multipliers manually, adjust lookback lengths, alter Fibonacci box colors, and toggle lines to keep your chart as clean or as detailed as you prefer. A minimalist "erdensedat" watermark is embedded dynamically on the chart.
How to Use:
Use the Fibonacci boxes inside the latest active CHoCH range to enter pullbacks.
Watch the boundaries of the macro Price Range Box. Enter mean-reversion trades when "UP" or "DOWN" liquidity sweep labels appear.
Utilize the AXIS lines to trail your stops dynamically based on the current market velocity.
Disclaimer:
This indicator is designed for educational and analytical purposes only. It does not constitute financial advice. Trading in financial markets involves significant risk. The concepts of market structure, CHoCH, and liquidity sweeps are interpretive; always combine this tool with your own risk management strategy and other confluences. Past performance of any setup does not guarantee future results. Indicator

LIQS and FIBS Scalp SystemOverview
The "LIQS and FIBS Scalp System" is an advanced Smart Money Concepts (SMC) and Price Action indicator designed for traders seeking high-probability scalping and day trading setups. Instead of relying on lagging indicators, this system dynamically maps critical liquidity sweeps, structure shifts, and optimal trade entry zones based entirely on pure price action.
Key Features
HTF Market Structure Bias (No EMA Lag):
The core of the system determines the main trend bias by tracking the most recent Break of Structure (BOS) or Change of Character (CHoCH) on your selected Higher Timeframe (HTF). If the HTF just broke a swing high, your bias is firmly Bullish. If it broke a swing low, your bias is Bearish. This ensures you are always trading in alignment with true institutional market structure, not a delayed moving average.
HTF Sweeps & Reversals:
Automatically identifies liquidity sweeps at Higher Timeframe highs and lows. It monitors price action around these key historical pivot levels and highlights potential reversal pinbars right at the sweep zones.
LTF BOS & CHoCH Logic:
Detects micro Break of Structure (BOS) and Change of Character (CHoCH) patterns to spot short-term momentum shifts in real-time, helping you catch the very beginning of a new leg.
Deep Fibonacci Setups & Runner Targets:
Following a valid CHoCH, the indicator automatically draws Fibonacci retracement zones (0.318 - 0.618) representing optimal entry points. It dynamically projects logical Stop Loss zones and extends up to Target 6 for runners to capture massive long-term trends:
Target 1 & Target 2 for short-term scalps.
Target 3 & Target 4 (3.618 - 4.236 extensions) for day trades.
Target 5 & Target 6 (5.618 - 6.854 extensions) to hold your runners and ride extreme trend continuation.
A-Plus Setup Filter & VWAP:
To protect you from fake breakouts and low-probability trades, the system validates every entry.
Pro-trend setups that align with both the HTF Structure Bias and the VWAP are highlighted with colored entry and target boxes.
Counter-trend or low-probability setups are visually muted (grayed out) so you can easily ignore them.
Built-in alerts notify you only when a micro CHoCH perfectly aligns with the HTF trend direction!
How to Use
Wait for price to sweep an HTF liquidity level, watch for a valid CHoCH in the opposite direction, and set your limit orders inside the highlighted 0.318 - 0.618 Fibonacci reaction box. Trust the colored boxes (A-Plus setups) and ignore the gray ones. Take partial profits at T1 and T2, then leave runners for the deeper T3 to T6 targets!
Disclaimer
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading in financial markets involves a high degree of risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own research, use strict risk management, and perform thorough backtesting before trading with real funds. Indicator

Sweep TerminalSweep Terminal
Description:
Welcome to Sweep Terminal, an elite all-in-one institutional trading indicator designed for maximum precision. Developed by erdensedat, this tool provides unparalleled clarity on price action, liquidity sweeps, market structure shifts, and daily biases—all without cluttering your chart. It seamlessly integrates Multi-Timeframe (MTF) analysis, an advanced Fair Value Gap (FVG) engine, dynamic BOS/CHoCH mapping, and real-time session tracking.
Core Features:
1. Live Market Info Panel
A dynamic, non-intrusive table situated at the top right of your screen providing instant, actionable data:
Directional Biases: Instantly know the Daily, Weekly, and VWAP bias (Bullish/Bearish).
Momentum & Trend: Real-time RSI momentum value and raw DI+ / DI- (Directional Movement) data. The dominant DI force is automatically color-coded for quick visual confirmation.
Active Structure: Displays the most recent character of the market (Bullish/Bearish Structure).
Session Status: Real-time sync with the Europe/Istanbul timezone. Displays exactly which session is active (Asian, London, NY) or which one is upcoming, indicated by active Green/Red LED dots.
2. MTF Sweep Logic & Opening Ranges
Understanding where liquidity lies is crucial. This module automatically detects and highlights major High/Low levels across key timeframes (1 Hour, 4 Hour, 1 Daily).
Sweep & Raid Detection: Highlights potential liquidity sweeps (shadow boxes) in real-time and explicitly marks confirmed "Raids" with directional triangles once the price deviates and closes back within the range.
Discount/Premium Pricing: H/L pivot lines clearly dictate "Premium" (Short) and "Discount" (Long) equilibrium zones.
Session Killzone Pivots (Optional): Tracks session highs and lows. Once a session level is breached, the line freezes at the breakout point, turns dotted, and marks the raid with a clean "X" at the center.
3. Advanced Fair Value Gap (FVG) Engine
Our refined FVG engine ensures you only see the most significant imbalances.
Clean Visualization: Bullish FVG boxes default to a deep teal (#006064) and bearish to a dark crimson (#801922), complete with lightly opaque mid-lines for precise entries.
Smart Filtering: Removes overlapping FVGs, filters by threshold sizes, and offers customizable mitigation triggers (Close, Wick, or Average price).
Breaker Blocks: Seamlessly toggle between standard FVGs or Breaker block tracking.
4. Dynamic BOS & CHoCH Mapping
Stay on the right side of the trend with an automated structure mapping algorithm based on pivot fractals.
Pre-Break Candidates: Anticipate structure shifts with dashed candidate lines marking unmitigated Pivot Highs and Lows.
Confirmed Breaks: Once a level is breached, the line solidifies. Includes smart alert routing for instant notifications on structural shifts.
How to Use:
Liquidity Traps: Use the MTF Sweep Logic to spot when retail stops are triggered above a 4H or Daily high, providing high-probability mean reversion setups.
Confluence Trading: Check the live Panel. If the Daily/Weekly bias is Bullish, look for a Discount zone test, wait for a Bullish CHoCH, and enter on a lower timeframe FVG mid-line.
Customization: The settings menu is highly compartmentalized. Isolate specific logic (e.g., only show 1D sweeps, VWAP, and FVG) allowing this indicator to adapt perfectly to any Smart Money Concept (SMC) or ICT-based strategy.
Dedicated to clean charts and precise execution.
Disclaimer:
The information, scripts, and features provided by this tool are for educational and informational purposes only and do not constitute financial, investment, or trading advice. Trading in financial markets (including cryptocurrencies, forex, and stocks) involves a high degree of risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own thorough research, backtest thoroughly, and consult with a certified financial advisor before making any trading decisions. The author (erdensedat) assumes no responsibility for any financial losses or damages incurred while using this script. Indicator

Scalp The ReactScalp The React (STR) is an advanced, all-in-one market structure and liquidity mapping framework. Designed for scalpers, intraday traders, and swing traders, this indicator dynamically builds actionable "Reaction Zones," Fibonacci projection targets, and liquidity sweep setups based on real-time market structure breaks and session timings.
Instead of relying on static, manual drawings, STR automatically identifies structural pivots, determines the market bias, and projects forward-looking target zones to give you a complete roadmap of where the price is likely to react.
🌟 Core Features & Modules
1. Dynamic Fibonacci Setup Modes
The heart of STR is its adaptive Fibonacci projection engine. Depending on your trading style, you can choose how the indicator anchors its High/Low legs to draw the target zones.
Scalp Mode: A step-by-step approach. It waits for the current 0 or 1 boundaries of the active setup to be completely broken before anchoring a new Fibonacci leg.
Intraday Mode: Focuses purely on trend reversals. It maps new Fibonacci projection zones only when a Change of Character (CHoCH) occurs.
HTF (Higher Timeframe) Mode: Top-down analysis made easy. It grabs the exact High and Low of the previous Higher Timeframe candle (e.g., 4H) and projects intraday zones based on that HTF range.
Session Mode: Perfect for session-to-session liquidity traders. It automatically tracks the High and Low of specific trading sessions (Asia, London, New York). The moment a session ends, it instantly projects the Fibonacci scheme based on the current market bias. (Labels explicitly tell you if a level is the "Asia High" or "London Low").
First 4H Mode: An opening range breakout approach. It maps the High and Low of the day's first 4 hours (e.g., 03:00 - 07:00) and projects the roadmap for the rest of the day.
2. Target & Liquidity Zones
Whenever a new setup is confirmed, the indicator plots highly specific mathematical zones:
Magnetic Retest Level (0.5): The fair-value equilibrium of the anchor leg.
Reaction Zone (1.47 - 1.55): The primary Take Profit and reaction box.
External Reaction Zone (2.56 - 2.64): The extended macro target box.
Liquidity Sweep Box (-0.21 to -0.29): Placed exactly opposite to the breakout direction. If the price pushes into this zone and closes back inside the range, the indicator marks a precise Sweep (x) label, signaling a potential liquidity trap / reversal.
3. Market Structure Engine (BOS & CHoCH)
The script continuously scans for fractal highs and lows. It draws "Candidate" levels and waits for the price to break them (wick or body close based on your preference). Once broken, it permanently stamps the chart with BOS (Break of Structure) or CHoCH (Change of Character) labels and lines, keeping a clean historical record of the trend state.
4. Kinetic MA Trail & Bias Engine
To avoid plotting setups against the broader trend, the indicator uses a "Kinetic MA." This is a macro moving average that trails the price uniquely by filtering out noise using Supertrend and ATR logic.
When the price is above the Kinetic MA, the macro bias is Bullish.
When the price is below the Kinetic MA, the macro bias is Bearish.
Note: This internal bias is what dictates the direction of the Session and First 4H Fibonacci projections.
5. Advanced FVG / Breaker Engine
A built-in Fair Value Gap (FVG) and Breaker block extraction module.
Displays the last N unmitigated gaps.
Overlap Filter: Automatically hides overlapping FVGs to keep the chart incredibly clean.
Raid Detection: Marks an "x" inside the gap if the price aggressively wicks into it (a liquidity raid) but fails to close beyond it.
Supports mitigation filtering by Wick, Body Close, or Average line.
⚙️ How to Use It?
Select your Mode: If you trade the London/New York overlaps, set the Fib Mode to "Session". If you are a pure price-action scalper, set it to "Scalp" or "Intraday".
Follow the Liquidity: Look for setups where the price breaks structure, pulls back into the yellow Magnetic Level (0.5), or sweeps the Red Liquidity Box (-0.21 to -0.29) before targeting the Green Reaction Zones.
Align with the Kinetic MA: Use the glowing Kinetic MA band to stay on the right side of the macro trend.
⚠️ Disclaimer
For Educational Purposes Only:
The "Scalp The React" indicator and all its built-in features (including Fibonacci zones, market structure labels, moving averages, and FVG detection) are provided strictly for educational and informational purposes.
Not Financial Advice:
This script does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. Trading in financial markets (including cryptocurrencies, forex, stocks, and commodities) involves a high degree of risk and may not be suitable for all investors. You could lose some or all of your initial investment.
No Guarantee of Results:
Past performance of any trading system or methodology is not necessarily indicative of future results. The zones, labels, and signals generated by this script are based on mathematical formulas and historical price action; they do not predict the future.
User Responsibility:
By using this script, you acknowledge that you are solely responsible for your own trading decisions. Always conduct your own research (DYOR), practice strict risk management, and consult with a certified financial advisor before making any trading or investment decisions. The author of this script assumes no responsibility for any trading losses incurred. Indicator

Touch Turn Reversal ZonesDescription:
The Touch Turn Reversal Zones indicator is a comprehensive tool designed to help traders read market structure, establish directional bias, and identify high-probability reversal zones. By combining Market Structure shifts (BOS/CHoCH) with automated Fibonacci-based logic, this script highlights precise points of interest where the price is most likely to react.
Key Features & How It Helps:
Upper & Lower Touch-Turn (TT) Boxes: These target boxes represent near-ideal areas for direct price reversals. When price enters or wicks into these zones and subsequently closes in the opposite direction, the box is "activated" and visually highlighted (becoming brighter). The indicator will keep the most recently activated box prominent until a new setup triggers, allowing you to easily track the current active reversal point.
The 0.5 Level Magnet: A core component of this strategy revolves around the 0.5 Fibonacci levels generated from CHoCH legs. When multiple 0.5 levels cluster together (grouped 0.5 lines), they create a high-confluence zone. In market dynamics, price naturally gravitates towards these grouped levels.
Targeting & Bias Reading: The script not only pinpoints where a reversal might start but also helps predict where the move could end. For example, if the price bounces perfectly from a Lower TT Box, the immediate and most logical target for that bullish reversal is often the nearest cluster of grouped 0.5 levels above. This allows traders to effectively gauge their bias and establish clear take-profit zones.
Internal & External Range Liquidity (IRL / ERL): The code maps out swing pivots (ERL) and Fair Value Gaps (IRL). This provides additional context on liquidity sweeps and market imbalances that often precede or confirm reversals.
Comprehensive Alert System:
The indicator includes a built-in, ready-to-use alert system to keep you notified of structural changes in real-time:
Box Activation Alerts: Get notified instantly when the Lower Box is Active or the Upper Box is Active (triggering a Touch & Turn).
Combined Confluence Alerts: Optional alerts allow you to be notified when an active box perfectly aligns with the creation of structural liquidity, such as “Lower Box Active with Bullish IRL Created” or “Upper Box Active with Bearish IRL Created”. This helps you catch reversals backed by strong momentum and imbalance confirmation.
Whether you are trying to catch a precise reversal or aiming to ride the wave toward clustered equilibrium (0.5) levels, the Touch Turn Reversal Zones indicator provides a clear, structured roadmap of price action.
Disclaimer: This indicator is designed for educational and informational purposes only. Trading in financial markets involves a high degree of risk and may not be suitable for all investors. Past performance is not indicative of future results. Always perform your own backtesting, use proper risk management, and never make financial decisions based solely on the signals of a single indicator. Indicator

Smart Trap StructureSmart Trap Structure (STS)
The Smart Trap Structure (STS) is an advanced institutional and structural trading indicator designed to filter out market noise, identify deep liquidity hunts (traps), and track the true directional intent of the market.
Unlike standard market structure scripts that clutter the chart with endless BOS (Break of Structure) and CHoCH (Change of Character) labels, STS utilizes an exclusive "Active Setup Cycle" logic. This ensures that you only see the most relevant price ranges and confirmation points for the current market phase.
Key Features:
The Decision Line (Orange Retest Line):
Whenever a valid CHoCH occurs, an active orange "Decision Line" is projected forward. This line acts as the ultimate truth for the setup. If price violently pierces this line, it is often hunting for stop-losses (Smart Money Trap) before continuing in the intended direction.
Reaction Zones (HH & LL Boxes):
Instead of just drawing wicks, STS dynamically maps the extreme Highest Highs (HH) and Lowest Lows (LL) of a confirmed structural phase using shaded Reaction Zone boxes (from the absolute wick to the body). These zones act as highly reactive supply and demand areas for future retests.
Dynamic Fibonacci Engine:
STS features a built-in Fibonacci drawing tool that automatically anchors to the confirmed extremes (HH to LL or LL to HH) of the active setup phase. It perfectly projects structural retracement and extension levels (0, 0.236, 0.382, 0.618, 0.764, 1.0, 1.382, 1.618). When Fibo mode is active, it automatically hides unnecessary historical dotted lines for maximum chart clarity.
Clean Chart Mechanics:
You will never suffer from "indicator fatigue". When the structure shifts, the indicator forcefully deletes old, irrelevant lines, reaction boxes, and labels from past cycles. Only the active CHoCH label remains standard-sized, while internal BOS events are scaled down to keep your chart visually clean.
Integrated MA & VWAP:
Toggle the built-in VWAP and select from a variety of Moving Averages (SMA, EMA, WMA, HMA, VWMA) straight from the settings without needing an extra indicator slot on your chart.
Disclaimer:
This script is provided for educational and analytical purposes only. Past performance does not guarantee future results. The script does not constitute financial advice. Always use proper risk management and execute trades based on your own comprehensive market analysis. Indicator

HTF Mr. Fibonacci ReversalThe HTF Mr. Fibonacci Reversal is a premium, all-in-one dynamic tool designed to identify major institutional liquidity sweeps, Optimal Trade Entries (OTE), extreme market deviation zones, and internal Market Structure shifts (BOS/CHoCH) simultaneously.
Instead of cluttering your chart with endless Fibonacci ratios and full-screen color zones, this indicator isolates only the levels that matter most to macro reversals. It seamlessly blends Higher Timeframe (HTF) context with internal structural confirmations, operating seamlessly on a Daily (D) HTF anchor by default, but fully customizable to Weekly or Monthly levels depending on your trading style.
🔥 Key Features & Innovations:
1. Dynamic HTF Anchoring & Projections
A primary vertical line automatically captures the exact High and Low range of the previous HTF period. This acts as your baseline liquidity and macro structure. From this anchor, the script projects Fibonacci data into the current live price action.
2. Two Distinct Drawing Models:
Model 2 (Phantom Projection - Default): A unique "clean chart" approach. It projects a phantom HTF candle far to the right of current price action, wrapping the Fibonacci levels and OTE boxes exclusively around this future candle. This allows you to monitor how the micro price action is interacting with macro levels without overlaying shapes over your current candles. The projection is drawn with mathematical pixel-perfect symmetry.
Model 1 (Classic Extension): Draws the Fibonacci levels and OTE boxes starting directly from the vertical anchor, stretching right alongside the price action.
3. Minimalist Fibonacci Architecture
Stripped-down logic to focus heavily on the 0.5 (Equilibrium), -0.618, and 1.618 levels. These specific reaction points are highlighted in solid colors to draw immediate attention for high-probability reversal setups.
4. OTE & Extreme Zones (Transparent Boxes)
Clean, transparent blue boxes elegantly highlight:
Inner Optimal Trade Entry Zones: (0.236 to 0.382) & (0.618 to 0.764)
Extreme Deviation Zones: (-0.382 to -0.618) & (1.382 to 1.618)
5. HTF Phantom Candle
Displays the live, currently developing HTF candle (Open, High, Low, Close) dynamically. If you are on a 15m chart, you can watch exactly what the Daily or Weekly candle looks like in real-time, perfectly centered within your Fibonacci parameters.
6. Integrated Market Structure (BOS / CHoCH)
No need for a secondary structural script. The indicator includes a highly optimized Market Structure engine running in the background.
It maps internal Break of Structure (BOS) and Change of Character (CHoCH) directly on your chart.
By default, unconfirmed "candidate" lines are hidden to keep your chart pristine. Once a level is broken (closing beyond the pivot by default), a solid line and a clear label are drawn retrospectively.
7. Extended Dotted Boundaries & VWAP
The 0.0 and 1.0 levels extend perfectly from the origin anchor all the way to the projected Fib levels, framing the macro range cleanly with labels indicating exact prices.
Includes an optional Anchored VWAP starting exactly from the HTF pivot open.
8. Auto-Adapting UI
The main vertical structure line automatically senses your chart background (light or dark mode) and adapts its color for maximum visibility.
💡 How to Use:
Use the prominent 0.5 equilibrium level to gauge the broader directional bias. When price travels into the outer extreme boxes (below -0.382 or above 1.382), look for exhaustion signals, liquidity sweeps, or a CHoCH confirmation from the internal Market Structure engine for high-probability reversal entries. The inner boxes act as standard retracement targets during trend continuation.
Toggle between Model 1 and Model 2 depending on whether you prefer an immersive overlay or an isolated projection on the right side of your screen. Indicator

Liquidity & Structure Toolkit [erdensedat] The Liquidity & Structure Toolkit is a comprehensive, all-in-one indicator designed for Smart Money Concepts (SMC), Volume Profile analysis, and overall market structure tracking. It aims to provide traders with a clear visual representation of liquidity zones, structural breaks, session balances, and high-volume nodes without cluttering the chart.
Below is a detailed breakdown of all the features, the math and logic behind the setups, the signal engine, and the alert systems included in this script.
1. Major Targets (Liquidity Pools - BSL/SSL)
The script identifies major structural high and low points that act as liquidity magnets (Buy Side Liquidity - BSL and Sell Side Liquidity - SSL).
Formula & Logic: It uses the ta.pivothigh() and ta.pivotlow() functions. A "Major Target" is confirmed only when the price forms a peak/valley with a user-defined Pivot Sensitivity (default is 10 bars on the left and right).
Visualization: When a major pivot is formed, a horizontal line and a label ("MAJOR BSL" or "MAJOR SSL") are drawn.
Sweep Mechanics: If the price crosses this level later, the level is considered "swept." The solid line turns into a dashed line with lower opacity, indicating that the liquidity has been taken. Swept levels are automatically removed after 24 hours to keep the chart clean.
2. Market Structure Breaks (BOS / CHoCH)
This module tracks internal and external structural shifts based on fractal highs and lows.
Logic: It calculates short-term pivots using a fractal length (default 5). When the price breaks above a recent pivot high, it's considered an upward break. When it breaks below a pivot low, it's a downward break.
BOS vs. CHoCH: The script intelligently labels the breaks based on the previous trend state. If the trend continues (e.g., up break followed by another up break), it labels it as BOS (Break of Structure). If the direction shifts (e.g., down break followed by an up break), it labels it as CHoCH (Change of Character).
Settings: You can choose whether a break requires a candle close beyond the level (Break = Close Beyond Level) or just a wick.
3. Initial Balance (IB) Box
The Initial Balance represents the price range established during the first specified minutes of a new trading session.
Setup: You define the Session Timeframe (e.g., Daily) and the IB Duration (e.g., the first 60 minutes).
Logic: The script tracks the highest high (IBH) and lowest low (IBL) during that initial window. Once the time window closes, the box extends to the right, serving as a dynamic support/resistance zone for the rest of the session.
Visualization: Highlights the IB High, IB Low, and IB Equilibrium (Midpoint) with clean labels and a customizable background box.
4. Volume Profile & POC Box (Point of Control)
A custom Volume Profile engine that calculates the highest volume node (POC) dynamically using lower timeframe data.
Lower Timeframe (LTF) Data: The script automatically fetches lower timeframe volume data (1m, 5m, 15m, or 60m depending on your chart's timeframe) to build an accurate profile inside a custom array matrix.
Rows/Bins: The session range is divided into horizontal bins (default 60). Volume is distributed among these bins based on where the LTF candles traded.
POC Engine Models:
Model 1 (Active POC): Displays the active, evolving POC of the current session as well as historical POCs from previous sessions. Uses a Hysteresis percentage (default 15%) to prevent the POC line from flickering rapidly; the new volume node must exceed the old POC by X% to shift the level.
Model 2 (Previous POC Focus): Instead of showing the actively changing current POC, it projects the finalized POC from the previous session starting from its original birth point, extending it across the current session as a heavy structural magnet.
Delta Lines: Inside the POC box, it plots the highest volume node and its immediate neighboring nodes (top, mid, bot) to show the thickness of the volume cluster.
5. Price Action & MSB Signal Engine
The script includes an automated signal engine that identifies highly probable reversal setups around the liquidity zones.
Price Action (PA) Signals: Triggered when the price "touches" or sweeps a Major BSL or SSL level, and subsequently prints a valid directional candle (e.g., sweeping SSL and printing a solid green candle that is not a Doji).
MSB (Market Structure Break) Signals: Triggered when the price sweeps a major liquidity level (BSL/SSL) and then creates a confirmed structural break (BOS/CHoCH) in the opposite direction.
Visualization: Triangle shapes are plotted above/below the signal candles (Green for Buy, Red for Sell).
6. Moving Averages & VWAP
For trend filtering and dynamic support/resistance, the toolkit includes optional traditional indicators:
VWAP: Session-based Volume Weighted Average Price.
Customizable MAs: Up to 5 moving averages can be toggled on/off. Supported types include SMA, EMA, WMA, HMA, and VWMA. Each can have its own length and color settings.
7. Alerts System
The indicator features a built-in alert system for the signal engine.
PA Signal Alert: Fires whenever a valid Price Action bounce occurs at a BSL/SSL level.
MSB Signal Alert: Fires whenever a structural reversal is confirmed after a liquidity sweep.
How to use: Create an alert in PulseWire, select this indicator, and choose "Any alert() function call".
Disclaimer
This indicator is for educational and analytical purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset. Past performance is not indicative of future results. Trading cryptocurrencies, forex, and stocks carries a high level of risk. Always perform your own backtesting, use proper risk management, and consult with a certified financial advisor before making any trading decisions. Indicator

Support Resistance Reversal [erdensedat]Overview
The Support Resistance Reversal is a highly advanced, institutional-grade Price Action and Liquidity Engine. Designed to filter out market noise, it focuses on tracking genuine liquidity sweeps, volatility compression, and momentum shifts. Instead of plotting a chaotic heatmap of every minor pivot, this system intelligently isolates only the most relevant unbroken structures to provide high-probability breakout and reversal signals.
Core Mechanics
The "Rule of 3" Target System: The indicator keeps the chart exceptionally clean by only displaying up to three active pairs of lines at any given time:
The latest freshly formed Pivot structure.
The closest historically unbroken Resistance (HH) above the current price.
The closest historically unbroken Support (LL) below the current price.
Double Layer Tracking: Each support/resistance is drawn as a double-layered zone (a solid line from the main pivot wick, and a dashed line from the subsequent confirmation candle). This allows the system to distinguish between minor liquidity sweeps (touching only the dashed line) and structural breaks (body closes beyond the solid line).
Fade-Out Memory: When a level is definitively broken by a candle body, it doesn't just disappear. It fades into a transparent state, acting as a historical footprint of where liquidity was absorbed.
Advanced Institutional Engines
Dynamic EQ (Equilibrium) Wall: The system calculates the exact midpoint (EQ) between the active Resistance and Support. Every time the price tests the EQ and fails to close beyond it, the EQ line thickens, visually representing a growing psychological barrier and liquidity compression.
POC Magnet (Point of Control): Within the active high/low range, the system dynamically tracks where the highest trading volume is occurring. This is plotted as a yellow dotted line, acting as the true gravitational center (magnet) of the current range, offering a prime Take Profit target.
FVG Imbalance Tracker: Automatically detects unmitigated Fair Value Gaps (FVGs) in the background. If a sweep signal occurs exactly inside one of these institutional voids, the signal is upgraded to an setup, indicating strong institutional backing.
MTF Liquidity Matrix: Projects Higher Timeframe (e.g., 4H) pivot structures directly onto your lower timeframe chart as thick dashed lines, ensuring you never trade blindly against macro liquidity pools.
Pro Features (Experimental Triggers)
These engines provide deep analytical insights into how a level is reacting, rather than just if it reacted:
Level Aging (Cold Breakouts): Tracks how long a level has been untouched. If a level survives for over 50 bars (customizable) and is finally broken, it fires a blue/fuchsia Diamond signal, indicating a "Vacuum Breakout" where old limit orders have decayed.
Volatility Spring (Compression): If the price remains trapped between the active top and bottom for a prolonged period, kinetic energy builds up. When the price finally breaks out, it prints a "SPRING" alert, catching violent volatility expansions.
Ghost Lines (Asymmetric Voids): Spots areas where the price reversed just before hitting your main liquidity lines. Plotted as purple dotted lines, these highlight hidden, front-run liquidity pockets.
High-Velocity Sweeps (Wick Velocity): Measures the wick-to-body ratio of rejection candles. If the price touches a line and violently rejects (leaving a massive wick and tiny body), it prints a yellow X-Cross, signaling aggressive institutional absorption.
Triple Sweep Exhaustion: If a dashed line is tested and rejected 3 times within a rapid 10-bar window, and the 3rd rejection candle has a healthy body size in the reversal direction, it triggers an immediate BUY/SELL text signal, anticipating an exhausted side of the market.
Dynamic Trendlines & Auto Risk/Reward
Upon confirming a valid setup, the system generates a Momentum Vector (Trendline) originating from the signal wick:
The line dynamically tracks the highs/lows of subsequent candles.
It automatically calculates the Risk/Reward (RR) ratio based on the entry close price, the wick stop-loss, and the opposing EQ/POC target.
Momentum Fading: If the trend loses momentum (slope flattens), the arrow and its label (showing "Strong" or "Weak" + RR) begin to fade out into transparency, keeping your chart clean from dead trades. Staggered labels prevent overlap during consecutive signals.
Strict Validation Rules
To prevent fake-outs, all standard triangle and text signals require strict candle body alignment:
BUY signals will only fire if the signal candle closes Green (Close > Open).
SELL signals will only fire if the signal candle closes Red (Close < Open).
Comprehensive Alert System
Fully modular alert conditions are built into the settings, allowing you to create custom server-side alerts for:
Standard Breakouts/Retests
Sweep & Reverses
High-Velocity Sweeps
Cold Level Breakouts
Triple Sweep Exhaustions
Simply set up a single "Confirmed Buy Alert" or "Confirmed Sell Alert" in PulseWire, and the engine will route the notifications based on your exact toggle preferences.
Disclaimer: This script is provided for educational and informational purposes only. It is not financial or investment advice. Trading in financial markets involves a significant risk of loss. Always perform your own backtesting, risk management, and due diligence before executing any trades using live capital. Past performance is not indicative of future results. Indicator

HTF Candle TerminalTitle: HTF Candle Terminal: Advanced Institutional Volume & Range Engine
Description:
Welcome to the HTF Candle Terminal – a complete, institutional-grade toolkit designed to bridge the gap between Higher Timeframe (HTF) market structure and Lower Timeframe (LTF) execution.
This indicator acts as a real-time trading terminal directly on your chart, projecting higher timeframe data, volume clusters, volatility bands, and dynamic price zones so you never lose track of the macro trend while executing on the micro level.
What does it do?
Instead of switching back and forth between timeframes, the HTF Candle Terminal anchors itself to a Higher Timeframe of your choice (e.g., 4-Hour, Daily). Once a new HTF session begins, the terminal starts mapping the battlefield in real-time, calculating institutional volume, statistically probable ranges, and liquidity sweeps.
🔥 Core Features (A to Z)
1. Live HTF Candle Projection
To the right of the current price action, the indicator draws a live, constantly updating "Macro Candle." This gives you an instant visual representation of what the higher timeframe candle looks like (Open, High, Low, Close) without ever leaving your current chart. Accompanying the candle is a real-time trend status (e.g., "Very Strong Bullish" or "Bearish") based on how price is behaving relative to the HTF Open and Volume Nodes.
2. Dynamic Volume Profiling & POC (Point of Control)
The terminal tracks every drop of volume from the moment the HTF candle opens.
Bull/Bear Zones: It creates distinct bullish (above open) and bearish (below open) volume zones.
Split POC: It isolates the highest volume node for buyers (Short Line) and sellers (Long Line).
Zone Breakouts: If price decisively breaks and closes through a POC line from the opposite side, it invalidates that volume node, dynamically clearing the map to signal a strong directional shift.
Auto Row Size: The script includes an intelligent algorithm that automatically calculates the perfect row/tick size for the volume profile based on the volatility of the previous HTF candle.
3. Statistical Range Projections (Excursions)
How far did the last HTF candle travel from its open? The terminal mathematically measures the percentage expansion of the previous HTF candle and projects those exact percentages (e.g., +1.25%, -0.80%) onto the current candle's open. This gives you highly accurate, historically-backed target zones for the current session.
4. HTF ATR & ADR Projections (Volatility Boundaries)
Knowing where price should stop is just as important as knowing where it is going.
ATR (Average True Range): Projects the HTF's current True Range (+/- 0.5 ATR by default) from the open price, giving you realistic daily/session volatility boundaries.
ADR (Average Daily Range): Projects the chart's average daily movement anchored to the HTF open. When price hits these outer bands, it signals mathematical exhaustion—perfect for take-profit targeting or mean-reversion setups.
5. Liquidity Sweep Detection (PH & PL)
The script draws dashed lines representing the Previous HTF High (PH) and Previous HTF Low (PL). If the current price action pokes through these levels but fails to hold, the terminal instantly marks the chart with a precise "✖" label, alerting you to a potential liquidity sweep/hunt.
6. HTF Anchored VWAP
An optional (toggleable) Volume Weighted Average Price anchored precisely to the start of the HTF candle. This acts as the ultimate institutional "fair value" baseline. If price is above the VWAP, momentum is confirmed bullish; if below, bearish.
💡 How to Use the Terminal in Your Trading
Trade the Open: The most critical level is the dashed HTF Open line. Treat it as the equator. Longs above, shorts below.
Target the Extremes: Use the Excursion lines, ATR, and ADR bands as your primary Take-Profit (TP) zones. When price reaches these levels, the market is mathematically overextended.
Watch the POCs: The Bull and Bear POC lines act as heavy magnets. If price is returning to the open, watch for bounces off the POC. If a POC is broken, ride the momentum in the direction of the break.
Trade the Sweeps: Look for an "✖" marker at the PH or PL lines. A sweep combined with a rejection back into the HTF Open zone is one of the highest probability reversal setups available.
⚙️ Full Customization
Every element is built to be customized. Change the colors of the HTF candle, adjust global label sizes, toggle VWAP/ATR/ADR on or off, and tweak the transparency of historical boxes to keep your chart perfectly clean.
Developed with precision for structural and quantitative traders.
© erdensedat Indicator

Liquidity Grab & PRL Engine [erdensedat]Liquidity Grab & PRL Engine
Overview
The Liquidity Grab & PRL Engine is a highly advanced, institutional-grade market structure indicator designed to identify macro liquidity sweeps, track wick rejections, and pinpoint high-probability trend reversals. Instead of relying on lagging indicators, this engine reads raw price action and liquidity pools to catch the exact moment a trend is exhausted and ready to reverse.
It comes equipped with an automated trade setup generator (Entry, SL, and TP zones) and a built-in backtesting panel to track your daily and all-time win rates in real-time.
Core Concepts & How It Works
1. Macro Liquidity Pools
The algorithm constantly scans the chart for significant structural pivots (Macro Highs and Lows). Once a major pivot is identified, it draws an unmitigated "Macro Liq" (Orange dashed line) representing a structural liquidity pool. Retail traders often place their stop losses at these levels, making them a magnet for institutional price delivery.
2. Liquidity Grab Zone (The Trap)
When the price breaks a Macro Liquidity line, the indicator does not immediately signal a continuation. Instead, it marks the breakout candle as a "Liq Grab Zone". This assumes the breakout might be a fake-out designed to hunt stops (a sweep) before a reversal.
3. PRL (Possible Reversal Line) Tracking
This is where the magic happens. After a Liquidity Grab, the engine activates its dynamic wick-tracking system:
It anchors a tracking line to the absolute high/low of the grab candle.
As long as consecutive candles keep pushing the extreme (higher highs or lower lows), the slope line follows the price tightly.
The Reversal Signal: The moment a confirmed candle fails to break the previous extreme (a shorter wick), the tracking stops. A solid, horizontal PRL (Possible Reversal Line) is instantly born. This flat line indicates that the liquidity sweep is over, momentum has shifted, and a reversal is imminent.
4. Automated Trade Setups & Dynamic Fibo Engine
Once a PRL is confirmed, the engine automatically generates a full trade setup:
Entry Level: The exact price of the PRL formation.
TP 1 Zone: A semi-transparent target box dynamically calculated using hidden Fibonacci logic (0.618 to 0.764) based on the distance between the grab and the previous macro level.
Stop Loss (SL): A dynamic invalidation line calculated using an adjustable multiplier (default: -0.25) beyond the extreme wick.
Smart Display: Only the most recent setup is tracked dynamically across the chart. Past setups are frozen exactly where they hit TP, SL, or were invalidated by a new setup, leaving a clean historical footprint.
5. Pro Winrate & Performance Panel
The indicator acts as its own backtester. A sleek, non-intrusive UI panel tracks every executed setup in the background:
Live Status: Tells you if a trade is "Awaiting Setup", "Active", "TP Hit", or "SL Hit".
Daily Stats: Tracks today's closed trades, Win/Loss ratio, and total R-R flow (Risk-to-Reward accumulation).
All-Time Stats: Calculates the overall Win Rate of the strategy, automatically changing color (Green/Red) based on profitability.
6. MA Trend Filter (Optional)
For traders who prefer trading with the higher timeframe trend, there is an optional Moving Average filter (default: 200 EMA). When enabled, the engine will only validate Long setups if the price is above the MA, and Short setups if the price is below the MA, drastically increasing the quality of the signals.
How to Use It
Wait for the price to sweep a Macro Liq line and print a Liq Grab Zone.
Watch the dashed tracking line follow the wicks.
Wait for the solid PRL line to form (Confirmed Reversal).
Execute the trade at the Entry Level, place your stop at the SL Line, and target the TP Zone.
Disclaimer
This indicator is for educational and informational purposes only. Trading in financial markets involves a high degree of risk and may not be suitable for all investors. The automated setups and win rates displayed by this tool are based on historical price action and mechanical algorithms; they do not guarantee future results. Always perform your own analysis, practice strict risk management, and never trade with money you cannot afford to lose. The author (erdensedat) assumes no responsibility for any trading losses incurred while using this script. Indicator

Helios Volatility Atlas [JOAT]Helios Volatility Atlas
Introduction
Helios Volatility Atlas is an open-source regime and volatility mapping indicator. It combines an adaptive baseline, DMI/ADX trend strength, volatility scoring, VWAP sigma bands, premium/discount structure, squeeze detection, retest zones, right-side level rails, and a top-right dashboard.
The problem Helios addresses is market context. A trend signal means something different in compression than it does during expansion. A retest means something different near discount than it does at an outer volatility channel. Helios brings those layers into one chart so users can interpret price action with regime, volatility, and location in view.
Core Concepts
1. Adaptive Baseline
The baseline blends an EMA-style trend component with an efficiency-ratio adaptive component. When price moves efficiently, the adaptive side reacts more. During choppy movement, the baseline becomes slower and more stable.
2. Volatility Score
ATR is compared against its own moving average and standard deviation. The result is normalized into a 0-100 volatility score so the dashboard can distinguish low, moderate, and high volatility states.
3. Institutional Channels
Helios draws a channel around a mean using ATR-based distances. Inner channels describe normal volatility, while outer pockets mark more extended price areas where reversion or continuation context may matter.
4. Squeeze and Expansion State
The squeeze model compares a Bollinger-style width against a Keltner-style width. When compression releases, the chart highlights a transition from low-energy conditions into expansion.
5. Retest Zones and Rails
Confirmed retests can create projected zones. Right-side rails label important live references such as baseline, VWAP, channels, premium/discount levels, and previous day levels.
Features
Adaptive baseline: Blends trend-following and efficiency-aware smoothing
Volatility score: Converts ATR expansion/compression into a dashboard value
Trend cloud: Fills the space between baseline and VWAP
VWAP sigma bands: Shows price stretch around VWAP
Premium/discount map: Uses a rolling anchor range with equilibrium, discount, and premium levels
Squeeze detection: Highlights compression and release states
Retest zones: Projects confirmed bullish and bearish retest areas
Right-side rails: Labels baseline, VWAP, channels, premium/discount, and day levels
Theme presets: Includes Helios, Consensus Aqua, Sentinel Neon, and Cobalt Risk color families
Top-right dashboard: Shows regime, bias, volatility, squeeze, channel, VWAP sigma, price state, and key levels
Input Parameters
Core Engine:
Adaptive Baseline Length
Efficiency Lookback
ATR Length
ADX / DMI Length
Volatility Window
Volatility System:
Channel Memory
Base Channel ATR Multiple
Outer Channel ATR Multiple
Squeeze Length
Squeeze BB and KC multipliers
Display:
Show Trend Cloud
Show VWAP Sigma Bands
Show Retest Zones
Show Right-Side Level Rails
Theme Preset
Dashboard Text Size
How to Use This Indicator
Step 1: Read the regime
The dashboard classifies the current state as bullish, bearish, expansion, or range.
Step 2: Check volatility
Use the volatility score and squeeze row to decide whether the market is compressed or expanding.
Step 3: Compare price to VWAP and channels
VWAP sigma and ATR channels show whether price is near value, stretched, or reverting from an outer area.
Step 4: Use retest zones as context
Retest zones mark recent confirmed reactions. They are contextual levels, not automatic entries.
Indicator Limitations
Adaptive baselines can lag during sudden reversals
Squeeze release does not define direction by itself
Retest zones can fail in strong momentum conditions
Higher volatility symbols may require adjusted ATR/channel settings
Originality Statement
Helios Volatility Atlas combines adaptive trend state, DMI/ADX confirmation, ATR volatility scoring, VWAP sigma distance, squeeze detection, premium/discount location, projected retest zones, and right-edge rails into a single open-source Pine v6 regime atlas. The components are designed to work as one context engine, not as a loose mashup.
Disclaimer
This script is for educational and informational use only. It is not financial advice and does not predict future price direction. Use independent analysis and risk management.
-Made with passion by jackofalltrades
Indicator

Prev Day & Week Levels with Extensions (Historical)Overview
This indicator automatically plots key historical levels from the Previous Day and Previous Week, including high, low, and equilibrium (midpoint) levels. It is designed for intraday traders who use daily and weekly price ranges to identify potential support, resistance, and mean-reversion zones.
Key Features
Fibonacci Extensions: Beyond the standard H/L/Mid levels, it automatically calculates and plots extension levels (150%, 200%, -150%, and -200%) based on the prior period's range.
Dynamic Labels: All levels are clearly labeled on the right side of the chart with their specific price values for quick reference.
Historical Tracking: Includes an option to toggle between showing only the current active levels or keeping historical levels on the chart to analyze past reactions.
Clean Visuals: Fully customizable colors and line styles (solid, dashed, or dotted) to match any chart theme.
Indicator

Chandelier Exit Oscillator + State MappingAt its core, this script is built on a Chandelier Exit-style ATR stop-and-flip engine. The difference is that instead of leaving that framework only in price space, this indicator converts the active side and the opposite-side extension into a normalized oscillator. In other words, this takes the same Chandelier Exit structure that can define trend state and stretch on a chart, then re-expresses that structure in a separate pane so it can be read in a different way. Rather than only asking where price is relative to a trailing stop, this script asks where price is progressing inside the current active-to-extension range and how that progression is behaving.
That is what makes this more than a standard Chandelier Exit view. It does not just plot a stop and a flip. It takes the current main multiplier structure, builds a directional channel from the active side to the opposite-side extension, and maps that channel into oscillator space. That creates a normalized way to read state, stretch, and internal zone behavior across both bullish and bearish conditions.
The script includes two mapping modes.
1) Geometry mode preserves the channel relationship more literally:
active level = -100
midpoint = 0
extension = +100
2) State-Weighted mode keeps the same Chandelier framework but biases the oscillator by active direction, so bullish regimes tend to live above 0 and bearish regimes tend to live below 0. In that mode, 0 behaves less like a simple midpoint and more like a directional boundary.
From there, the script adds three secondary Chandelier Exit multipliers, which by default are 2.5, 5.0, and 7.5. These are not separate indicators bolted onto the script for the sake of adding features. They are additional Chandelier Exit branches derived from the same underlying ATR stop-and-flip logic. Their active levels are remapped into the same oscillator space so they can act as internal zone references inside the broader main channel.
That matters because not every move waits until a full extension is reached before reacting. Sometimes price begins to stall, react, or accelerate from a smaller internal multiplier zone first. These secondary CE layers help organize that behavior into a readable internal structure instead of forcing everything to be judged only from the full outer stretch.
The script also gives multiple ways to view the same oscillator state. You can keep it simple with the main oscillator line, or display histogram columns, synthetic oscillator candles, guide rails, and extreme zones. There is also an optional price-overlay candle mode, which colors the chart candles using the same oscillator color engine so the chart view and pane view remain visually connected.
To help with context, the script also includes:
➖an HTF oscillator reference line
➖an oscillator volume-weighted average
➖adaptive fast/slow crossover lines
➖a standalone SMA 20/50 crossover engine
➖a current-state table
➖optional alerts for zero-line crosses and adaptive fast/slow crosses
These features are there to help interpret the same core Chandelier Exit structure in oscillator form. They are not separate systems with separate foundations. The main idea stays consistent throughout the script: use a CE-style ATR framework as the base, then translate it into a pane-based state and extension model that is easier to compare, normalize, and monitor over time.
A practical way to read it:
➡️ In a bullish state, the active main CE side becomes the lower anchor and the opposite-side extension becomes the upper anchor. The oscillator shows how far price is progressing through that structure.
➡️ In a bearish state, the structure flips. The active main CE side becomes the upper anchor and the opposite-side extension becomes the lower anchor.
➡️ The secondary CE multiplier zones help show where internal support/resistance-style reaction areas may begin to matter before price reaches the full outer stretch.
➡️ In Geometry mode, 0 is the midpoint of the mapped channel. In State-Weighted mode, 0 behaves more like a directional dividing line between bullish and bearish conditions.
One of the main reasons I made this was to create a true companion to my overlay script, Chandelier Exit Reaction Zones + Fib Levels. That script keeps the structure directly on price. This oscillator takes the same general Chandelier Exit framework and expresses it in normalized pane form. Used together, the overlay script helps show where the structure sits on the chart, while this oscillator helps show how price is progressing through that same structure, how internal zones are behaving, and whether the move still looks orderly inside the current channel. They work well as a package because one gives the price-space view and the other gives the pane-space view of the same broader idea.
This is not meant to predict reversals by itself, and it is not intended to be treated as a standalone signal machine. The way I use it is more practical:
➖to frame where price is stretched
➖to judge whether price is still progressing through the current CE channel or starting to stall
➖to see whether the move is only testing an internal multiplier zone or approaching a full extension
➖to compare current oscillator behavior against HTF context and crossover behavior
Bar Replay is especially useful here. Watching the script one bar at a time makes it much easier to see how the CE state flips, how the oscillator remaps around those flips, and when the internal multiplier zones begin to matter before a larger stretch is completed.
Like the companion overlay version, this works best with confluence. Volume, RSI, structure, trend context, support/resistance, and broader market conditions can all help decide whether an extended move is more likely to continue, react, or fully reverse. The value of this script is not that it replaces those tools. The value is that it gives the Chandelier Exit framework a second, more normalized expression that can make state, extension, and internal zone behavior easier to read.
A few examples showing bullish and bearish charts:
Indicator

Chandelier Exit Reaction Zones + Fib LevelsAt its core, this script is built on a Chandelier Exit-style ATR stop-and-flip engine. The difference is that instead of stopping at a single trailing stop, it expands that framework into a full ladder: the multiplier 10 level becomes the primary anchor, the opposite-side multiplier 10 level becomes the extension anchor, and the space between them is mapped with a fib channel. Optional Chandelier Exit multipliers of 5.0 and 7.5 reaction zones add another layer of context for tracking how price behaves before it reaches the full multiplier 10 stretch.
The main idea is simple: markets often react when price gets extended, but not every extension behaves the same way. Sometimes price reaches an ATR threshold and reverses. Sometimes it reaches the same area and continues. This script is meant to organize that behavior into a structure you can read quickly. The Chandelier Exit engine provides the directional framework, while the ladder, fib channel, and reaction zones help show where price is stretched, where it is progressing through the channel, and where a reaction may be worth paying closer attention to.
At a high level, the script does three things. First, it identifies the current active ATR 10 side and the opposite ATR 10x extension. Second, it divides that space into a structured ladder using fib-based levels. Third, it can overlay ATR 5.0 and 7.5 reaction zones so you can see when price is pressing into an intermediate reaction area instead of only waiting for the full ATR 10 test.
A few examples of how to read it:
➡️In a bullish state, the active ATR 10 line acts as the lower anchor and the ATR 10x extension becomes the upper stretch line. The fib ladder shows how far price has progressed through that channel.
➡️In a bearish state, the structure flips. The active ATR 10 line becomes the upper anchor and the ATR 10x extension becomes the lower stretch line.
The optional ATR 5.0 and 7.5 reaction zones add another layer of context. They are useful when price is not yet at the full ATR 10 extreme but is already entering a part of the move where reaction risk is increasing.
➡️The reaction zones table is there to make the state logic visible. It shows the current main multiplier's direction, the latest flip state, the 5.0 / 7.5 reaction directions, and whether those reaction branches are actively contributing to the fill.
This is not meant to predict reversals by itself. The way I use it is more practical: it helps frame where price is stretched, where a move is still developing, and where a reaction may deserve closer attention. The value here is the structure, not a guaranteed signal.
The script also includes state-aware touch alerts for the active ATR 10 level and the ATR 10x extension. Those alerts are not entry signals on their own. They are meant to notify you when price has reached an area that may deserve a decision: continuation, reaction, or invalidation.
Bar Replay
Bar Replay is especially useful with this script. Stepping through price one bar at a time makes it much easier to see how the multiplier 10 ladder flips, how the fib channel reorients, and when the 5.0 / 7.5 reaction zones begin to matter. That can help traders understand the structure in motion instead of only judging it from a finished chart.
Confluence
This script is not meant to be used in isolation. It works best as a structural framework alongside other tools such as RSI, MACD, trend context, volume, and support/resistance. The ladder and reaction zones help define where price is stretched; confluence helps decide whether that stretch is more likely to lead to continuation, reaction, or reversal.
This is an open-source tool, so the goal is transparency and flexibility. Traders can keep it simple and use only the main ATR 10 ladder, or add the fib channel, reaction zones, candle coloring, alerts, and table for more context. The core idea stays the same either way: use a Chandelier Exit-style ATR framework to map stretched price conditions with a consistent structure.
Here's a few additional chart examples:
Indicator

Harmonic Resonance Detector [JOAT]Harmonic Resonance Detector
Introduction
The Harmonic Resonance Detector is an advanced open-source Fibonacci analysis indicator that combines multi-wave Fibonacci retracements, confluence zone detection, golden ratio harmonics, and density heatmapping into a unified harmonic analysis system. This indicator helps traders identify high-probability reversal and continuation zones by analyzing where multiple Fibonacci levels from different swing waves converge, creating magnetic price attraction zones.
Unlike basic Fibonacci tools that draw levels from a single swing, this system analyzes three simultaneous swing waves (primary, secondary, tertiary) and identifies where their Fibonacci levels cluster. These confluence zones represent areas where multiple timeframes and swing structures agree on key levels, significantly increasing the probability of price reaction. The indicator is designed for traders who understand that Fibonacci levels work best when multiple waves confirm the same price zone.
Why This Indicator Exists
This indicator addresses a fundamental limitation of traditional Fibonacci analysis: single-swing Fibonacci levels are subjective and often unreliable. Different traders draw different swings and get different levels. By combining multiple swing analyses and identifying confluence, this indicator reveals:
Triple Swing Analysis: Analyzes three different swing lengths simultaneously (20, 50, 100 periods) to capture short, medium, and long-term structure
Confluence Zone Detection: Identifies where multiple Fibonacci levels cluster within tolerance - these zones act as price magnets
Golden Pocket Highlighting: Marks the 0.618-0.65 retracement zone - the highest probability reversal area based on golden ratio
Fibonacci Extensions: Projects 1.272, 1.414, and 1.618 extension levels for profit targets beyond the swing range
Density Heatmap: Visual representation of Fibonacci level concentration - darker colors = more confluence
Liquidity Sweep Detection: Identifies when price breaks highs/lows but closes back inside - signals institutional traps
Each component provides a different lens on harmonic structure. Triple swing analysis shows multi-timeframe agreement, confluence zones show magnetic levels, golden pocket shows optimal entry, extensions show targets, heatmap shows density, and sweeps show manipulation. Together, they create a comprehensive view of harmonic resonance.
Core Components Explained
1. Triple Swing Fibonacci Analysis
The indicator calculates Fibonacci retracements from three different swing lengths simultaneously:
// Calculate swing high/low for each period
swingHigh1 = ta.highest(high, 20) // Primary wave
swingLow1 = ta.lowest(low, 20)
swingHigh2 = ta.highest(high, 50) // Secondary wave
swingLow2 = ta.lowest(low, 50)
swingHigh3 = ta.highest(high, 100) // Tertiary wave
swingLow3 = ta.lowest(low, 100)
// Calculate Fibonacci levels for each swing
fib1 = calculateFibs(swingHigh1, swingLow1)
fib2 = calculateFibs(swingHigh2, swingLow2)
fib3 = calculateFibs(swingHigh3, swingLow3)
For each swing, the indicator calculates standard Fibonacci retracement levels:
23.6% - Shallow retracement, weak pullback
38.2% - Moderate retracement, common in strong trends
50.0% - Equilibrium level, psychological significance
61.8% - Golden ratio, highest probability reversal zone
78.6% - Deep retracement, last chance before trend failure
By analyzing three different swing lengths, the indicator captures short-term, medium-term, and long-term structure simultaneously. When levels from all three swings align, it creates powerful confluence.
2. Confluence Zone Detection
The indicator identifies zones where multiple Fibonacci levels cluster within a tolerance percentage:
confluenceTolerance = 0.3 // Default 0.3%
// For each Fibonacci level, count how many other levels are nearby
for each level in allFibLevels:
confluenceCount = 0
for each otherLevel in allFibLevels:
if abs(level - otherLevel) / level * 100 <= confluenceTolerance:
confluenceCount += 1
if confluenceCount >= 3: // Minimum 3 levels clustering
createConfluenceZone(level, confluenceCount)
Confluence zones are displayed as:
Horizontal boxes spanning the tolerance range
Color intensity based on confluence count (4+ levels = red, 3 levels = orange, 2 levels = yellow)
Labels showing "3x CONFLUENCE", "4x CONFLUENCE", etc.
Thicker borders for higher confluence zones
The more Fibonacci levels that converge at a price zone, the stronger the magnetic effect. 4x or 5x confluence zones are extremely high-probability reaction areas.
3. Golden Pocket Visualization
The Golden Pocket is the zone between 0.618 and 0.65 Fibonacci retracement - the highest probability reversal area:
fib618 = swingLow + (swingHigh - swingLow) * 0.618
fib650 = swingLow + (swingHigh - swingLow) * 0.650
goldenTop = max(fib618, fib650)
goldenBottom = min(fib618, fib650)
The Golden Pocket is special because:
Based on the golden ratio (phi = 1.618), found throughout nature and markets
Represents optimal balance between retracement depth and trend continuation
Historically shows highest win rate for reversal trades
Often coincides with institutional order placement zones
The indicator highlights the Golden Pocket with:
Multi-layer gradient gold box
"GOLDEN POCKET" label at center
Enhanced candlestick coloring when price is inside (gold for bullish, brown for bearish)
Background gradient when price enters the zone
4. Fibonacci Extensions
Extensions project levels beyond the swing range for profit targets:
// Extension levels
ext1272 = swingLow + (swingHigh - swingLow) * 1.272
ext1414 = swingLow + (swingHigh - swingLow) * 1.414
ext1618 = swingLow + (swingHigh - swingLow) * 1.618
Extension levels represent:
127.2% - First extension target, common profit-taking zone
141.4% - Square root of 2, geometric harmony level
161.8% - Golden ratio extension, major target zone
Extensions are drawn as dashed lines with purple gradient colors. They show where price is likely to find resistance after breaking through the swing high (or support after breaking swing low).
5. Confluence Density Heatmap
The heatmap visualizes Fibonacci level concentration across the price range:
The indicator:
Divides the recent price range into 20 grid cells
Counts how many Fibonacci levels fall into each cell
Colors cells based on density (blue = low, red = high)
Displays as vertical bars on the left side of the chart
The heatmap reveals:
Zones with highest Fibonacci concentration (darkest red)
Gaps where few Fibonacci levels exist (blue or empty)
Vertical distribution of harmonic structure
Quick visual reference for key zones
Traders can quickly identify the most important price levels by looking for the darkest red cells in the heatmap.
6. Liquidity Sweep Detection
Liquidity sweeps occur when price breaks a swing high/low but closes back inside the range - a classic institutional trap:
// Detect sweep: high breaks previous swing high but close is below it
liquiditySweepHigh = high > prevSwingHigh and close < prevSwingHigh
// Detect sweep: low breaks previous swing low but close is above it
liquiditySweepLow = low < prevSwingLow and close > prevSwingLow
When sweeps occur:
Dashed horizontal line marks the swept level
"LIQ SWEEP" label appears
Often precedes reversal as institutions trapped retail traders
Combines with Fibonacci confluence for high-probability setups
Liquidity sweeps at Fibonacci confluence zones are especially powerful - they signal institutional positioning complete and reversal imminent.
7. Equilibrium Boxes (EQH/EQL)
Equilibrium boxes mark 50% retracement zones throughout the chart:
The indicator:
Identifies significant ranges throughout lookback period
Calculates 50% level (equilibrium) for each range
Draws grey boxes around equilibrium with dashed center line
Labels with "EQH" (Equal Highs) marker
Equilibrium zones represent fair value and often act as support/resistance. Price tends to gravitate toward equilibrium before continuing or reversing.
Visual Elements
Fibonacci Lines: Dotted lines at 23.6%, 38.2%, 50%, 61.8%, 78.6% with color coding
Extension Lines: Dashed purple lines at 127.2%, 141.4%, 161.8%
Confluence Zones: Horizontal boxes with intensity-based coloring and count labels
Golden Pocket: Multi-layer gradient gold box with center label
Density Heatmap: Vertical gradient bars showing Fibonacci concentration
Liquidity Sweeps: Dashed lines with "LIQ SWEEP" labels
Equilibrium Boxes: Grey boxes with dashed center lines and "EQH" labels
Enhanced Candles: Gold/orange coloring in Golden Pocket, red/green at confluence zones
Background Gradients: Premium zone (red), Discount zone (green), Golden Pocket (gold)
Dashboard: Real-time confluence metrics and trade signals
The dashboard displays 8 key metrics:
1. Active Zones (count of confluence zones)
2. Peak Confluence (highest confluence count)
3. Nearest Zone (distance to closest confluence)
4. Magnetic Pull (Extreme/Strong/Moderate/Weak)
5. Golden Zone (Active/Inactive)
6. Heatmap Density (total Fibonacci levels)
7. Trade Signal (Sniper Entry/Valid Setup/Wait)
Input Parameters
Harmonic Waves:
Primary Wave: First swing length (default: 20)
Secondary Wave: Second swing length (default: 50)
Tertiary Wave: Third swing length (default: 100)
Golden Pocket: Enable 0.618-0.65 zone highlighting
Confluence Engine:
Resonance Tolerance: Percentage range for confluence (default: 0.3%)
Min Harmonic Count: Minimum levels required for confluence (default: 3)
Magnetic Zones: Enable/disable confluence zone boxes
Visualization:
Fibonacci Levels: Show/hide retracement lines
Confluence Zones: Show/hide confluence boxes
Density Heatmap: Show/hide vertical heatmap
Extensions: Show/hide 1.272, 1.414, 1.618 levels
Equilibrium Boxes: Show/hide EQH zones
Liquidity Sweeps: Show/hide sweep markers
Gradient Backgrounds: Show/hide value zone colors
Enhanced Candlesticks: Enable special candle coloring
How to Use This Indicator
Step 1: Identify Confluence Zones
Look for horizontal boxes with "3x CONFLUENCE" or higher labels. These are magnetic zones where price is likely to react. 4x+ confluence = highest probability.
Step 2: Check Golden Pocket Status
Dashboard shows if Golden Pocket is active. When price enters the golden zone (0.618-0.65), it's optimal reversal area. Candles turn gold.
Step 3: Monitor Nearest Zone Distance
Dashboard shows distance to nearest confluence. <0.5% = price is at the zone. <1.0% = approaching. >2.0% = far away.
Step 4: Assess Magnetic Pull Strength
Dashboard shows pull strength. "EXTREME" = 4+ confluence within 0.5%. "STRONG" = 3+ confluence within 1.0%. Trade extreme and strong only.
Step 5: Watch for Liquidity Sweeps
When price sweeps a high/low at a confluence zone and reverses, it's a sniper entry. Institutions trapped retail and are now reversing.
Step 6: Use Extensions for Targets
After entry at confluence zone, use extension levels (127.2%, 141.4%, 161.8%) as profit targets. These are natural resistance/support zones.
Step 7: Check Trade Signal
Dashboard shows "SNIPER ENTRY" when price is within 0.5% of 4+ confluence. "VALID SETUP" for 3+ confluence within 1.0%. "WAIT" otherwise.
Best Practices
Higher confluence = higher probability - prioritize 4x+ zones
Golden Pocket + confluence = best reversal setups
Liquidity sweeps at confluence zones = institutional positioning
Use heatmap for quick visual reference of key zones
Extensions work best after confluence zone holds
Equilibrium boxes show fair value - expect gravitational pull
Premium/discount background shows context - buy discount, sell premium
Enhanced candles signal when price is at key zones
Multiple timeframe confluence (all three swings) = strongest setups
Confluence zones can act as support after breaking resistance (and vice versa)
Indicator Limitations
Fibonacci analysis is subjective - different swing selections produce different levels
Confluence zones show where levels cluster, not guaranteed reversals
Golden Pocket doesn't always hold - strong trends can blow through it
Liquidity sweeps can extend further than expected (double sweeps)
Heatmap density doesn't account for level importance (all levels weighted equally)
Extensions may not be reached in weak trends
Tolerance setting affects confluence detection - too tight misses zones, too wide creates false zones
The indicator shows harmonic structure, not fundamental drivers
Confluence zones can fail during news events or market shocks
Technical Implementation
Built with Pine Script v6 using:
Triple swing Fibonacci calculations with automatic trend detection
Confluence detection algorithm with tolerance-based clustering
Golden Pocket identification and highlighting system
Fibonacci extension projections (1.272, 1.414, 1.618)
Density heatmap with grid-based level counting
Liquidity sweep detection with close confirmation
Equilibrium box generation throughout chart history
Enhanced candlestick coloring based on zone proximity
Multi-gradient background system for value zones
Real-time dashboard with 8 harmonic metrics
The code is fully open-source and can be modified to suit individual trading styles and preferences.
Originality Statement
This indicator is original in its comprehensive harmonic integration approach. While individual components (Fibonacci retracements, golden ratio, extensions) are established concepts, this indicator is justified because:
It synthesizes three simultaneous swing analyses into unified confluence detection
The confluence algorithm identifies clustering zones with configurable tolerance
Golden Pocket highlighting with enhanced visualization and candlestick coloring
Density heatmap provides visual representation of Fibonacci concentration
Liquidity sweep detection combines with Fibonacci zones for trap identification
Equilibrium box system marks fair value zones throughout chart history
Multi-gradient background system shows premium/discount context
Magnetic pull strength quantification based on confluence and proximity
Real-time dashboard presents 8 metrics simultaneously for holistic harmonic analysis
Each component contributes unique information: Triple swings show multi-timeframe structure, confluence shows magnetic zones, golden pocket shows optimal entry, extensions show targets, heatmap shows density, sweeps show manipulation, and equilibrium shows fair value. The indicator's value lies in presenting these complementary perspectives simultaneously with unified classification and actionable trade signals.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss and is not suitable for all investors.
Fibonacci analysis is a tool for identifying potential support and resistance zones, not a crystal ball for predicting future price movement. Confluence zones do not guarantee reversals. Golden Pocket does not guarantee entries. Extensions may not be reached. Past harmonic patterns do not guarantee future harmonic patterns. Market conditions change, and strategies that worked historically may not work in the future.
The zones displayed are analytical constructs based on current market data, not predictions of future price movement. High confluence scores do not guarantee profitable trades. Users must conduct their own analysis and risk assessment before making trading decisions.
Always use proper risk management, including stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose. Consider consulting with a qualified financial advisor before making investment decisions.
The author is not responsible for any losses incurred from using this indicator. Users assume full responsibility for all trading decisions made using this tool.
-Made with passion by officialjackofalltrades Indicator

Structural Pivot Mapper [JOAT]Structural Pivot Mapper
Introduction
The Structural Pivot Mapper (SPM) is an advanced open-source structural analysis indicator that combines W/M pattern detection, dynamic support/resistance level mapping, pivot point analysis, volume profile integration, and break-retest detection to identify institutional structural pivots and key price levels. This indicator reveals market structure through systematic detection of swing highs/lows, classical chart patterns, and volume-based price levels, providing traders with a comprehensive structural framework for identifying high-probability entry and exit zones.
Unlike basic pivot indicators that simply mark swing points, SPM employs sophisticated pattern recognition algorithms to detect W patterns (bullish reversal), M patterns (bearish reversal), Head & Shoulders formations, and tracks level strength through touch counting and volume analysis. The indicator automatically manages support/resistance levels, removes outdated levels, and highlights Point of Control (POC) from volume profile analysis to show where institutional activity is concentrated.
Why This Indicator Exists
This indicator addresses the challenge of identifying key structural levels where institutional players are likely to defend positions or initiate new trades. Market structure provides the framework for understanding price behavior, and SPM systematically reveals:
W/M Pattern Detection: Identifies classical reversal patterns with strict validation rules
Dynamic Support/Resistance: Tracks pivot-based levels with automatic strength scoring
Level Touch Counting: Quantifies level importance through historical price interaction
Volume Profile Integration: Identifies Point of Control (POC) where maximum volume traded
Break & Retest Detection: Monitors level breaks and subsequent retests for confirmation
Head & Shoulders Patterns: Detects both regular and inverse H&S formations
Smart Level Management: Automatically removes weak levels and maintains only strongest
Each component provides unique intelligence. W/M patterns show reversal zones, pivots show swing structure, touch counting shows level strength, volume profile shows institutional interest, break-retest confirms level validity, and H&S patterns show major reversals.
Core Components Explained
1. W Pattern Detection (Bullish Reversal)
SPM detects W patterns through systematic analysis of 5 pivot points (A-B-C-D-E):
f_detect_w_pattern(float src, int lookback, int offset, bool strict) =>
// Find 5 pivot points forming W shape
// E = current, D = first low, C = middle high, B = second low, A = left high
// Validation: E > C, D < E, D < C, B <= D (strict), B < A
found := a > 0 and a != b and c != 0 and d != 0 and
src > src and src < src and src < src and
(src <= src or not strict) and src < src
W patterns indicate bullish reversal when:
- Price forms double bottom (D and B)
- Middle high (C) is lower than current price (E)
- Second low (B) is higher than or equal to first low (D) in strict mode
- Pattern completes with breakout above middle high (C)
Entry level is at middle high (C), stop loss at second low (B).
2. M Pattern Detection (Bearish Reversal)
M patterns are detected through inverted W logic:
f_detect_m_pattern(float src, int lookback, int offset, bool strict) =>
// Find 5 pivot points forming M shape
// E = current, D = first high, C = middle low, B = second high, A = left low
// Validation: E < C, D > E, D > C, B >= D (strict), B > A
found := a > 0 and a != b and c != 0 and d != 0 and
src < src and src > src and src > src and
(src >= src or not strict) and src > src
M patterns indicate bearish reversal when:
- Price forms double top (D and B)
- Middle low (C) is higher than current price (E)
- Second high (B) is lower than or equal to first high (D) in strict mode
- Pattern completes with breakdown below middle low (C)
Entry level is at middle low (C), stop loss at second high (B).
3. Dynamic Support/Resistance Level Management
SPM tracks pivot-based support and resistance levels with automatic management:
float pivot_high = ta.pivothigh(high, pivot_left, pivot_right)
float pivot_low = ta.pivotlow(low, pivot_left, pivot_right)
// Store levels in arrays
if not na(pivot_high) and barstate.isconfirmed
if array.size(resistance_levels) < max_levels
array.push(resistance_levels, pivot_high)
array.push(resistance_touches, 1)
else if auto_cleanup
array.shift(resistance_levels) // Remove oldest
array.push(resistance_levels, pivot_high)
Level strength is calculated through touch counting:
1 touch: New level (weak)
2 touches: Confirmed level (moderate)
3+ touches: Strong level (high importance)
Levels are automatically removed when max_levels is reached and auto_cleanup is enabled.
4. Level Touch Counting & Strength Scoring
SPM tracks how many times price interacts with each level:
float zone_size = atr_value * zone_width
if high >= level - zone_size and high <= level + zone_size
array.set(resistance_touches, i, array.get(resistance_touches, i) + 1)
Strength score (0-100) is calculated based on:
Touch Count (0-40 points): More touches = stronger level (8 points per touch, max 40)
Age Factor (0-30 points): Older levels = more established (based on level_strength_period)
Volume Factor (0-30 points): Higher volume at level = more institutional interest
Only levels with 2+ touches and strength >60 are displayed to reduce clutter.
5. Volume Profile & Point of Control (POC)
SPM calculates volume profile to identify price levels with maximum trading activity:
f_volume_profile(int bins, int lookback) =>
float price_range = price_high - price_low
float bin_size = price_range / bins
// Accumulate volume in 20 price bins
for i = 0 to lookback - 1
float bar_price = hlc3
int bin = math.floor((bar_price - price_low) / bin_size)
array.set(vp_volumes, bin, current_vol + bar_vol)
// Find POC (highest volume bin)
float poc_price = array.get(vp_prices, poc_bin)
POC represents the price level where most volume traded - typically where institutions have significant positions. Value Area High (VAH) and Value Area Low (VAL) define the range containing 70% of volume.
6. Break & Retest Detection
SPM monitors when price breaks through resistance levels and subsequently retests:
// Detect break (close above resistance)
if not was_broken and close > level and close <= level
array.set(level_broken, i, true)
array.set(break_bar_index, i, bar_index)
// Detect retest (price returns to broken level within 3-20 bars)
if was_broken
int break_bar = array.get(break_bar_index, i)
bool is_retest = bar_index - break_bar >= 3 and bar_index - break_bar <= 20
bool touching_level = math.abs(close - level) < atr_value * 0.5
if is_retest and touching_level
label.new(bar_index, level, "RT", color=c_support_strong)
Successful retests confirm level validity and often provide high-probability entry opportunities.
7. Head & Shoulders Pattern Detection
SPM detects both regular and inverse Head & Shoulders formations:
f_detect_head_shoulders(float src, int lookback) =>
// Find 3 pivot highs: left shoulder, head, right shoulder
float ph1 = ta.pivothigh(src, lookback, lookback)
float ph2 = ta.pivothigh(src, lookback, lookback)
float ph3 = ta.pivothigh(src, lookback, lookback)
// Validate: head higher than shoulders, shoulders roughly equal
if ph2 > ph1 and ph2 > ph3 and math.abs(ph1 - ph3) < (ph2 - ph1) * 0.3
found := true
neckline := math.min(low , low )
H&S patterns are major reversal formations indicating trend exhaustion and potential reversal.
Visual Elements
Support Lines: Blue horizontal lines with strength-based width (2-3px)
Resistance Lines: Pink horizontal lines with strength-based width (2-3px)
Level Labels: "S: price " for support, "R: price " for resistance (N = touch count)
Pivot Markers: Small circles at swing highs (pink) and lows (blue)
POC Line: Yellow dotted line showing Point of Control from volume profile
Retest Markers: "RT" labels when price retests broken levels
Pattern Lines: Optional dashed lines showing W/M pattern structure (disabled by default)
Dashboard: Real-time metrics showing resistance count, support count, pattern status, POC price
Input Parameters
Pattern Detection:
Pattern Range: Lookback period for W/M detection (default: 9)
Pattern Offset: Additional bars to check (default: 0)
Strict Pattern Validation: Enforce stricter pattern rules (default: false)
Pivot Settings:
Pivot Left Bars: Bars to left of pivot (default: 6)
Pivot Right Bars: Bars to right of pivot (default: 1)
Show Pivot Labels: Toggle pivot markers (default: true)
Level Management:
Maximum Levels: Max support/resistance levels to track (default: 3)
Level Strength Period: Lookback for strength calculation (default: 50)
Auto-Cleanup Old Levels: Remove oldest when max reached (default: true)
Visualization:
Show Support/Resistance Zones: Toggle level display (default: true)
Zone Width (ATR %): Width of level zones (default: 0.5)
Show Pattern Lines: Toggle W/M pattern visualization (default: false)
How to Use This Indicator
Step 1: Identify Key Structural Levels
Look for blue (support) and pink (resistance) lines. Thicker lines with higher touch counts are strongest.
Step 2: Monitor Pattern Formations
Watch dashboard for "W Pattern" (bullish) or "M Pattern" (bearish) status. These indicate potential reversal zones.
Step 3: Check POC Proximity
Yellow POC line shows where maximum volume traded. Price often gravitates toward POC or bounces from it.
Step 4: Wait for Break & Retest
When price breaks resistance and retests (RT label), it confirms level as new support. High-probability long entry.
Step 5: Use Level Strength for Confidence
Levels with 3+ touches are most reliable. Dashboard shows total support/resistance count.
Step 6: Combine with Higher Timeframe Structure
Use SPM on multiple timeframes. Daily/weekly levels are stronger than intraday levels.
Best Practices
Focus on levels with 3+ touches - these have proven institutional interest
W/M patterns work best at major support/resistance levels
POC acts as magnet - price often returns to POC after deviating
Break-retest setups have highest win rate when combined with volume confirmation
Disable pattern lines to reduce chart clutter - use dashboard for pattern status
Adjust zone width based on instrument volatility (higher ATR = wider zones)
Auto-cleanup keeps chart clean but may remove valid older levels
H&S patterns are most reliable on higher timeframes (4H+)
Level strength score >70 indicates institutional-grade level
Smart spacing prevents overlapping levels - only strongest levels shown
Indicator Limitations
Pattern detection requires sufficient historical data and clear pivot formation
W/M patterns can produce false signals during strong trends
Level touch counting is historical - doesn't predict future touches
Volume profile requires consistent volume data - may not work on illiquid instruments
Break-retest detection has time window (3-20 bars) - may miss delayed retests
Maximum level limit means some valid levels may be removed
Pivot detection lags by pivot_right bars - not real-time
H&S patterns are rare and require specific market conditions
Level strength scoring is multi-factor but still subjective
Smart spacing may hide valid levels that are too close to stronger levels
Technical Implementation
Built with Pine Script v6 using:
Custom W/M pattern detection with 5-point validation
Pivot-based support/resistance tracking with arrays
Touch counting system with ATR-based zone detection
Multi-factor level strength scoring (touches + age + volume)
Volume profile calculation with 20-bin price distribution
POC detection through maximum volume identification
Break-retest monitoring with time window validation
Head & Shoulders pattern detection (regular and inverse)
Smart level spacing to prevent overlapping (1.5 ATR minimum)
Automatic level cleanup when maximum reached
Dynamic line and label management to prevent memory issues
Real-time dashboard with 4 key metrics
The code is fully open-source and can be modified to suit individual trading styles.
Originality Statement
This indicator is original in its comprehensive structural analysis approach. While pivot detection and pattern recognition are established concepts, this indicator is justified because:
It combines W/M pattern detection with dynamic support/resistance management in a unified system
The multi-factor level strength scoring (touches + age + volume) provides quantitative level assessment
Volume profile integration with POC detection adds institutional perspective to structural analysis
Break-retest detection with time window validation automates a manual trading technique
Smart level spacing prevents chart clutter while maintaining strongest levels
Head & Shoulders detection (both regular and inverse) adds major reversal pattern recognition
Automatic level cleanup maintains chart readability without manual intervention
Integration of classical patterns (W/M, H&S) with modern volume analysis creates layered confirmation
Each component contributes unique information: W/M patterns show reversals, pivots show structure, touch counting shows strength, volume profile shows institutional interest, break-retest confirms validity, H&S shows major reversals, and strength scoring quantifies importance. The indicator's value lies in presenting these complementary perspectives simultaneously with intelligent level management.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Structural levels and patterns do not guarantee price behavior. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always use proper risk management and never risk more than you can afford to lose.
-Made with passion by officialjackofalltrades Indicator

Indicator

Indicator

Levels[cz]Description
Levels is a proportional price grid indicator that draws adaptive horizontal levels based on higher timeframe (HTF) closes.
Instead of relying on swing highs/lows or pivots, it builds structured support and resistance zones using fixed percentage increments from a Daily, Weekly, or Monthly reference close.
This creates a consistent geometric framework that helps traders visualize price zones where reactions or consolidations often occur.
How It Works
The script retrieves the last HTF close (Daily/Weekly/Monthly).
It then calculates percentage-based increments (e.g., 0.5%, 1%, 2%, 4%) above and below that reference.
Each percentage forms a distinct “level group,” creating layered grids of potential reaction zones.
Levels are automatically filtered to avoid overlap between different groups, keeping the chart clean.
Visibility is dynamically controlled by timeframe:
Level 1 → up to 15m
Level 2 → up to 1h
Level 3 → up to 4h
Level 4 → up to 1D
This ensures the right amount of structural detail at every zoom level.
How to Use
Identify confluence zones where multiple levels cluster — often areas of strong liquidity or reversals.
Use the grid as a support/resistance map for entries, targets, and stop placement.
Combine with trend or momentum indicators to validate reactions at key price bands.
Adjust the percentage increments and reference timeframe to match the volatility of your instrument (e.g., smaller steps for crypto, larger for indices).
Concept
The indicator is based on the idea that markets move in proportional price steps, not random fluctuations.
By anchoring levels to a higher-timeframe close and expanding outward geometrically, Levels highlights recurring equilibrium and expansion zones — areas where traders can anticipate probable turning points or consolidations.
Features
4 customizable percentage-based level sets
Dynamic visibility by timeframe
Non-overlapping level hierarchy
Lightweight on performance
Fully customizable colors, styles, and widths Indicator
