Russell Momentum Buy/Sell Indicator# Russell Momentum Buy/Sell Indicator
The Russell Momentum Buy/Sell Indicator is an intraday trading tool designed to identify potential momentum breakouts, VWAP reclaims, profit targets, and exit conditions.
The indicator combines trend, volume, momentum, price action, and higher-timeframe confirmation into one visual system. It is intended for traders who want clear, structured signals instead of relying on a single moving average or momentum oscillator.
## Main Signals
### ARMED
The ARMED signal appears when price is approaching a potential breakout level and the supporting trend, momentum, volume, and higher-timeframe conditions are favorable.
ARMED is an early-warning signal. It does not represent a confirmed entry.
### BUY
A BUY signal appears when the selected entry conditions are confirmed.
Depending on the user settings, the indicator can detect:
* Breakouts above recent resistance
* VWAP reclaim setups
* Either breakout or VWAP reclaim conditions
A BUY signal may require:
* Price above VWAP
* Fast EMA above slow EMA
* Strong relative volume
* Bullish RSI conditions
* Positive DMI direction
* Minimum ADX trend strength
* Strong candle close
* Higher-timeframe trend confirmation
* Acceptable distance above VWAP
### TARGET 1
Target 1 represents the first profit-taking level.
The level is calculated using the initial risk distance and the selected reward-to-risk setting. Traders may use this signal to reduce part of the position and protect the remaining shares.
The indicator can automatically move the displayed stop to the entry price after Target 1 is reached.
### FINAL TARGET
The Final Target signal appears when price reaches the second reward-to-risk objective.
This can be used as the final exit point or as a signal to begin managing the remaining position more aggressively.
### SELL
A SELL signal may appear when momentum begins to weaken.
Possible exit conditions include:
* Price losing VWAP and the fast EMA
* Fast EMA crossing below the slow EMA
* Price losing the fast EMA after Target 1
* The selected trading session ending
### STOP
The STOP signal appears when price reaches the active risk level.
The initial stop is calculated using Average True Range. This allows the stop distance to adjust to the stock’s current volatility.
## Chart Levels
After a BUY signal, the indicator displays:
* Entry price
* ATR-based stop level
* First profit target
* Final profit target
These levels remain visible while the signal is active.
## Adjustable Settings
Users can customize:
* Breakout lookback period
* Breakout or VWAP reclaim mode
* Fast and slow EMA lengths
* Higher-timeframe confirmation
* Relative volume requirement
* RSI range
* ADX requirement
* Price range
* Trading session
* ATR stop distance
* First and final reward targets
* Maximum signals per day
* Signal cooldown period
* Closed-candle confirmation
## Alerts
The indicator includes alert conditions for:
* ARMED
* BUY
* TARGET 1
* FINAL TARGET
* STOP
* Momentum SELL
* Any SELL condition
For more reliable signals, closed-candle confirmation and Once Per Bar Close alerts are recommended.
## Suggested Use
This indicator is designed primarily for intraday momentum trading. It may be used on any intraday timeframe, although the default settings are intended as a starting point for a 1-minute chart with 5-minute higher-timeframe confirmation.
The indicator should be used with additional market context, including:
* News catalysts
* Liquidity
* Bid-ask spread
* Overall market conditions
* Support and resistance
* Position sizing
* Risk management
No indicator can predict future price movement or guarantee profitable trades. Signals may fail, especially during low-volume conditions, sudden news events, trading halts, or highly volatile price action.
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any security.
Indicator

Anchor rails - session levels and event countdown [AuraSznfx]Most intraday trading is organized around a handful of scheduled clock times — the London open, the 8:30 and 10:00 data releases, the cash open, the end of the first hour, the 2:00 policy release. This script makes that schedule visible on the chart instead of tracked in your head, and pairs it with the price levels that formed before each one.
There are many scripts that draw session highs and lows. What this one adds is the clock layer on top of them: a countdown to the next scheduled anchor, a phase read-out describing where the current bar sits relative to that anchor, a configurable window marked either side of it, and a running count of how many of the day's tracked levels have already been taken.
WHAT IT DRAWS
Five session ranges: overnight, London, premarket, opening range, and first hour. Each window's start and end time is a session input you can change, so the defaults are a starting point rather than a rule. While a window is open the script tracks its running high and low and shows them as a box. When the window closes, the box is deleted and replaced by two horizontal lines fixed at the final high and low, extended forward a configurable number of bars.
Yesterday's high, low and close, pulled from the daily timeframe with lookahead disabled. An optional midpoint is available.
HOW THE LEVEL-TAKEN LOGIC WORKS
Once a range is locked, each of its two lines is watched independently. The high is marked taken the first time a bar's high exceeds it. The low is marked taken the first time a bar's low falls below it. Detection is one-way and permanent for the session — a level does not un-take itself if price returns.
When a level is taken you can have it dim to a configurable transparency, dim and switch its label to a marked state, or delete outright. That choice is a style preference; the underlying state is tracked the same way regardless.
Note the deliberate limitation: detection uses the bar's high and low, so on a live bar a level can register as taken and then the bar can close back inside the range. If you want confirmed-close behavior instead, use a higher timeframe or wait for the bar to close before acting on the alert.
HOW THE ANCHOR CLOCK WORKS
You enable whichever of the nine preset times you care about, plus one custom hour and minute of your own. Every one is read in the timezone you select at the top of the settings.
On each bar the script builds a timestamp for every enabled anchor on the current date, then finds the nearest one ahead of the current bar close and the nearest one behind it. From those two distances it produces four outputs in the panel:
Time to the next anchor, formatted as a countdown.
A progress bar filling over the final 30 minutes before it.
A phase label, resolved in this priority order: inside the post-anchor window, within 15 minutes after, inside the pre-anchor window, inside 10 minutes, inside 30 minutes, otherwise standby.
A taken count out of the ten tracked level lines.
If every enabled anchor for the day has passed, the countdown rolls to the earliest one on the following day.
The event window is the pre and post minute values you set. When the current bar falls inside it, the chart is optionally tinted, and an alert can fire once as it begins. Nothing about this window predicts direction. It marks that a scheduled release is close, which is information you would otherwise be checking a calendar for.
HOW TO USE IT
Set your timezone first; everything else reads from it. Adjust the five session windows to the instrument you trade — the defaults are built around US index futures on New York time and will not suit an FX or crypto session structure without changes. Then switch off the anchor times that aren't relevant to your market.
The levels show where price has already been tested. The clock shows when the next scheduled event arrives. What you do with either is your decision — this script issues no buy or sell signals and takes no view on direction.
ALERTS
Two alert condition entries are provided, for any level taken and for the event window opening, usable from the standard alert dialog. Individual per-level alerts fire through the alert() function on bar close. Payloads can be sent as plain text or as structured JSON for webhook use, toggled in the settings.
NOTES AND LIMITATIONS
Written in Pine v6.
Locked levels do not repaint. A range only becomes lines after its window has closed, and those values never change afterward.
The daily request uses lookahead_off. No future data is accessed anywhere in the script.
The phase labels describe clock position only. They are not signals and carry no expectation of what price will do.
The script has no view on direction and produces no entry or exit signals. It is a context tool.
On very low timeframes the drawing limits of 500 lines, boxes and labels can be reached over a long history. Reduce the extend-right value or switch off sessions you do not need. Indicator

Indicator

Indicator

Bull Bear Power Breaks with Trend Reversal [JPT]🔷 OVERVIEW
Bull Bear Power Breaks with Trend Reversal – Module 1 is an original Pine Script® v6 indicator designed to identify the prevailing market trend using a combination of EMA 50, EMA 200, and Bull/Bear Power analysis. It provides traders with a clear visual representation of trend direction, buying pressure, and selling pressure, making it easier to understand market conditions before looking for breakout or reversal opportunities.
Rather than generating trading signals, Module 1 establishes the core trend framework that future modules will build upon.
🔷 HOW IT WORKS
The indicator continuously evaluates price relative to two exponential moving averages while calculating Bull Power and Bear Power values.
Bullish Trend
A bullish trend is identified when:
EMA 50 is above EMA 200
Bull Power remains positive
Buyers maintain control of market momentum
During bullish conditions, the chart background changes to a light green color, providing an immediate visual indication of the dominant trend.
Bearish Trend
A bearish trend is identified when:
EMA 50 is below EMA 200
Bear Power remains dominant
Sellers control market momentum
During bearish conditions, the chart background changes to a light red color.
Trend changes are automatically labeled on the chart with BULL and BEAR markers whenever the EMA relationship changes.
🔷 VISUAL FEATURES
EMA 50 Trend Line
EMA 200 Trend Line
Automatic Bullish Trend Detection
Automatic Bearish Trend Detection
Bull Power Calculation
Bear Power Calculation
Smoothed Bull/Bear Power Histogram
Trend Change Labels
Dynamic Trend Background
Professional Dashboard
Customizable Inputs
🔷 EMA TREND ENGINE
The built-in EMA Trend Engine uses two exponential moving averages to determine the dominant market direction.
Supported trend states include:
Bullish Trend
Bearish Trend
Neutral Transition
This allows traders to quickly align their analysis with the prevailing market direction.
🔷 BULL & BEAR POWER ENGINE
Bull Power is calculated from the distance between price highs and the fast EMA, while Bear Power measures the distance between price lows and the same average.
To reduce market noise, both values are smoothed before being displayed as histograms, helping traders visualize changes in buying and selling pressure more clearly.
🔷 DASHBOARD
The integrated dashboard displays real-time market information, including:
Current Trend
Bull Power Value
Bear Power Value
EMA 50
EMA 200
This provides a quick overview of the current market environment without requiring additional indicators.
🔷 INPUTS
Available settings include:
EMA Fast Length
EMA Slow Length
Bull/Bear Power Smoothing Length
Show EMA Lines
Show Trend Background
Show Bull/Bear Histogram
Show Dashboard
🔷 COMMON WORKFLOW
A typical workflow is:
Identify whether the market is bullish or bearish using the EMA Trend Engine.
Observe Bull Power and Bear Power to evaluate buying and selling pressure.
Monitor trend changes using the automatic BULL and BEAR labels.
Use this information as a directional filter before considering breakout or reversal setups in future modules.
🔷 MARKETS
This indicator can be used on:
Forex
Gold (XAUUSD)
Cryptocurrency
Stocks
Indices
Futures
Commodities
It is compatible with multiple timeframes and different trading styles.
🔷 BEST PRACTICES
Many traders combine this trend engine with additional forms of technical analysis, such as:
Market Structure
Support & Resistance
Break of Structure (BOS)
Change of Character (CHoCH)
Fair Value Gaps (FVG)
Order Blocks
Volume Analysis
Higher Timeframe Confirmation
These techniques are optional but may provide additional context when evaluating market conditions.
🔷 UPCOMING FEATURES
Future modules are planned to include:
Dynamic Swing High & Swing Low Detection
Automatic Support & Resistance
Bull Power Break Detection
Bear Power Break Detection
Trend Reversal Confirmation
Buy & Sell Signals
Entry Price Calculation
Stop Loss
TP1, TP2 & TP3 Auto Targets
Risk/Reward Visualization
Advanced Dashboard
Smart Alert System
🔷 DISCLAIMER
This indicator is provided as a technical analysis tool for educational and informational purposes only. It evaluates historical price data using moving averages and Bull/Bear Power calculations to help visualize market trends. It does not predict future price movements or guarantee trading performance. Always perform your own analysis, use appropriate risk management, and seek additional confirmation before making trading decisions. Indicator

MFx Trend Vitality Engine V3MFx Trend Vitality Engine V3
Overview
Diagnose the Health of a Trend—Not Just Its Direction
Most technical indicators focus primarily on one question: Where is price likely to go next? The MFx Trend Vitality Engine was designed to answer a different question: How healthy is the force currently driving the market?
Rather than attempting to predict future price direction, Trend Vitality evaluates the internal condition of buyer and seller campaigns. It measures the quality of the trend itself by examining buyer and seller vitality, structural fatigue, trend efficiency, reserve capacity, cumulative wear, trajectory, and overall market state.
The framework separates trend direction from trend health. Those are not always the same thing. A market may continue making new highs while the underlying buyer campaign gradually weakens. Likewise, a downtrend may continue falling even as seller strength begins to deteriorate. Price alone cannot always reveal these hidden changes.
Think of Trend Vitality less like a crystal ball and more like a physician evaluating a patient. A doctor cannot predict exactly what will happen tomorrow, but can assess a patient's current condition using multiple measurements. Trend Vitality follows the same philosophy.
Price tells you where the market is moving. Trend Vitality helps explain how healthy the force behind that movement really is.
Why the Framework Was Created
Most technical indicators are designed to help traders identify entries, exits, momentum, or trend direction. Trend Vitality was created to answer a different question: "How healthy is the trend I already own?"
As trends mature, price may continue moving in the same direction while subtle signs of deterioration begin developing beneath the surface. Buyer participation may become less efficient, structural fatigue may increase, reserve capacity may decline, and cumulative wear may continue building long before price itself reflects those changes.
Trend Vitality was designed to identify those internal conditions.
It does not attempt to predict exact tops or bottoms, nor does it generate automatic buy or sell signals. Instead, it provides a structured framework for evaluating the condition of the active buyer or seller campaign.
Originality & Design
Trend Vitality is not a collection of unrelated indicators combined into a single script. It is a unified diagnostic framework in which every subsystem evaluates a different characteristic of the same underlying process: the health and durability of buyer and seller campaigns.
Each component contributes one piece of evidence:
Buyer & Seller Vitality identify which side currently possesses the healthier campaign.
Structural Fatigue measures the amount of strain required to maintain the current trend.
Trend Efficiency evaluates how effectively market participation is being converted into directional price movement. Reserve Capacity estimates how much internal strength remains available to sustain the campaign. Cumulative Wear measures deterioration accumulated throughout the life of the campaign. Trajectory identifies whether overall trend health is improving, stable, or deteriorating. Market State combines these diagnostics into a higher-level assessment of the campaign's current condition.
Rather than relying on a single measurement, Trend Vitality combines complementary diagnostics into one integrated assessment of trend health.
Understanding the Chart
The Trend Vitality chart contains three primary visual components:
The White Trend Line
The Trend Vitality Line
The Trend Vitality Scale
Each answers a different question about the market.
White Trend Line
The White Trend Line represents the market's directional campaign. It answers one simple question: "What direction is the market currently moving?" A rising White Trend Line indicates buyers currently possess directional control. A falling White Trend Line indicates sellers currently possess directional control. Importantly, the White Trend Line measures direction, not health. A trend can continue moving higher while gradually becoming less healthy, or continue falling while seller strength quietly deteriorates. That distinction is why the Trend Vitality Line exists.
Trend Vitality Line
While the White Trend Line measures direction, the Trend Vitality Line measures the health of the side currently controlling the market. Its color changes depending on which campaign possesses the vitality advantage.
Green Trend Vitality
A green Trend Vitality Line indicates that buyers currently possess the healthier campaign.
Think of two championship boxers entering the later rounds of a fight. The scorecards tell you who is ahead, but looking into each fighter's corner tells you who still appears strongest. A green Trend Vitality Line suggests buyers currently have the stronger internal condition—not that they are guaranteed to win the match.
Red Trend Vitality
A red Trend Vitality Line indicates that sellers currently possess the healthier campaign.
This should not automatically be interpreted as a sell signal. Instead, it reflects that sellers currently possess the stronger internal condition relative to buyers. Like the boxer analogy, momentum within the fight can shift before the final outcome is decided.
Understanding the Trend Vitality Scale
The Trend Vitality Scale is standardized from +100 to -100.
Unlike traditional oscillators, it does not measure price. It measures the relative health of the buyer and seller campaigns.
Above Zero: Buyers possess the vitality advantage.
Below Zero: Sellers possess the vitality advantage.
Near Zero: Neither side has established a meaningful health advantage.
The farther the Trend Vitality Line moves away from zero, the stronger the measured vitality of the controlling side.
General Interpretation
+80 to +100: Exceptional Buyer Health
+50 to +80: Healthy Buyer Campaign
+20 to +50: Moderately Healthy Buyers
-20 to +20: Neutral Battlefield
-20 to -50: Moderately Healthy Sellers
-50 to -80: Healthy Seller Campaign
-80 to -100: Exceptional Seller Health
These ranges are intended as interpretation guidelines rather than trading signals.
Understanding the Zero Line
The Zero Line represents the center of the battlefield, where neither buyers nor sellers possess a meaningful vitality advantage. Imagine the market as a game of tug-of-war. Buyers pull from one side of the rope, sellers from the other, and the Zero Line marks the exact center.
When the Trend Vitality Line is above zero, buyers have pulled the rope onto their side and currently possess the healthier campaign. When it falls below zero, sellers have gained the vitality advantage and are pulling the rope in their favor.
A move through the Zero Line simply tells you that the balance of internal strength has shifted from one side of the battlefield to the other. It does not necessarily mean price will immediately reverse or that a new trend has begun. Just like a real tug-of-war, the rope may briefly cross the center before one team regains its footing and pulls it back.
For that reason, a Zero Line crossover should never be interpreted automatically as a buy or sell signal. Instead, it signals that the balance of campaign health is changing. The surrounding diagnostics help determine whether that change represents a meaningful shift in control or only a temporary swing in momentum.
Understanding the Dashboard
The dashboard summarizes the current condition of the active campaign.
Buyer Vitality: Measures the health of the buyer campaign.
Seller Vitality: Measures the health of the seller campaign.
Market Health: Overall condition of the active trend.
Engine Health: Combined strength of the Trend Vitality framework.
Structural Fatigue: Current strain required to maintain the trend.
Trend Efficiency: How effectively market participation produces directional progress.
Reserve Capacity: Remaining internal strength available to sustain the campaign.
Cumulative Wear: Structural deterioration accumulated throughout the campaign.
Trajectory: Whether trend health is improving, stable, or deteriorating.
Market State: The current diagnostic phase of the campaign.
Warnings: Highlights meaningful signs of internal deterioration that deserve additional attention.
No single measurement should be interpreted in isolation. The dashboard is designed to provide a complete diagnostic assessment of trend health.
Suggested Use
Trend Vitality is designed as a diagnostic companion to price analysis.
It may be useful for:
Monitoring the health of long-term positions.
Evaluating the quality of established trends.
Comparing buyer and seller campaign strength.
Identifying hidden deterioration beneath continued price movement.
Supporting position management decisions.
Adding context alongside price structure and risk management.
Important Limitations
Trend Vitality is based on historical and current market data.
It does not:
Predict future price.
Generate guaranteed buy or sell signals.
Anticipate news, earnings, geopolitical events, or unexpected market catalysts.
Like any analytical tool, it should be used alongside sound risk management and independent market analysis.
Release Notes – V3
This version introduces an updated Trend Efficiency model designed to preserve greater historical context while improving the evaluation of campaign performance.
The publication has also been reorganized with expanded documentation explaining the framework's methodology, design philosophy, chart interpretation, dashboard components, and intended use.
The underlying objective remains unchanged:
Trend Vitality is a diagnostic framework designed to evaluate the health of buyer and seller campaigns—not to predict the future or replace price analysis.
Indicator

Confluence Trend and Fibo Reversal SystemAn In-Depth Overview of the "Confluence Trend and Fibo Reversal System"
Introduction: The Purpose and Core Architecture
The "Confluence Trend and Fibo Reversal System" is a sophisticated, highly adaptable Pine Script trading indicator designed to dynamically navigate fluctuating market conditions. The primary objective of this script is to solve a fundamental problem in technical analysis: the tendency of trend-following indicators to produce false signals during sideways markets, and the failure of mean-reversion oscillators during strong trends. To achieve this, the indicator operates as a dual-regime trading algorithm. It constantly analyzes price action to determine whether the current market environment is trending or ranging (sideways). Based on this real-time assessment, the script autonomously switches its internal logic, deploying either a momentum-based confluence engine for trends or a reversal-based engine strictly filtered by Fibonacci retracement levels for sideways markets.
Operating Mechanisms: How the Indicator Generates Signals
The technical architecture of this indicator is divided into four distinct analytical engines that work together to validate trading signals.
1. The Market Regime Filter (Range Detection)
Before any signal is generated, the system calculates a "Range Score" to determine the market state. It evaluates six specific technical conditions:
ADX (Average Directional Index): Checks if the ADX value is below 25, indicating weak trend strength.
Bollinger Bands Position: Verifies if the closing price is contained securely within the upper and lower bands.
Bollinger Bandwidth (BBW): Measures volatility by checking if the current bandwidth is narrower than its 20-period moving average.
RSI (Relative Strength Index): Checks if the RSI is hovering in a neutral zone between 40 and 60.
Stochastic Oscillator: Confirms that the Stochastic K-line is resting in a non-extreme zone between 20 and 80.
EMA Convergence:Measures the gap between the 20-period and 50-period Exponential Moving Averages, checking if they are tightly converged within half of the Average True Range (ATR).
If the total score meets a user-defined threshold (defaulting to 4 out of 6), the system classifies the market as "Ranging" and activates the Reversal engine; otherwise, it defaults to the Trend engine.
2. The Trend Engine (Confluence Scoring)
When the market is clearly trending, the script relies on a strict multi-indicator confluence system to prevent premature entries. It generates a bullish or bearish score out of five possible points:
Price positioning relative to the 50-period EMA.
Directional dominance using the ADX (+DI vs -DI).
Momentum confirmation via MACD baseline crossovers.
Trend alignment with the Supertrend indicator.
Price placement above or below the Ichimoku Kumo Cloud.
A final buy or sell signal in trend mode is only triggered if the accumulated score meets the "Minimum Confluence Score" threshold (defaulting to 4 out of 5).
3. The Reversal & Fibonacci Engine
If the market is ranging, the script hunts for mean-reversion opportunities by scanning for specific price action anomalies and oscillator extremes. It looks for Bullish/Bearish Engulfing candles, Pinbars (Hammers and Shooting Stars), RSI overbought/oversold crossovers, Stochastic extreme crossovers, and Bollinger Band boundary breakouts.
Crucially, these reversal patterns are deemed invalid unless they occur in close proximity to an automatically generated Fibonacci level. The script identifies the highest high and lowest low over a 100-bar lookback period to draw dynamic Fibonacci retracement lines (0.000 to 1.000). A reversal signal is only approved if the price action happens within a tight percentage tolerance zone around these key Fibonacci levels.
4. The Retest Engine
To drastically reduce false breakouts, the script features a built-in "Retest Mode". Instead of firing a buy or sell signal immediately when conditions are met, the script calculates a target "retest price" offset by an ATR multiplier. It will then hold the pending signal in memory for a maximum number of candles (defaulting to 4). The final execution signal is only printed on the chart if the price pulls back to successfully retest this calculated ATR level, proving the validity of the breakout.
Implementation and Usage Guidelines
Recommended Settings
Trade Direction: It is highly recommended to leave the trade direction set to "Both" to allow the dynamic regime filter to operate at its full potential. However, if trading against a higher timeframe macroeconomic trend, users can restrict the system to "Buy Only" or "Sell Only".
Retest Mode: Keep "Enable Retest Mode" activated. While it may cause you to miss trades that instantly aggressively rally, it will save you from substantial losses caused by "fake-out" signals.
Confluence Threshold: For aggressive traders, lowering the Trend Minimum Confluence Score to 3 will yield more signals. For conservative traders, leaving it at 4 or 5 ensures that only the highest probability momentum shifts are traded.
Visual Enhancements: Keep the "Highlight Range Market Background" enabled. This feature turns the chart background orange during sideways markets, providing excellent visual context as to why the indicator is currently ignoring standard trend breakouts.
Suitable Markets and Timeframes**
Because the "Confluence Trend and Fibo Reversal System" actively adapts to volatility and structural shifts rather than relying on static logic, it is exceptionally versatile. It is well-suited for high-liquidity markets such as major Forex pairs (EUR/USD, GBP/USD), large-cap Cryptocurrencies (Bitcoin, Ethereum), and major Equity indices. Due to its reliance on 100-period lookbacks for Fibonacci mapping and 50-period EMAs for trend detection, the indicator performs optimally on medium to higher timeframes—specifically the 1-Hour (H1), 4-Hour (H4), and Daily (D1) charts—where market noise is minimal, and true institutional support and resistance zones are respected. Indicator

S/R ZonesS/R Zones — Volume-Based Support & Resistance
OVERVIEW
S/R Zones automatically detects relevant support and resistance zones based on abnormal volume activity. It is a support/resistance indicator based on volume: instead of relying on manually drawn horizontal lines, it identifies the price zones created by unusually high-volume bars and tracks how price interacts with them over time.
HOW IT WORKS
1. Volume signal — The script looks for a bar whose volume is both the highest of the last N bars and at least X times the average volume of those bars (both configurable). This filters out ordinary volume fluctuations and keeps only genuinely abnormal activity.
2. Confirmation — After a high-volume bar, the indicator waits for the first bar that closes in the opposite direction (there can be several same-direction bars in between).
3. Zone boundaries — The zone is built from two price levels: P, the furthest high/low reached between the bar right after the signal and the confirmation bar (the signal bar itself is excluded); and R, the nearest prior confirmed pivot high/low that goes beyond P.
4. Pivot-based R — R is only taken from genuine swing points: a bar whose high/low is the most extreme of a configurable number of bars on each side (left/right). This avoids anchoring the zone to a random nearby wick that isn't part of the actual price structure.
5. ATR-based filtering — Zones narrower than a configurable multiple of the ATR are discarded. Because ATR reflects the typical volatility of the current symbol and timeframe, this threshold automatically adapts across assets and timeframes without manual tuning.
6. Continuous tracking — Once formed, a zone is not discarded after being touched once. It stays on the chart and keeps being tracked indefinitely, since a broken support can later act as resistance (and vice versa) — a common real-world behavior this script is designed to visualize.
7. Visual break marker — When price closes beyond a zone's outer edge by a configurable ATR-based margin, the zone's color switches to a dashed gray to flag a possible break. The zone keeps extending afterward, since it may still be retested from the other side.
WHAT IT'S MADE OF
- Volume + candle-color logic to detect signal and confirmation bars
- A backward-only search (no lookahead) to compute each zone's two boundaries
- Confirmed-pivot detection so a zone's outer boundary reflects genuine price structure, not a random wick
- ATR-based, auto-adjusting filters for minimum zone width and break margin
- A rolling set of tracked zones (oldest removed first once the maximum is reached)
- Optional alerts for new zone formation and possible zone breaks
- An optional diagnostic mode with visual markers for tuning settings on a new symbol/timeframe
HOW TO USE IT
Add it to any chart with real volume data (stocks, futures, crypto on major exchanges). Blue boxes mark resistance zones, orange boxes mark support zones; a dashed gray box signals a possible break. Use the settings to adjust sensitivity (volume lookback/ratio, pivot left/right bars, ATR-based width and margin, max zones shown) to match the instrument and timeframe you're trading. If no zones appear, enable "Show diagnostics" to see exactly which filter is holding signals back.
NOTES
- Requires real volume data. Symbols/feeds without real volume (some forex/CFD feeds on certain timeframes) may not produce reliable signals.
- The "possible break" color change is a visual aid based on a fixed rule, not a guaranteed prediction — always confirm with your own price action analysis. Indicator

5 Trend Indicators Combo IndicatorThe 5 Trend Indicators Combo with Retest Logic: A Comprehensive Guide
The "5 Trend Indicators Combo Indicator" is an advanced, multi-faceted technical analysis tool built using Pine Script for PulseWire. Its primary purpose is to identify high-probability trend reversals and continuations by aggressively filtering out market noise and minimizing false breakout signals. Instead of relying on a single, isolated metric—which can often be misleading—this script utilizes a robust "confluence" methodology. It systematically evaluates five distinct, highly respected trend-following indicators, aggregating their individual statuses into a unified scoring system. Furthermore, it elevates standard signal generation by incorporating an intelligent pullback (retest) mechanism, explicitly designed to optimize entry prices so that traders do not buy at the absolute top or sell at the bottom of a sudden, volatile price spike. Additionally, it features a built-in graphical dashboard that allows traders to instantly monitor the bullish or bearish status of all five indicators in real-time.
Working Mechanism: How does it detect trading signals?
The core engine of this script evaluates five technical pillars, each contributing a maximum of one point to a total "Bull Score" or "Bear Score":
1. Exponential Moving Average (EMA): Defaulted to a 50-period length, the EMA establishes the chart's baseline directional bias. A bullish point is awarded if the current closing price is strictly above the EMA, and a bearish point is given if it is below.
2. Average Directional Index (ADX) & DMI: This component measures the absolute strength and direction of a trend. To score a point, the ADX value must exceed a specific threshold (defaulted to 20), acting as a strict filter to ensure the market is actually trending rather than chopping in a sideways range. Once this threshold is met, the Directional Indicators dictate the bias: +DI must be greater than -DI for a bullish point, and vice versa for a bearish point.
3. Moving Average Convergence Divergence (MACD): Operating with standard 12, 26, and 9 periods, the MACD assesses momentum shifts. The script requires strict criteria here: for a bullish score, the MACD line must be above the Signal line *and* above the zero baseline. Bearish points require the MACD line to be completely below both.
4. Supertrend:Utilizing a multiplier of 3.0 and an ATR period of 10, the Supertrend acts as a volatility-adjusted trailing stop. It awards a point depending on whether the current trend is mathematically calculated as bullish (direction < 0) or bearish (direction > 0).
5. Ichimoku Cloud (Kumo): The script analyzes the relationship between the closing price and the Kumo (Cloud), which is defined by Senkou Span A and Span B projected 26 periods into the future. A bullish point is granted only if the price has successfully broken out above the top boundary of the cloud, signifying dominant long-term momentum. A bearish point requires a breakdown below the bottom boundary.
Once the overall score is tallied (ranging from 0 to 5), the script compares it against a user-defined "Minimum Confluence Score". When the score crosses this threshold, an initial trend signal is generated. However, the script's standout technical feature is its "Retest / Pullback" logic. Instead of firing the final execution alert immediately upon the breakout, the script enters a "pending" state. It calculates a dynamic retracement target using an Average True Range (ATR) multiplier. For a buy signal, the price must briefly retrace down to `Close - (ATR * Multiplier)`. The script waits for a maximum number of candles (default is 3) for this pullback to occur. If the price successfully touches this retest level, a highly optimized, safe entry is signaled. If the time expires without a retest, the script automatically fires a delayed entry to ensure the trader does not miss a runaway trend.
How to Use: Optimal Settings and Suitable Markets
To deploy this indicator effectively, traders should focus on optimizing the 'Minimum Confluence Score'. A score of 3 is the recommended baseline, offering a healthy balance between trade frequency and signal accuracy. Increasing this to 4 or 5 will result in much stricter, albeit fewer, high-conviction signals. The Retest ATR Multiplier and Max Wait Bars must be adjusted according to the timeframe; faster timeframes might require smaller ATR multipliers to successfully catch brief micro-pullbacks before the timer expires.
Regarding suitable markets, this indicator is exclusively designed for trending environments. It performs exceptionally well in high-liquidity, directional markets such as major Forex pairs (e.g., EUR/USD, GBP/JPY), large-cap cryptocurrencies (Bitcoin, Ethereum), and major stock indices (S&P 500, NASDAQ). Because it relies heavily on trend-following logic and moving averages, it is most appropriate for medium to higher timeframes, particularly the 1-hour, 4-hour, and Daily charts. Using it on extremely low timeframes (like 1-minute or 3-minute charts) may expose it to excessive intraday noise and erratic wicks, though the ADX filter and Retest mechanism will actively attempt to mitigate those risks. Ultimately, this script transforms a standard chart into a highly systematic, rule-based trading system. Indicator

Advanced Bar Counter with HTF HighlightsAdvanced Bar Counter with HTF Highlights is a session-aware bar-counting indicator purpose-built for futures traders, particularly ES and NQ scalpers working on the 1-minute and 5-minute charts. It helps traders monitor higher-timeframe candle closures, developing market structure, and their position within the current session without repeatedly switching away from the lower timeframe.
The indicator places numbered labels beneath selected bars, with counting anchored to a user-defined regular trading hours (RTH) open. Electronic trading hours (ETH) can also be counted as a separate session when enabled.
Default behavior
In Auto counting mode:
• On a 5-minute chart, the first bar and every third bar are labeled. Each third bar represents the closing bar of a 15-minute interval.
• On a 1-minute chart, the first bar and every fifth bar are labeled. Each fifth bar represents the closing bar of a 5-minute interval.
This alignment makes it easier to identify when an important higher-timeframe interval is completing while continuing to analyze price action on the lower timeframe.
By default, the indicator displays only on the 1-minute and 5-minute timeframes. An optional setting allows it to appear on other timeframes.
Higher-timeframe highlights
A defining feature of this indicator is its ability to display session-aligned 15-minute, 30-minute, and 1-hour closing bars in separate, customizable colors.
These highlights are calculated from the number of minutes elapsed since the configured session open. This keeps the corresponding closing bars synchronized when switching between the 1-minute and 5-minute charts. When multiple intervals end on the same bar, the enabled higher-timeframe highlight takes priority.
For example:
• On a 1-minute chart, a trader can recognize when the current bar will also complete a 5-minute, 15-minute, 30-minute, or 1-hour interval.
• On a 5-minute chart, a trader can recognize when the current bar will also complete a 15-minute, 30-minute, or 1-hour interval.
The 15-minute highlight is automatically suppressed when every displayed label already represents a 15-minute boundary, as occurs with the default counting mode on a 5-minute chart. This prevents every label from receiving the same highlight and preserves the usefulness of the color hierarchy.
How it can be used
The bar counts and higher-timeframe highlights provide timing and structural context; they do not generate trade signals.
A lower-timeframe trader can use this information to observe how a higher-timeframe candle is completing. For example, a 1-minute trader may notice that the final bar of a 5-minute interval is closing near its high, while a 5-minute trader may observe the same behavior as a 15-minute interval completes. The same principle can be applied to the highlighted 30-minute and 1-hour boundaries.
This workflow is inspired by price-action concepts popularized by Al Brooks, including attention to candle closes, momentum, and alignment across timeframes. The information is intended to support discretionary entry refinement by helping traders evaluate whether lower-timeframe price action agrees with the developing higher-timeframe structure and momentum regime.
Settings
Users can customize:
• Automatic, odd-bar, every-third-bar, or every-fifth-bar counting
• RTH and ETH opening times
• Chart timezone
• Whether ETH bars are counted
• Visibility on timeframes other than 1 minute and 5 minutes
• 15-minute, 30-minute, and 1-hour highlights
• Highlight and default label colors
• Label size
• ATR-based or tick-based label spacing
The chart timezone setting should match the timezone selected on the PulseWire chart. The configured RTH and ETH opening times must also correspond to the intended futures session. Incorrect session or timezone settings will cause the counts and interval highlights to be misaligned.
Important notes
This indicator is a visual timing and session-orientation tool. It does not predict price direction, assess trade quality, place orders, or provide buy and sell signals. Higher-timeframe highlighting identifies interval boundaries only; traders must interpret the associated price action in the context of their own methodology and risk-management rules. Indicator

Indicator

MHIDa Volume-Dry PullbackA trend-context tool. It highlights a pullback (dip) inside an uptrend where trading volume has dried up, i.e. current volume has dropped below its own moving average. The idea, to be read together with the chart: a dip on low volume often carries less conviction behind the down-move than a dip on heavy volume.
How it is calculated:
- Trend gate: price above an EMA (default length 50) marks the uptrend context.
- Dip read: price below a shorter EMA mean (default length 20) together with RSI (default length 14) below a threshold (default 45) marks a pullback.
- Volume dry: current volume below a fraction (default 0.7) of its own moving average (default length 20) marks the volume drying up.
- Optional confirmation: current close above the previous close (price turning back up).
When all conditions line up, the bar is marked with a small triangle below the candle, the dip bars are tinted, and the uptrend background is highlighted. Every threshold is a free, adjustable input: the defaults are a starting point to explore, not a tuned trading setup. It works on any market and timeframe.
How to use: add it to the chart and adjust the EMA lengths, the volume-dry threshold, and the RSI dip level to fit the symbol and timeframe you are studying.
Disclaimer: this is a context tool meant to support your own reading of the chart. It is not a signal, not financial advice, and not a standalone winning strategy. Always do your own analysis and make your own decisions. Indicator

McGinley Dynamic Fusion [MarkitTick]💡 The McGinley Dynamic is a lesser-known adaptive moving average developed in the 1990s by market technician John R. McGinley, specifically engineered to solve a problem that plagues conventional moving averages: their tendency to lag badly during fast market moves while whipsawing excessively during slow, choppy conditions. Unlike a standard EMA or SMA, the McGinley Dynamic adjusts its own speed automatically based on the relationship between price and its prior value, effectively "hugging" price more tightly when the market accelerates and smoothing out more when it decelerates. This script builds a complete trading framework around a Fast/Slow McGinley Dynamic crossover, layering in higher-timeframe confirmation, signal cooldown filtering, ATR-adaptive trade levels, a live dashboard, and a manual signal-lock mechanism.
✨ Originality and Utility
While McGinley Dynamic implementations exist on PulseWire, this script does not simply plot the raw indicator. It combines four distinct engineering layers into a single decision framework:
A recursively self-adjusting dual McGinley Dynamic engine (Fast and Slow) used as a crossover trigger rather than a static trend line.
An optional higher-timeframe directional filter that requires the HTF trend to agree with the signal direction before a crossover is allowed to fire.
A cooldown/gap filter measured in bars, which suppresses new signals for a configurable number of bars after the last one, reducing signal clustering during choppy crossover conditions.
An ATR-based trade management layer that auto-plots Entry, Stop Loss, and three Take Profit levels the moment a signal fires, extended live on the chart with a color-coded risk/reward fill.
The value to traders lies in how these layers interact: the McGinley crossover alone would generate frequent false signals in ranging markets, but the HTF filter and cooldown mechanism specifically target the crossover's greatest weakness (over-triggering during consolidation), while the ATR trade-level engine converts a raw directional signal into a fully defined, risk-quantified trade plan without any additional charting work from the user.
🔬 Methodology and Concepts
• The McGinley Dynamic Engine
The core building block is a recursive moving average that adjusts its step size relative to how far price has moved away from its previous value. Rather than applying a fixed weighting like an EMA, the McGinley Dynamic divides the price-to-prior-value distance by a dynamic denominator that grows sharply when price moves far from the average and shrinks when price sits close to it. This produces a curve that speeds up during trending, high-momentum moves and slows down during sideways congestion, giving it a self-correcting quality that fixed-period moving averages lack. The script instantiates two independent copies of this engine: a Fast McGinley Dynamic (default length 14) and a Slow McGinley Dynamic (default length 50), each with its own configurable "K Constant" that governs how aggressively the adaptive denominator reacts to price displacement.
• Crossover Signal Logic
A long signal is generated when the Fast McGinley Dynamic closes above the Slow McGinley Dynamic after having been at or below it on the prior two bars — a confirmed upward crossover, not an intrabar or provisional one. A short signal mirrors this logic on the downside. This two-bar confirmation approach (checking both the and offsets) ensures the crossover has actually completed on a closed bar before a signal is registered, rather than reacting to a crossover that could still repaint on the current forming bar.
• Higher-Timeframe Directional Filter
When enabled, the script pulls the source price and Fast McGinley Dynamic value from a user-selected higher timeframe (default 4-hour) and requires that the HTF price sit on the correct side of the HTF Fast McGinley Dynamic before allowing a same-direction signal on the working timeframe. This acts as a macro-trend veto: a bullish crossover on the chart timeframe will be ignored if the higher-timeframe trend context is bearish, and vice versa. The higher-timeframe request is built using a confirmed, prior-bar value combined with PulseWire's lookahead-on merge policy — the standard non-repainting pattern for pulling higher-timeframe data — so the filter reacts only to fully closed higher-timeframe bars.
• Cooldown / Signal Spacing Filter
To prevent rapid-fire signals during periods where the Fast and Slow McGinley Dynamic lines oscillate around each other, the script tracks the bar index of the last long and last short signal separately. A new signal in the same direction is only permitted once a user-defined minimum number of bars ("Cooldown Bars") has elapsed since the prior one, reducing signal noise without altering the underlying crossover logic itself.
• ATR-Based Trade Level Construction
The moment a qualifying signal fires, the script calculates an Average True Range value over a configurable lookback and uses it to derive five reference prices: an entry (the prior bar's close), a stop loss, and three take-profit targets. Each level is expressed as an ATR multiple away from entry, with independently configurable multipliers for the stop and each take-profit tier. This means the distance between entry and each level automatically expands or contracts with recent volatility rather than using a fixed point or percentage distance, keeping the risk/reward structure proportionate to current market conditions.
• Signal Lock
The optional Lock Signal feature freezes the currently displayed trade levels once toggled on, preventing them from being overwritten by a subsequent crossover. This is useful for traders who want to manually track a single active setup on the chart without the lines and labels shifting each time a new signal condition is technically met.
🎨 Visual Guide
Fast MD line (default blue) — the fast-length McGinley Dynamic.
Slow MD line (default orange) — the slow-length McGinley Dynamic.
Heatmap Candles — when enabled, candle bodies and wicks are recolored based on trend bias: teal/green when the Fast MD sits above the Slow MD (bullish bias), red when below (bearish bias), independent of the raw candle color.
Entry line (dashed, blue by default) — plotted at the close of the bar prior to signal confirmation, marking the reference entry price.
Stop Loss line (solid, red by default) — the ATR-derived stop level, labeled with an "✕ SL" tag showing the exact price.
Take Profit lines (dashed, teal by default, three tiers with increasing opacity) — TP1, TP2, and TP3, each labeled with its price.
Risk fill — a shaded region between the entry line and stop-loss line, tinted in the stop-loss color, visually representing the risk portion of the trade.
Reward fill — a shaded region between the entry line and the TP3 line, tinted in the take-profit color, visually representing the potential reward span.
All trade-level lines and labels extend live to the right edge of the chart until superseded by a new signal or, if Signal Lock is active, held in place.
📌 Note : the best way to resolve visual overlap is to navigate to the Object Tree and drag the indicator above the main chart layer, or simply hide the native candles in your chart settings.
📖 How to Use
A bullish signal occurs when the Fast MD confirms a crossover above the Slow MD, subject to the HTF filter and cooldown filter both being satisfied. The dashboard's Bias row will read "▲ Bull".
A bearish signal occurs on the mirrored downward crossover, with the Bias row reading "▼ Bear".
When a signal fires, use the auto-plotted Entry, SL, and TP1/TP2/TP3 lines as a starting framework for trade structure — the R:R progress bar on the dashboard shows the reward-to-risk ratio for TP1 relative to the stop distance.
The MD Gap row on the dashboard visualizes, as a percentage bar, how far apart the Fast and Slow MD lines currently are, which can help gauge trend strength or an approaching crossover.
Enabling the HTF Filter is recommended for traders who want signals to align with a broader trend context rather than trading every local crossover.
Enabling Signal Lock freezes the current trade plan on screen, useful when manually managing an active position and wanting to prevent the levels from updating on the next crossover.
⚙️ Inputs and Settings
Src / Fast N / Slow N — source price and the lookback lengths for the Fast and Slow McGinley Dynamic calculations. Shorter lengths react faster but generate more signals; longer lengths are smoother but slower to confirm.
K Const — governs how aggressively the McGinley Dynamic's adaptive denominator responds to price displacement from the prior value. Higher values slow the line's responsiveness.
HTF Filter / HTF TF — enables the higher-timeframe directional veto and sets which higher timeframe is used for that check.
Cooldown Bars — minimum number of bars required between two signals of the same direction.
Lock Signal — freezes the current trade levels in place, blocking updates from subsequent signals.
ATR Len — lookback length for the Average True Range used to size the SL and TP levels.
SL Mult / TP1 Mult / TP2 Mult / TP3 Mult — ATR multipliers that set the distance of the stop loss and each take-profit tier from the entry price.
Heatmap Candles / Trade Levels — visual toggles for the bias-colored candles and the auto-plotted trade-level lines/labels/fills.
Show Dash / Dash Pos — toggles the on-chart dashboard and sets its screen position.
Alert action fields (Long/Short/Close Long/Close Short) — customizable string values embedded into the script's JSON alert payloads, allowing the fired alerts to be mapped to specific automation or webhook actions.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The McGinley Dynamic belongs to a broader family of adaptive-smoothing techniques in technical analysis that attempt to address a structural weakness of fixed-weight moving averages: a constant smoothing factor cannot simultaneously be fast enough to track trending markets and slow enough to filter noise in ranging markets. McGinley's original design achieves adaptivity by making the effective smoothing constant a function of the ratio between current price and the prior average value raised to the fourth power — a formulation that causes the adjustment factor to grow disproportionately large when price diverges sharply from the average, automatically accelerating the line's response, and to shrink toward a baseline when price and average are close, automatically slowing the response. This self-referential feedback mechanism places the McGinley Dynamic conceptually closer to adaptive filters used in signal processing (where a filter's gain is modulated by the magnitude of recent error) than to the fixed-coefficient exponential smoothing used in a standard EMA.
The dual-length crossover structure applied here draws on the well-established moving-average-crossover framework from technical trend-following literature, where the relationship between a fast and slow-adaptive series is used as a proxy for shifting momentum regimes, conceptually related to dual-moving-average systems and change-point detection approaches that flag a regime shift once a fast-reacting series diverges from a slow-reacting baseline. The higher-timeframe confirmation layer reflects the top-down, multi-timeframe analysis principle common in technical trading methodology, where signals on a lower timeframe are treated as more reliable when they align with the prevailing direction on a higher timeframe, reducing the frequency of signals that run counter to the dominant trend. Finally, the ATR-scaled trade-level construction is grounded in volatility-normalized position and risk sizing, a standard practice in quantitative trade management where stop and target distances are expressed as a multiple of recent realized volatility (via Average True Range) rather than fixed price or percentage distances, ensuring risk parameters adapt to the current volatility regime rather than remaining static across changing market conditions.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

CISD with Projections (Just)# CISD with Dynamic Projection Levels
This indicator automatically detects **Change in State of Delivery (CISD)** and projects measured price targets based on the completed impulse.
### Features
* **Automatic CISD Detection**
* Identifies both bullish and bearish CISD setups.
* Option to display **Bullish Only**, **Bearish Only**, or **Both**.
* **Dynamic Projection Levels**
* Automatically calculates the impulse range from the CISD level to the swing extreme.
* Projects customizable target levels using user-defined multipliers.
* Example: `1,2,3,4` creates 1R, 2R, 3R, and 4R projection levels.
* **Custom Projection Input**
* Enter any projection values as a comma-separated list.
* Examples:
* `0.5,1,1.5,2`
* `1,2,3`
* `2,4,6`
* **Base Swing Reference**
* Displays the swing extreme used to calculate all projection levels, making it easy to visualize the measured move.
* **Automatic Cleanup**
* Projection levels remain active until price revisits the originating swing.
* Once the swing is mitigated, the entire CISD setup—including the CISD line, base level, projection lines, and labels—is automatically removed to keep the chart clean.
* **Maximum Active Setups**
* Control how many recent CISD structures remain visible using the **Max CISD Lines** setting.
* **Customizable Appearance**
* Separate bullish and bearish colors.
* Adjustable CISD line width.
* Optional projection display.
### How It Works
1. The indicator detects a valid CISD.
2. It measures the distance between the CISD level and the swing extreme.
3. Using that range, it projects user-defined target levels above bullish setups or below bearish setups.
4. All projections remain visible until the originating swing is revisited, after which the setup is automatically deleted.
This indicator is designed for traders who use CISD as part of their market structure analysis and want objective projection levels for planning potential targets while maintaining a clean chart.
Indicator

Machine Learning Support & Resistance [FEELS]Support and resistance levels found by an unsupervised machine learning model (k-means clustering) instead of hand-written rules. The model decides how many levels a chart actually has, which swings are structure and which are noise, and reports how cleanly this market separates into levels at all.
FEATURES
- Levels built by k-means clustering of confirmed swing highs and lows, in log price space
- The number of levels is chosen by the model, not by you
- Swings too scattered to form a level are labelled noise and drawn grey
- Zone width is the real extent of its group, so tightly agreed levels are thin and loose ones are wide
- Fit score: how cleanly the swings separate into levels on this symbol and timeframe
- Hold rate per level: how often price entered the zone and left from the side it came from
- Optional density profile of the swing distribution the model works on
- Two alerts, adjustable colours, sizes and every model parameter
HOW IT WORKS
Every confirmed swing high and low becomes a data point. The model works on the logarithm of price, so it behaves the same at 60 dollars and at 60 thousand, and only on swings inside the price band that still matters, so a long history does not drag levels into an irrelevant price range.
It then runs k-means clustering for every level count in the chosen range. Each result is scored with a simplified silhouette score, which measures how much closer each swing sits to its own group centre than to the next nearest one. The count with the cleanest separation wins, and that score is shown as the fit percentage in the header.
Each surviving group becomes a level: the mean of its members is the centre, the spread of its members is the zone, and the number of members is its weight. Groups whose swings are too scattered compared with the average group are rejected, and their swings are drawn grey as noise. The levels nearest to price are kept on the chart.
HOW TO READ IT
1. Thin zones are levels the market agreed on precisely, wide zones are areas where it turned around loosely. The swing count next to each level says how many times it was involved.
2. The fit percentage is a read on the market itself, not on the levels. A high value means price is respecting distinct levels; a low value means the structure is smeared and levels deserve less weight.
3. The hold rate column counts how often price entered a zone and left from the same side rather than closing through it, over the lookback window. It describes the past behaviour of that zone.
ORIGINALITY
Most level tools merge nearby swings with a fixed tolerance and a fixed level count. This one treats level detection as a clustering problem: the level count is selected by a simplified silhouette score rather than set by hand, zone width comes from the measured spread of each group rather than a preset band, sparse groups are rejected as noise instead of being forced into a level, and the quality of the whole separation is reported openly. The clustering, the model selection, the noise rejection and the hold-rate accounting are written from scratch for this script.
HONESTY
- The level set is recomputed as new swings confirm, so zones shift over time. This is a snapshot of current structure, not a fixed historical record, and it is inherent to any clustering or level tool.
- A swing pivot confirms only after the Swing size number of bars, so the newest swing is always that many bars old.
- The fit percentage and the hold rate describe past behaviour on the current symbol and timeframe. They do not predict anything, they are not performance claims, and small samples move them a lot.
- The model is deterministic: seeding is quantile based, so the same chart and the same settings always give the same levels.
- Clustering works best where there are enough clean swings. On very short histories or extremely thin symbols the model has too little to separate, and the fit percentage will show it.
ALERTS
Price entered a level · Price closed through a level.
SETTINGS
Every input has a tooltip. The main ones: "Swing size" sets how many bars on each side define a swing, "Model picks the level count" toggles automatic selection and the range it searches, "Min swings per level" and "Selectivity" control how strict the model is before calling a group a level, "Max distance from price" and "Max levels shown" keep the chart readable, and both zone width caps let you match the look to your timeframe.
This is a descriptive tool for reading price structure. It is not financial advice and does not predict price.
Indicator

EVA Ai Chart Patterns v2.9.3 🧬 EVA Ai+ Chart Patterns and Trading Signals Indicator
EVA Ai+ Chart Patterns automatically detects technical analysis patterns directly on the PulseWire chart.
The indicator scans both local and large-scale price structures, draws their boundaries, evaluates pattern quality, and displays clear LONG or SHORT signals after confirmation.
It can be used for crypto, Bitcoin, forex, stocks, futures, and index trading. The detector works on the current chart timeframe and supports scalping, day trading, and swing-trading analysis.
🔍 Patterns detected
📈 Continuation patterns
🟢 Bull Flag — LONG
🔴 Bear Flag — SHORT
🔵 Bull Pennant — LONG
🟠 Bear Pennant — SHORT
The detector evaluates the impulse pole, consolidation range, boundary slopes, price compression, and breakout quality.
🔄 Reversal patterns
🟢 Double Bottom — LONG
🔴 Double Top — SHORT
🟣 Head and Shoulders — SHORT
🔵 Inverse Head and Shoulders — LONG
Double Top and Double Bottom structures are drawn with thick dashed lines. Head and Shoulders patterns use thick dotted lines, making each pattern family easy to recognize on the chart.
🧠 Local and macro pattern detection
Short price structures and large reversal formations are processed separately.
The indicator can detect:
local chart patterns;
large reversal structures;
extended flags and pennants;
patterns containing intermediate price swings;
the strongest valid combination of pivot points.
A minor internal swing does not automatically invalidate a larger pattern. EVA compares several possible pivot combinations and selects the structure with the stronger geometry and quality score.
📊 Pattern quality score
Each detected formation receives a quality rating:
QUALITY 76%
The score considers pattern geometry, scale, time symmetry, prior market direction, pivot structure, and breakout confirmation.
Example chart labels:
FLAG
LONG · QUALITY 78%
HEAD AND SHOULDERS
SHORT · QUALITY 84%
MACRO · 68 bars
Low-quality matches are filtered. Separate thresholds are available for developing and confirmed patterns.
⏳ Developing and confirmed patterns
While a pattern is still developing, its boundaries may update as new candles appear. The chart label shows:
FORMING
A confirmed signal is created only after a candle closes beyond the pattern boundary or neckline.
Closed candle
+ confirmed breakout
+ sufficient quality
= LONG or SHORT
Confirmed signals are placed on the bar where the conditions are actually completed. They are not moved backward to earlier historical candles.
🎨 Individual pattern colors
Each pattern family uses a separate color:
Bull Flag — emerald;
Bear Flag — coral red;
Bull Pennant — cyan;
Bear Pennant — orange;
Double Bottom — lime;
Double Top — magenta;
Head and Shoulders — purple;
Inverse Head and Shoulders — blue.
Pattern colors and developing-pattern transparency can be adjusted in the indicator settings.
🔔 PulseWire alerts
Separate alert conditions are included for:
LONG Flag
SHORT Flag
LONG Pennant
SHORT Pennant
LONG Double Bottom
SHORT Double Top
SHORT Head and Shoulders
LONG Inverse Head and Shoulders
Alerts can be configured through the standard PulseWire alert menu.
📌 How to use the indicator
Identify the broader market context: trend, range, or reversal area.
Check which chart pattern is developing.
Review the expected direction: LONG or SHORT.
Look at the pattern quality score.
Wait for a confirmed candle close beyond the boundary.
Combine the signal with support and resistance, volume, and your risk-management rules.
A developing pattern represents an active scenario. A confirmed label means that the breakout conditions have already been completed.
🎯 Common use cases
EVA Ai+ Chart Patterns can be used for:
technical analysis;
chart pattern detection;
Price Action trading;
trend and reversal analysis;
breakout trading;
crypto trading;
Bitcoin trading;
forex trading;
stock and futures analysis;
scalping;
day trading;
swing trading;
LONG and SHORT trading signals.
⚠️ Risk notice
A chart pattern does not guarantee a reversal, continuation, or profitable trade. Signals should be evaluated together with market context, volume, key price levels, and predefined risk management.
This indicator is an analytical tool and does not provide individual financial or investment advice. Indicator

Impulse Origin [Smart Money]A strong move only tells you it mattered once it is over. Impulse Origin waits for that moment: a run that closes in one direction for a set number of bars without a single counter-close, ending on a bar whose volume has expanded against its own average. When that run is complete, the tool walks back and marks the candle it started from — and not just any opposing candle, but one whose liquidity was taken by the candle that came after it. The result is a zone at the origin of the move, which is then tracked: the first close through it flips its role between support and resistance, and the second close through it retires it.
HOW IT WORKS
The idea behind it is that the beginning of a move is only interesting if the move turned out to be decisive, and you cannot know that while it is still running. So the measurement is deliberately backward-looking: the run is the gate, the origin is the output.
The run — over the last N bars there must be no close against the direction at all. A single lower close breaks an up-run; a single higher close breaks a down-run. This is measured on closes, not on candle bodies, so the run describes where price actually settled bar after bar.
The volume gate — the bar that completes the run must carry at least a chosen multiple of the average volume over its own baseline period. The baseline is independent of the run length, so a long run cannot inflate its own reference level.
The origin — from that bar the tool searches backwards for the first candle that closed against its own open: a down candle for an up-run, an up candle for a down-run. This is the candle price left from.
The sweep requirement — an opposing candle only qualifies as an origin if its liquidity was taken by the candle immediately after it. For a support origin, the next candle's low must trade below the origin low; for a resistance origin, the next candle's high must trade above the origin high. Search Back keeps walking further back until such a candle is found. First Only tests just the first opposing candle and draws nothing if it does not qualify. Off removes the requirement entirely and uses the opposing candle alone.
The zone — with the sweep requirement active, the zone spans the combined range of the origin candle and the candle that swept it, so the swept level sits inside the zone rather than at its edge. The zone is anchored to the origin candle and extends forward from there.
Role tracking — a zone holds a role until a bar closes beyond it. Wicks through it change nothing. On the first close beyond, the zone switches colour and swaps role: a support that is closed through becomes resistance, a resistance that is closed through becomes support. On the second close beyond, it is removed from the chart.
An uninterrupted run of higher closes therefore produces a support zone below, at the candle the run started from — and a run of lower closes produces a resistance zone above, the same way.
A run of N bars completes with no counter-close and with expanded volume on the final bar
The tool searches backwards for the opposing candle that started it, keeping only one whose low or high was taken by the candle after it
The zone is drawn from that candle, then tracked: first close through it flips the role, second close through it removes it
Original zones and flipped zones are kept in separate pools with their own capacity, so a new signal never pushes out a zone that has already flipped. Because a long run can produce several trigger bars in a row that all resolve to the same origin candle, the tool remembers the origin it last used and will not redraw the same candle.
HOW TO READ
A zone marks where a decisive move began, with the stops below or above it already taken before it left. Price returning to that area is returning to the point it departed from.
A grey zone is still in its original role. A blue zone has been closed through once and is now working the other way round — the level that was holding price up is now the level it is trading under, or the reverse.
A blue zone is on its last life by design. The next close through it, now in its flipped role, removes it rather than leaving an old level on the chart forever.
Only closes matter. A wick through a zone leaves it untouched, so a zone survives being tested and only changes when price actually settles on the other side.
It fires rarely by design. A run with no counter-close at all, ending on expanded volume, is not a common event — on most charts you will see a handful of zones rather than a wall of them. Shorten the run length or lower the volume ratio for more, raise them for fewer and more selective ones.
The shading carries no information: every zone is drawn at the same intensity, because the zone sits on the origin candle while the volume condition was measured on the bar that completed the run.
INPUTS
Streak Length — how many consecutive bars must close in one direction with no counter-close.
Volume Average Length — the baseline period the trigger bar's volume is measured against.
Min Volume Ratio — how many times the average that volume must be. Higher gives fewer, more selective zones.
Max Origin Lookback — how far back the search for the origin candle may run.
Liquidity Sweep — Off, Search Back, or First Only, as described above.
Original Support / Original Resistance — draw each side, with its own capacity for how many grey zones are kept.
Flipped Support Max / Flipped Resistance Max — capacity for zones that have already flipped, held separately from the originals.
ATR Length / Min Zone Height (%ATR) — if a zone is thinner than this share of ATR, it is expanded symmetrically around its midpoint. At 0 the zone keeps the exact range of the candles it came from.
Colours / Transparency Offset — the original and flipped colours, and a single offset that shifts the tone of all zones together.
NOTES & LIMITS
A zone records where a decisive move began and whether that level has since been closed through. What you make of it at the next touch is yours, and that is exactly as it should be. The volume gate is part of the mechanism, so the tool needs a volume feed to produce anything at all — on a symbol that publishes no volume, no zones are drawn, and on forex and CFDs the volume is tick volume (the number of price updates, not contracts traded), which makes the gate read more loosely there. The zone is anchored to the origin candle in the past but is published on the close of the bar that completes the run, so on a chart you are scrolling back through, the zone was not on the screen for the bars between the two. Its price boundaries are set when it is created and never move afterwards: creation, the role flip and the removal all happen on closed bars, and the colour change is a change of state, not of level. The zone is as tall as the candles it came from — with the sweep requirement active that is the origin candle and the candle that swept it combined — so on volatile instruments it can be a wide band; Min Zone Height only ever expands a zone, never shrinks one. Breaks are judged on closes alone, so a wick beyond a zone leaves its role unchanged. No profit, win-rate, or guarantee claim. Open-source under CC BY-NC-SA 4.0 — non-commercial use, attribution to ElisTools required for reuse or derivatives. PulseWire (Pine v6) only. Indicator

Indicator

Smart Market Structure & Liquidity Engine [SMC]Smart Market Structure and Liquidity Engine
Overview and Core Philosophy
The Smart Market Structure and Liquidity Engine is a comprehensive, non-repainting technical analysis framework engineered for price action traders, ICT or SMC enthusiasts, and market structure analysts.
Instead of relying on lagging indicators or noisy indicators, this script combines Adaptive Volatility Filtering (ADX and DMI), Market Structure Shifts (BOS and CHoCH), and Previous Day Equilibrium Logic to give traders a crystal-clear view of market context, institutional bias, and premium versus discount pricing.
Key Features and Technical Mechanics
1. Adaptive Trend Wave and Dynamic Consolidation Engine
Uptrend Expansion (Neon Green): Indicates strong bullish directional bias and institutional buying pressure.
Downtrend Expansion (Hot Red): Indicates strong bearish directional bias and institutional selling pressure.
Smart Consolidation Filter (Slate Grey): Automatically detects sideways and low-momentum markets using native ADX logic. It shifts candles to neutral grey during choppy phases to prevent over-trading.
2. Structural Setup Trigger (Yellow Highlight Candle)
Replaces standard Buy and Sell verbal labels with clean visual highlights to comply with clean chart presentation standards.
Yellow Candle: Marks high-probability rejection candles that align with the active trend wave, highlighting immediate points of interest.
3. Dynamic Daily Levels and Equilibrium (PDH, EQ, PDL)
Previous Day High (PDH): Automatically draws upper daily liquidity levels.
Previous Day Low (PDL): Automatically draws lower daily liquidity levels.
50 Percent Equilibrium Line (EQ): Dynamically plots the 50 percent midpoint of the previous day range, helping traders easily distinguish between Premium (Overpriced) and Discount (Underpriced) zones.
4. Extended High-Probability Zones (Order Blocks)
Automatically plots order block zones upon key setup triggers.
Includes a Live Price Extension Feature, which extends the active zone forward so you can easily observe price reacting inside the box in real-time.
5. Non-Repainting Market Structure (BOS and CHoCH)
BOS (Break of Structure): Signals trend continuation.
CHoCH (Change of Character): Signals early structural reversal.
Built using safe, shift-corrected multi-timeframe security logic to ensure historical accuracy without repainting.
Full Settings and Customization Guide
Neon Wave Glow and Candle Settings
Wave Sensitivity Length: Adjusts how quickly the trend wave reacts to price changes (Default: 8).
Wave Range Multiplier: Controls the volatility band width (Default: 1.6).
Consolidation ADX Threshold: Set the ADX sensitivity cutoff (Lower values require tighter consolidation before turning grey).
Uptrend, Downtrend, Consolidation Colors: Fully customizable palette for chart visualization.
High-Probability Entry Signal (Yellow Candle)
Entry Trigger Sensitivity: Fine-tunes the structural lookback required for trigger highlights.
Entry Signal Color: Customize the setup highlight color.
Previous Day Levels and Equilibrium
Show Active PDH, EQ, PDL: Toggle visual daily liquidity lines on or off.
Line Styles and Colors: Independent style (Solid, Dashed, Dotted) and color settings for PDH, PDL, and 50 percent EQ lines.
Levels Text Size: Adjustable font sizes (Tiny, Small, Normal, Large) for desktop and mobile displays.
High-Probability Zone Customization
Extend Zone To Current Price: Enable to stretch the current active zone into live price action.
Zone Box Styling: Full control over Background Color, Border Color, Border Thickness, Box Opacity, and Label Text Alignment.
How to Use (Educational Framework)
1. Identify Directional Context: Check the color of the Dynamic Ribbon. (Green = Bullish Bias, Red = Bearish Bias, Grey = Ranging or Exercise Caution).
2. Evaluate Premium versus Discount: Compare current price with the 50 percent EQ Line. Long Setups carry higher probability when price is below EQ (Discount). Short Setups carry higher probability when price is above EQ (Premium).
3. Execution Alignment: Look for structural rejections (Yellow Setup Candle) tapping into active HP Zones near key PDH or PDL levels.
House Rules and Educational Disclaimer
No Repainting: All historical levels, zones, and structure lines are calculated on bar-close logic.
Educational Tool: This script is designed exclusively for market structure mapping and educational analysis. It does not provide financial advice or automated trading signals.
Indicator

Ocean Wave - 9 Factor Trend Visualization🌊 Replace candlestick pattern reading with colored zones.
Ocean Wave fuses 9 technical indicators into a single signal with colored background zones — green for uptrend, yellow for neutral, red for downtrend. See market context in 5 seconds instead of analyzing 9 indicators manually.
📌 WHAT IT DOES
- 9 indicators fused into 1 confidence score: MA Crossover, Volume, Momentum, RSI, ADX, MACD, ATR, Bollinger Bands, Stochastic
- Colored zone background (5 levels: strong green → light green → yellow → light red → red)
- Factor table showing each indicator's contribution
- Confidence + strength + synergy metrics
- 6 alert conditions
📊 BACKTEST RESULTS (5-year, 5 tickers: AAPL, TSLA, SPY, GOOGL, NVDA)
- Average win rate: 45.32%
- High confidence does NOT improve accuracy
- This is a VISUALIZATION TOOL, not a signal service
⚠️ IMPORTANT
This indicator does NOT predict price direction. Win rate is below random. The value is in speed of understanding — seeing trend context at a glance, not generating trade signals.
Use it as a trend context overlay, not as a crystal ball.
🔧 SETTINGS
All 9 indicators have configurable inputs (periods, thresholds, visualization toggles). Default values work for daily timeframe.
📜 LICENSE
Mozilla Public License 2.0 — open source
GitHub: github.com/yaroslavmak1995-prog/ocean-wave-indicator
Not financial advice. DYOR.
Indicator

Indicator

Sessions POI values & Price actions# Sessions POI Values & Price Actions
**Sessions POI Values & Price Actions** is a configurable intraday analysis toolkit that combines session context, Opening Range Breakout levels, liquidity-sweep reversals, daily and session highs/lows, higher-timeframe fair value gaps, and an optional moving-average trend overlay.
It is designed for discretionary chart analysis. The indicator does not place orders, manage positions, or predict future price direction.
## Key Features
### Configurable Trading Sessions
Track three independently configurable trading sessions, with default presets for:
- Tokyo
- London
- New York
Each session supports an editable:
- Displayed name
- Start and end time
- Timezone
- Separator colour
IANA timezones such as `Europe/London` and `America/New_York` are supported for daylight-saving-aware session timing.
### Opening Range / ORB
The optional Opening Range Breakout visualisation calculates the high and low formed during the first configurable number of minutes of each enabled session.
ORB features include:
- Independent enable controls for every session
- Editable duration from 1 to 60 minutes
- Box, Lines, or Box + Lines display modes
- ORB-period-only or session-end extension
- Separate ORB High and ORB Low colours
- Solid, dashed, or dotted boundaries
- Editable line width, border width, fill colour, and transparency
- Optional ORB High and ORB Low labels
- Configurable historical retention
The ORB is disabled by default.
During the opening window, its high and low update as price develops. Once the window closes, both values freeze and remain independent from the full-session high and low.
Bars are included when their opening time is at or after the session start and strictly before the ORB end. If the chart timeframe is larger than an enabled opening-range window, the ORB is hidden and a warning is displayed.
### Session High and Low
Display the evolving high and low of the active trading session.
Available display modes:
- Current active session only
- Historical completed sessions
Session H/L values remain separate from ORB H/L:
- **ORB H/L** represents only the opening range.
- **Session H/L** continues tracking the full session.
### Daily High and Low
Optionally display the current or historical daily high and low with editable:
- High and low visibility
- Colours
- Line width
- History mode
### Liquidity-Sweep Reversal Markers
The indicator identifies contextual bullish and bearish reversal formations built from:
1. A previous candle sweeping a lookback high or low.
2. A configurable minimum wick percentage.
3. A current candle whose real body engulfs the previous candle’s body.
Bullish and bearish markers are displayed directly on the chart using configurable colours.
These markers highlight rule-based price-action conditions. They are not automatic trade entries.
### Higher-Timeframe Fair Value Gaps
Map three-candle imbalance conditions from a configurable list of higher timeframes.
Available controls include:
- Comma-separated timeframe selection
- Nearest, latest, or all-active display modes
- Maximum gaps per timeframe
- Bullish and bearish colours
- Responsive or manual box width
- Horizontal staggering or vertical offset for overlapping zones
- Minimum distance filtering
- Optional distance-to-price text
- Configurable box labels
- Automatic or manual threshold
- Multiple mitigation modes:
- HTF close through the far side
- Chart close through the far side
- Wick touch
Higher-timeframe requests use lookahead-disabled data.
### Moving-Average Trend Overlay
An optional moving-average module provides:
- SMA, EMA, WMA, or linear-regression averages
- Editable short and long periods
- Current or custom calculation timeframe
- Trend-coloured moving averages
- Moving-average cloud
- Trend-based candle colouring
- Cross markers
- Bullish and bearish cross alerts
## Suggested Workflow
1. Configure the session times and timezones for the markets you trade.
2. Enable session or daily highs/lows for broader liquidity context.
3. Enable ORB for the sessions where the opening range is relevant.
4. Observe how price interacts with ORB and full-session boundaries.
5. Use sweep markers, HTF imbalances, and the optional moving-average overlay as additional context.
6. Apply your own confirmation, risk-management, and execution rules.
## Important Behaviour
- ORB uses no future bars or lookahead.
- ORB values stop changing after the configured opening window.
- Full-session highs and lows continue updating independently.
- Overlapping sessions maintain independent ORB calculations.
- Historical ORB drawings are automatically limited to protect PulseWire object capacity.
- Conditions involving the currently open realtime candle can continue changing until that candle closes.
- Only moving-average trend changes currently have built-in alert conditions.
## Intended Use
This indicator is best suited to intraday market analysis, including:
- Session-open preparation
- Opening-range observation
- Liquidity mapping
- Sweep and rejection analysis
- Fair value gap context
- Trend and confluence assessment
Common chart timeframes include 1-minute, 3-minute, 5-minute, and 15-minute charts, provided the selected timeframe does not exceed the configured ORB window.
## Disclaimer
This indicator is an analytical and educational tool. It does not provide financial advice, guarantee outcomes, or automatically execute trades. Historical price behaviour does not guarantee future results. Always apply independent analysis and appropriate risk management. Indicator

Pressure Transfer ZoneMany reversal indicators tell you when a market looks stretched. Pressure Transfer Zone asks a harder question: when price returns to the extreme, can the side that drove it there still make meaningful progress?
This indicator was built to identify a specific form of failed continuation. It waits for a strong directional drive, a real retreat, and then a second attempt at the extreme. If that second attempt makes little progress and closes with clear rejection, the script freezes the structure into a decision zone. From there, price must prove that control has actually transferred before a signal is confirmed.
The goal is not to call every top or bottom. The goal is to isolate the moments when a mature move may be losing control, show that process directly on the chart, and give the trader clear confirmation and invalidation levels.
WHO IT IS FOR
Pressure Transfer Zone is designed for intraday, swing, and position traders who use price action and want a more disciplined way to evaluate exhaustion, failed breakouts, failed continuation, and early reversals.
It is designed for liquid stocks, futures, forex, and cryptocurrency on standard candlestick charts. The engine does not run on Heikin Ashi, Renko, or other synthetic chart types because their prices can distort the structure being measured.
THE IDEA BEHIND IT
A strong trend does not end simply because price is overbought, oversold, or extended. Strong moves can remain extended for a long time. What matters is whether the original side can still produce results when it gets another opportunity.
The pattern develops in five stages:
1. A mature directional drive establishes real displacement.
2. Price makes a meaningful retreat away from the extreme.
3. The original side returns for a second attempt.
4. That second attempt produces limited progress and a weaker close.
5. Price confirms the transfer with a qualified break of the selected boundary or, in Sniper mode, with that break followed by a successful first retest.
This is an effort-versus-result test expressed entirely through price. The script does not claim to measure order flow, bid/ask delta, institutional activity, hidden liquidity, or volume pressure.
HOW THE MATHEMATICS WORKS
The first filter is directional efficiency:
Directional efficiency = net directional change / total absolute bar-to-bar movement
A clean drive that travels mostly in one direction receives a higher score. A noisy move that covers a lot of distance but makes little net progress receives a lower score.
The selected Source is used for net displacement and path efficiency. The zone itself is always built from confirmed OHLC prices.
The drive must also meet volatility, range, closing-location, and local-extreme requirements. Under the default pace profiles, it must:
* Produce at least 1.25 ATR of net directional displacement.
* Span at least 2.00 to 2.50 ATR, depending on the selected pace.
* Meet a directional-efficiency threshold of 0.40 to 0.48.
* Close in the outer 28% of the drive range.
* Create a fresh local extreme.
ATR is measured with a 14-bar lookback and frozen when the sequence begins. This prevents later volatility changes from moving the event’s established thresholds.
The retreat must travel at least the greater of 0.55 ATR or 18% of the original drive range, and the closing price must confirm that full retreat distance.
When price returns to the extreme, the second attempt must show deterioration. By default:
* Price must return to within the greater of 0.30 ATR or 8% of the original drive range from the first extreme.
* New progress beyond the first extreme cannot exceed 0.20 ATR.
* The second push cannot exceed 72% of the original drive range.
* The close must migrate away from the first attempt by at least 0.10 ATR.
* Rejection must equal at least the greater of 0.25 ATR or 25% of the developing zone.
* The rejection bar must close within the directional outer 45% of its range.
* The completed zone cannot exceed 60% of the original drive range.
Together, these filters are intended to remove many one-candle reactions, shallow pauses, and weak two-test formations. The model wants to see a legitimate first drive, real separation between attempts, and measurable deterioration on the return.
THE ZONE
Once the second attempt qualifies, the structure is armed and its levels are frozen:
* Outer edge: the most extreme price reached by the two attempts.
* Inner edge: the counter-extreme formed between the two attempts.
* Midpoint: the halfway point of the zone.
* Invalidation: 0.15 ATR beyond the outer edge in the direction of the original move.
For a bullish setup, price must transfer upward after a mature downward drive. For a bearish setup, price must transfer downward after a mature upward drive.
Invalidation requires a confirmed close beyond the buffered outer edge. The invalidation level is structural information, not an automatic stop-loss recommendation.
ENTRY TIMING
Early
Confirms on a qualified close through the zone midpoint. This is the fastest mode and can trigger on the same confirmed bar that arms the zone. It offers earlier recognition with a greater risk of false starts.
Balanced
Confirms on a later qualified close beyond the structural inner edge. Balanced is the default middle ground between earlier recognition and additional structural confirmation.
Sniper
Requires a qualified break of the inner edge followed by the first later retest of that level. The retest must remain shallow and close back in the transfer direction. The first retest decides the setup; a failed first retest cannot become a signal later.
The breakout candle must move in the transfer direction, span at least 0.35 ATR, have a real body covering at least 45% of its range, close within the directional outer 32% of the candle, and finish no more than 0.45 ATR beyond the selected boundary. The final limit is an anti-chase filter.
A valid Sniper retest must stay within 15% of the frozen zone depth, close at least 0.05 ATR back beyond the inner edge, have a directional body covering at least 35% of the candle, and close within the directional outer 40% of its range.
HOW TO READ THE CHART
With the default color palette:
* Amber: the pattern is still developing. It is information, not an entry signal.
* Violet: the structure is complete, armed, and waiting for confirmation.
* Cyan: the action area between the midpoint and inner edge.
* Green: a bullish pressure transfer has been confirmed.
* Red: a bearish pressure transfer has been confirmed.
* Faint gray: an armed setup failed, expired, or was invalidated.
The right-edge label shows the current phase and the next required action. Once the structure is armed, it also displays the confirmation boundary and invalidation price. A diamond appears only when the selected timing mode produces a confirmed trigger.
When Keep Recent Resolved Zones is enabled, the script retains a limited number of recent successful and failed zones. The default is eight, adjustable from one to twelve, so failures remain visible without overwhelming the chart.
PRACTICAL USE
1. Treat an amber zone as a developing idea, not permission to trade.
2. When the zone turns violet, note its direction, confirmation boundary, and invalidation price.
3. Wait for the exact requirement of Early, Balanced, or Sniper mode.
4. Use the broader trend, nearby support and resistance, liquidity, session conditions, and scheduled news as separate context.
5. Apply your own position sizing, stop placement, targets, and trade-management rules.
ADAPTIVE PACE
Auto mode adjusts the engine according to the chart timeframe:
* Fast: 15-minute charts and below.
* Swing: above 15 minutes through 4 hours.
* Position: above 4 hours.
Fast, Swing, and Position can also be selected manually. The selected pace changes the drive and local-extreme lookbacks, minimum drive size, efficiency threshold, formation lifetime, armed lifetime, and Sniper retest window. It does not change the meaning of the pattern.
ALERTS
The indicator includes five alerts:
* Long Zone Armed
* Short Zone Armed
* Long Pressure Transfer
* Short Pressure Transfer
* Pressure Transfer Invalidated
Create alerts using Once Per Bar Close.
Trigger alerts and chart diamonds use the same confirmed-bar event. If an Early setup resolves on the same bar it arms, the temporary armed alert is suppressed so users do not receive a stale or redundant notification.
CONFIRMED-BAR DESIGN
Actionable signals are confirmed only after the chart bar closes. They are not backdated and do not use future data, pivot backpainting, negative offsets, higher-timeframe requests, or lookahead logic.
Amber developing zones are intentionally provisional and can change or disappear because the pattern is not complete. Once a zone turns violet, its structural prices and invalidation level are frozen for that event.
LIMITATIONS
Pressure Transfer Zone identifies structural-exhaustion candidates, not guaranteed reversals. It tracks one active sequence at a time and can miss fast V-shaped turns that never form two separate attempts.
Strong trends can repeatedly invalidate countertrend setups. Thin markets, price gaps, news shocks, and irregular sessions can also reduce the usefulness of ATR-based thresholds.
This is an indicator, not a strategy. It does not place orders, calculate position size, set profit targets, or claim a win rate. Its job is narrower: determine whether the original directional side returned to the extreme, failed to produce enough additional progress, and then met the model’s confirmation rule at a clearly defined price.
Indicator
