Volume Liquidity Trend [ChartPrime]Volume Liquidity Trend
🔶 OVERVIEW
Standard trend indicators track price direction but completely ignore the volume profile structural footprints left behind during the trend's development. The Volume Liquidity Trend indicator solves this by combining advanced mathematical smoothing with a dynamic, trend-isolated Volume Node Mapping Engine .
This script filters price streams through a stabilization algorithm to establish a core trend, tracks the exact duration of that trend lifecycle, and continuously projects significant historical volume anchors into the future as active liquidity levels until price completely invalidates or "mitigates" them.
🔶 HOW IT WORKS
The indicator executes its calculations through a multi-tiered pipeline:
Kalman-Based Trend Filter: The indicator filters a user-defined price source using an adaptive stabilization equation. It calculates volatility bands relative to this smoothed average (using a 2 x ATR boundary). A close above the upper band establishes a Bullish Trend , while a close below the lower band triggers a Bearish Trend .
Trend-Isolated Volume Mapping: When a trend changes, a clean data sweep resets the history array. The script tracks every single candle inside the active trend and identifies the absolute highest transaction point (the 100% Peak Volume Anchor).
Normalized Liquidity Vectors: Every candle within the trend has its volume calculated relative to that peak volume anchor (0% to 100%). If a historical level passes your volume cutoff threshold, the script maps a horizontal liquidity line from that candle's average price (HLC3) out into the future margin space.
Automated Mitigation Tracking: The script continuously tests these horizontal volume tracks against historical price action. If subsequent candle bodies cross through an established volume line, that line is marked as "mitigated" (crossed) and automatically stripped from the screen to keep your chart uncluttered.
🔶 KEY FEATURES
Adaptive Vector Widths & Gradients: Unmitigated volume lines feature a dynamic visual profile. Lines are automatically thicker and more heavily saturated based on their relative volume strength. Furthermore, lines dynamically shift color depending on whether price is trading above (Bullish Support) or below (Bearish Resistance) the volume node.
Anomalous 100% Peak Tracker: Includes a specialized alert line that forces the historical 100% transaction anchor to remain visible as a bright dashed line only after price has broken through it, signaling a breached institutional base.
Real-Time Trend Analytics Panel: A sleek UI dashboard positioned at the top right tracking:
• Current Trend Status: Active market direction matching the volatility bands.
• Trend Duration: Exact bar runtime age since the initial structural breakout.
• 100% Vol Level: The exact price coordinate where the heaviest volume anomaly occurred during the current sequence.
🔶 TRADING APPLICATIONS
High-Volume Pullback Entries: During a strong trend, look for pullback entries directly into unmitigated lines that have high volume percentages (75% - 95%). These thick vector nodes represent massive resting buy/sell block clusters where institutions are likely to defend their positions.
Breakout Confirmation Diamonds: The trend reversal points are highlighted on your chart with sharp diamond markers. A breakout accompanied by an immediate generation of high-percentage liquidity trails suggests an institutional backed expansion.
Support & Resistance Confluence Trim: When multiple volume lines cluster closely together at a specific price zone, it builds a structural wall of institutional liquidity, marking a prime zone for target take-profits or reversal entries.
🔶 SETTINGS
Stabilization Coefficient: Controls the responsiveness of the underlying filtering mechanism. Lower values yield exceptionally smooth lines that are highly tolerant of short-term volatility spikes.
Volume Cutoff Threshold: The sensitivity slider for plotting liquidity vectors (0.0 to 1.0). A higher setting like 0.50 filters out quiet trading periods and only draws lines for bars with significant volume footprints.
Extend Lines Into Future: Determines the number of bars to project active unmitigated volume tracks into the right-hand margin blank space.
🔶 CONCLUSION
The Volume Liquidity Trend indicator offers an institutional perspective by integrating volume data directly into a trailing trend model. By isolating volume profile nodes specifically to the lifetime of the current trend and introducing adaptive coloring based on price positioning, it ensures your support and resistance targets perfectly match real-time market participant behavior. Indicator

LTF Volume Microburst Bubbles (Zeiierman)█ Overview
LTF Volume Microburst Bubbles (Zeiierman) is a lower-timeframe volume indicator designed to identify short bursts of unusually strong buying or selling activity occurring inside each chart candle.
Rather than analyzing only the total volume of the chart candle, the indicator looks inside the candle using lower-timeframe data and searches for individual volume spikes.
A lower-timeframe candle qualifies as a Microburst when it combines:
• Significantly elevated volume relative to its normal baseline.
• Sufficient directional candle body strength.
These qualifying spikes are combined into a directional Microburst Score that helps show whether bullish or bearish activity is dominating inside the candle.
⚪ Volume Microbursts
The indicator compares each lower-timeframe candle against an EMA-based volume baseline.
A qualifying Microburst requires:
• Lower-timeframe volume above the selected Spike Threshold.
• Candle body efficiency above the minimum requirement.
• Activity occurring inside an enabled trading session when session filtering is used.
The stronger and more concentrated the activity becomes, the larger the resulting Microburst Score.
█ How It Works
⚪ Lower-Timeframe Volume Detection
The script automatically selects a practical lower timeframe or allows the user to choose one manually.
Each lower-timeframe candle is compared with its normal volume baseline.
ratio = volume / volumeBaseline
A volume spike must exceed the selected Spike Threshold before it can contribute to a Microburst.
⚪ Directional Efficiency
Volume alone is not enough.
The lower-timeframe candle must also show sufficient directional movement relative to its full range. This helps filter out high-volume candles dominated by wicks or indecision.
⚪ Microburst Score
Qualifying spikes are separated into bullish and bearish activity.
The indicator measures the balance between both sides and combines it with the concentration and strength of the detected volume bursts.
• Positive scores indicate bullish dominance.
• Negative scores indicate bearish dominance.
When the score reaches the selected Signal Threshold, a bullish or bearish Microburst signal is generated.
█ How to Use
⚪ Identify Aggressive Participation
Microburst bubbles highlight candles where lower-timeframe activity suddenly expands above normal conditions.
Large bubbles can help traders quickly identify areas where unusually strong participation entered the market.
⚪ Microbursts for Trend Continuation
A strong bullish or bearish Microburst can confirm that aggressive participation is entering in the direction of the prevailing move. In these situations, the Microburst can help confirm that directional participation is supporting the existing move.
Bullish continuation signals may appear when:
• Price is already trending higher.
• A pullback ends, and bullish Microburst activity expands.
• Price breaks through resistance with strong bullish lower-timeframe participation.
Bearish continuation signals may appear when:
• Price is already trending lower.
• A retracement ends, and bearish Microburst activity expands.
• Price breaks through support with strong bearish lower-timeframe participation.
⚪ Microbursts for Potential Reversals
Strong Microbursts can also appear near the end of an extended move, where unusually aggressive participation may signal a potential reversal.
For example, a strong bullish Microburst appearing after a sharp decline may indicate aggressive buying entering near a low.
Likewise, a strong bearish Microburst appearing after an extended rally may indicate aggressive selling entering near a high.
Potential reversal signals become more relevant when they appear around:
• Previous swing highs or lows.
• Support and resistance levels.
• Liquidity sweeps.
• Extended directional moves.
• Failed breakouts or breakdowns.
The Microburst itself does not determine whether price will continue or reverse. Its context relative to market structure helps determine how the signal should be interpreted.
█ Settings
Auto Lower Timeframe: Automatically selects a practical lower timeframe for Microburst detection.
Manual Lower Timeframe: Sets the lower timeframe used when automatic selection is disabled.
Volume Baseline: Controls the EMA length used to determine normal lower-timeframe volume.
Spike Threshold: Sets how far above the volume baseline a lower-timeframe candle must trade before qualifying as a spike.
Min Body Efficiency: Controls how directional a lower-timeframe candle must be before it can qualify.
Signal Threshold: Sets the Microburst Score required for bullish and bearish signals.
Session Time Zone: Controls how enabled trading session times are interpreted.
Sydney / Tokyo / London / New York: Enables or disables Microburst detection during each trading session.
New Level Cooldown: Controls how many bars must pass before another same-direction level can form.
Max Level Age: Sets how long first-burst levels may remain on the chart.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indicator

Nonparametric Relative Momentum [BackQuant]Nonparametric Relative Momentum
Overview
Nonparametric Relative Momentum is a percentile-rank oscillator that measures where the current price or momentum observation sits relative to its own recent empirical history.
Unlike conventional momentum oscillators that transform price using fixed arithmetic relationships, this indicator uses rank statistics . The current observation is compared directly against the previous values in a rolling window and converted into a percentile score from 0 to 100.
The result answers a simple question:
How extreme is the current observation relative to what this market has actually done recently?
Two calculation modes are available:
Price ranks the selected price source directly.
Momentum first measures price change across a configurable horizon, then ranks that momentum against its own recent history.
The oscillator also includes:
Mid-rank handling for tied observations.
Optional output smoothing.
An EMA signal line.
Configurable overbought and oversold zones.
Stepped intensity colouring as the rank becomes more extreme.
Main-chart candle colouring from the 50 midline regime.
Alerts for midline, extreme-zone and signal-line crossings.
Why “nonparametric”?
In statistics, a parametric method generally assumes that data can be described by a particular distribution or by parameters associated with that distribution.
A nonparametric method does not require the same distributional assumption.
Percentile ranks are a classic example.
The oscillator does not need to assume that recent price changes are:
Normally distributed.
Symmetric.
Constant in volatility.
Characterised by a stable mean and standard deviation.
Instead, it works directly from the ordering of the observed data.
If the current momentum observation is greater than almost every momentum observation in the recent window, it receives a high rank.
If it is lower than almost everything observed recently, it receives a low rank.
This makes the oscillator fundamentally relative to the market’s own recent empirical distribution.
Core calculation
The calculation occurs in three stages:
Select the series to rank.
Calculate its empirical percentile rank.
Optionally smooth that rank and calculate a signal average.
The selected ranking target depends on the Rank Target input.
Price Mode
In Price mode:
Target = Selected Price Source
The current source value is compared with the previous values in the Rank Window.
This answers:
Where is current price positioned within its recent price distribution?
A value near 100 means current price is above almost every observation in the comparison window.
A value near 0 means it is below almost every observation.
A value near 50 means it sits near the middle of its recent distribution.
Because Price mode ranks the price level itself, it behaves somewhat like a stochastic or price-position oscillator, although the calculation is based on empirical ranking rather than highest-lowest range normalisation.
Momentum Mode
Momentum mode first calculates:
Momentum = Source - Source
This measures the absolute price change across the selected Momentum Length.
The resulting momentum series is then percentile-ranked over the Rank Window.
The oscillator therefore answers:
How strong is the current momentum observation compared with recent momentum observations?
This is different from asking whether price itself is historically high or low.
For example, price can be near a recent high while momentum has weakened considerably. In that situation:
Price mode may remain highly ranked.
Momentum mode may fall toward the centre or lower half of the distribution.
Conversely, price does not need to be at a long-term extreme for momentum to rank very highly if the current change is unusually strong relative to recent movements.
Why Momentum mode is different from traditional RSI
The standard Relative Strength Index developed by J. Welles Wilder compares smoothed positive and negative price changes.
Its calculation depends on the relative magnitude of average gains and average losses.
Nonparametric Relative Momentum does not use that formula.
Instead:
A momentum observation is calculated.
That observation is ranked against its own historical sample.
For this reason, Momentum mode can be thought of as a rank-based relative momentum oscillator .
Both traditional RSI and this oscillator are bounded between 0 and 100, but the meaning of those values is different.
For example:
RSI = 90
means the balance of smoothed gains versus losses has produced an RSI reading of 90.
Nonparametric Relative Momentum = 90
means the current momentum observation ranks around the upper end of its recent empirical momentum distribution.
That distinction is important.
Percentile rank calculation
For each bar, the indicator compares the current target with every observation in the preceding Rank Window.
It counts:
How many previous values are below the current value.
How many previous values are exactly equal to it.
The percentile rank is then:
Rank = 100 × (Values Below + 0.5 × Equal Values) / Window Length
This produces an oscillator between 0 and 100.
Why use rank instead of magnitude?
Consider two markets.
Market A may normally move only 0.5% over the selected momentum horizon.
Market B may routinely move 5%.
A raw momentum threshold cannot be interpreted the same way for both.
Ranking changes the question.
Instead of asking:
How many points or percent did this market move?
the oscillator asks:
How unusual is this move relative to this market’s own recent behaviour?
This allows the same 0–100 framework to adapt naturally to different price scales and volatility regimes.
Mid-rank treatment of ties
A simple percentile implementation might count only observations strictly below the current value.
That can distort the result when repeated values occur.
This indicator uses mid-rank treatment .
If historical observations equal the current value, each tie contributes one half rather than being classified entirely above or below.
For example, suppose:
40% of observations are below the current value.
20% are exactly equal.
40% are above.
The mid-rank result is:
40 + 0.5 × 20 = 50
This places the tied observation at the centre of its equal-value group.
Mid-ranks are commonly used in rank-based statistics because they provide a more balanced treatment of ties.
Rank Window
The Rank Window determines how much historical data defines the current empirical distribution.
A shorter Rank Window:
Adapts quickly.
Responds strongly to recent regime changes.
Produces more rapid movement between percentiles.
Can create noisier extreme readings.
A longer Rank Window:
Builds the ranking from a larger sample.
Produces a more stable percentile estimate.
Makes extremes harder to reach.
Responds more slowly when market behaviour changes.
The window therefore controls the memory of the oscillator.
It does not smooth the underlying target directly. It changes the reference distribution against which the target is ranked.
Momentum Length
Momentum Length is used only when Rank Target is set to Momentum.
It controls the horizon over which price change is measured:
Momentum = Current Source - Source from Momentum Length bars ago
Shorter values:
Measure faster momentum.
React to shorter impulses.
Change direction more frequently.
Longer values:
Measure broader displacement.
Focus on more persistent movement.
Ignore more short-term fluctuation.
The Momentum Length and Rank Window perform separate roles.
Momentum Length determines what movement is measured.
Rank Window determines the historical sample against which that movement is judged.
Output Smoothing
The raw percentile rank can optionally be passed through an EMA.
A value of 1 leaves the rank effectively unsmoothed.
Higher values:
Reduce rapid rank fluctuations.
Create a smoother oscillator.
Reduce short-lived extreme readings.
Introduce additional lag.
The smoothing occurs after the percentile calculation.
It does not change how observations are ranked.
The 50 midline
The oscillator is centred around 50.
A value above 50 means the current observation ranks above the midpoint of its recent distribution.
A value below 50 means it ranks below the midpoint.
The interpretation depends on the selected mode.
Price mode above 50
Current price is positioned in the upper half of its recent price distribution.
Price mode below 50
Current price is positioned in the lower half.
Momentum mode above 50
Current momentum is stronger than roughly the middle of its recent momentum observations.
Momentum mode below 50
Current momentum is weaker relative to its recent distribution.
The indicator also uses this midline to colour main-chart candles:
Above or equal to 50 = bullish colour.
Below 50 = bearish colour.
This provides a simple relative-regime view on the price chart.
Percentile extremes
Because the oscillator represents rank rather than an unbounded magnitude, readings near 0 and 100 carry a straightforward interpretation.
Near 100
The current observation is greater than almost every value in the recent comparison window.
Near 0
The current observation is lower than almost every value.
These are empirical extremes.
They do not mean price or momentum cannot become more extreme.
A value near 100 can persist while a strong trend continues because new observations may repeatedly remain near the top of the evolving distribution.
Likewise, readings near 0 can persist during sustained downside momentum.
Overbought and Oversold zones
The default static zones are:
Overbought: 90–100
Oversold: 0–10
These are configurable.
The labels “overbought” and “oversold” describe statistical location, not guaranteed reversal conditions.
An overbought reading means:
The ranked observation is near the top of its recent empirical distribution.
An oversold reading means:
It is near the bottom.
During a range, these areas may help identify local extremes.
During a persistent trend, the oscillator can remain in an extreme zone for extended periods.
The zones should therefore be interpreted together with:
Trend context.
Price structure.
Oscillator direction.
Signal-line behaviour.
Why 90/10 instead of 70/30?
Traditional RSI commonly uses 70 and 30.
That convention does not need to apply to a percentile-rank oscillator.
A rank above 90 means the current observation is in approximately the upper tail of the recent empirical sample, while a reading below 10 represents the lower tail.
Using more extreme default zones makes them intentionally selective.
Users who want broader zones can move the boundaries toward values such as 80 and 20.
Signal line
The white Moving Average line is an EMA of the final oscillator:
Signal = EMA(Percentile Rank Oscillator, Signal Length)
This provides a slower reference against which short-term rank movement can be compared.
Oscillator above signal
The percentile rank is strengthening relative to its own recent smoothed level.
Oscillator below signal
The rank is weakening.
Crossovers can be used to identify changes in short-term momentum within the broader percentile regime.
For example:
A bullish crossover below the oversold zone can indicate rank beginning to recover from an extreme.
A bearish crossover above the overbought zone can indicate deterioration from an upper-tail reading.
A crossover near 50 may represent a more neutral momentum transition.
Signal crosses should not be interpreted independently from oscillator location.
Stepped oscillator colouring
The oscillator uses stepped colour intensity based on its position relative to the 50 midline.
Above 50, colours progressively strengthen as the percentile reaches higher levels.
Below 50, bearish intensity progressively strengthens as the percentile falls.
The main regions are approximately:
50–62.5: modest positive rank.
62.5–75: strengthening positive rank.
75–90: strong positive rank.
90–99: upper-tail extreme.
99–100: exceptional upper-tail rank.
The lower half mirrors this concept:
37.5–50: modest negative rank.
25–37.5: weakening relative state.
10–25: strong negative rank.
1–10: lower-tail extreme.
0–1: exceptional lower-tail rank.
These colours do not introduce additional calculations or signals.
They visually communicate how far the oscillator has moved into its empirical distribution.
Column presentation
The percentile oscillator is plotted as columns around a histogram base of 50.
This means:
Values above 50 extend upward.
Values below 50 extend downward from the midline.
Although the numerical scale remains 0–100, this presentation visually emphasises deviation from the centre of the distribution.
The 50 level therefore functions as the oscillator’s equilibrium reference.
Price mode versus Momentum mode
The two modes answer different questions and should not be treated interchangeably.
Price Mode
Asks:
Where is price relative to its recent distribution?
This makes it useful for:
Range position.
Breakout context.
Relative price extremes.
Stochastic-like analysis.
Momentum Mode
Asks:
Where is current price change relative to the recent distribution of price changes?
This makes it useful for:
Momentum expansion.
Momentum exhaustion.
Relative impulse analysis.
Trend-strength transitions.
Momentum mode can identify weakening momentum before price itself leaves the upper part of its distribution.
Price mode can remain elevated simply because the market is still trading near recent highs.
Example: strong uptrend
Suppose price has been rising steadily.
Price Mode may remain above 90 because current price continually sits near the upper edge of its recent range.
Momentum Mode may behave differently:
It can rise toward 100 during acceleration.
Fall back toward 50 when the trend continues at a more ordinary pace.
Drop below 50 if momentum deteriorates significantly even while price remains relatively high.
This distinction can help separate price location from momentum condition .
Example: volatility regime change
Suppose a market normally changes by only small amounts, then suddenly produces a large directional move.
Raw momentum alone shows a large number.
The percentile rank provides additional context by showing whether that movement is unusual relative to the recent distribution.
If the current momentum is greater than nearly every recent observation, the oscillator moves toward 100.
If the market has already experienced many similarly large moves, the same absolute momentum may receive a much less extreme rank.
The indicator therefore adapts automatically to changing empirical behaviour without requiring fixed momentum thresholds.
Midline crossings
A crossover above 50 indicates the ranked series has moved into the upper half of its recent distribution.
A cross below 50 indicates movement into the lower half.
In Momentum mode, these crossings can be used as a simple relative momentum regime:
Above 50 = comparatively stronger momentum state.
Below 50 = comparatively weaker momentum state.
In Price mode, they indicate whether price is above or below the central portion of its recent rank distribution.
These crossings also control the optional main-chart candle colours.
Extreme-zone crossings
The indicator provides alerts when:
The oscillator crosses upward into the overbought zone.
The oscillator crosses downward into the oversold zone.
These alerts identify entry into an extreme percentile area.
They do not indicate that the extreme has ended.
For reversal-oriented analysis, a trader may instead monitor:
A subsequent exit from the zone.
A signal-line crossover.
Divergence with price.
A break in market structure.
Divergence interpretation
Because Momentum mode ranks momentum rather than price, it can also be useful for examining momentum divergence.
For example:
Price may make a higher high while the oscillator produces a lower percentile peak.
This indicates that the latest momentum observation is less exceptional relative to its recent history than it was during the previous price high.
The reverse can occur at lows.
As with conventional divergence, this is evidence of changing momentum characteristics, not confirmation that price must reverse.
How to use the indicator
1. Relative momentum regime
In Momentum mode, use the 50 midline as a simple regime reference:
Above 50 = positive relative momentum state.
Below 50 = negative relative momentum state.
2. Momentum extremes
Use the configurable zones to identify unusually high or low momentum ranks.
Rather than automatically fading these conditions, determine whether the market is:
Trending.
Exhausting.
Breaking out.
Returning toward equilibrium.
3. Signal-line transitions
Oscillator and signal-line crosses can help identify shorter-term changes in rank direction.
The location of the crossover matters.
A bullish crossover at 5 carries different context from one at 95.
4. Price-distribution analysis
Switch to Price mode when the objective is to measure where the current market sits within its recent price distribution.
This can be useful for:
Breakout analysis.
Range positioning.
Relative high/low detection.
5. Trend confirmation
Momentum remaining consistently above 50 can support an existing bullish trend.
Momentum remaining below 50 can support a bearish trend.
Repeated oscillation around 50 indicates that relative momentum is changing sides frequently.
6. Candle regime colouring
The optional overlay candles make the oscillator’s midline state visible directly on the main price chart.
This can be useful when the oscillator pane is being used primarily for extremes and signal-line analysis.
Input guide
Rank Target
Selects what is percentile-ranked.
Price ranks the source itself.
Momentum ranks its change over the selected Momentum Length.
Rank Window
Controls the empirical comparison sample.
Longer values are smoother and statistically broader. Shorter values adapt more quickly.
Momentum Length
Controls the displacement horizon in Momentum mode.
It has no effect in Price mode.
Output Smoothing
Applies optional EMA smoothing to the percentile rank.
1 produces the raw rank.
Signal Length
Controls the EMA signal line.
Shorter values follow the oscillator more closely. Longer values produce slower crossover signals.
Overbought Zone
Sets the lower boundary of the upper extreme area.
Oversold Zone
Sets the upper boundary of the lower extreme area.
How this differs from RSI
Traditional RSI:
Separates gains and losses.
Smooths their magnitude.
Calculates a relative-strength ratio.
Transforms that ratio onto a 0–100 scale.
Nonparametric Relative Momentum:
Calculates price or momentum directly.
Ranks the current observation against historical observations.
Uses no gain/loss ratio.
Uses no assumed distribution.
The identical 0–100 scale therefore represents a different statistical concept.
How this differs from Stochastic
A conventional stochastic oscillator measures where current price lies between the highest high and lowest low of a window.
Its basic concept is:
(Current - Lowest) / (Highest - Lowest)
Nonparametric Price mode instead asks how many historical observations are below the current price.
This distinction matters because the rank considers the entire empirical ordering of the sample, not only its two extreme endpoints.
Two windows can have identical highs, lows and current price but different internal distributions.
A stochastic calculation can return the same value in both cases, while percentile rank can differ because the number of observations above and below the current price is different.
How this differs from a Z-score
A Z-score measures deviation from a mean in standard-deviation units:
Z = (Current Value - Mean) / Standard Deviation
That calculation depends directly on the sample mean and dispersion.
Percentile rank depends only on ordering.
As a result, an extreme outlier can heavily alter a mean and standard deviation but has much less influence on the ordering of the remaining observations.
This is one of the reasons rank statistics can be useful when financial data contains skew, fat tails or isolated extreme moves.
Strengths
Uses a nonparametric empirical ranking process.
Requires no assumption of normality.
Produces an intuitive bounded 0–100 scale.
Adapts naturally to the recent behaviour of each market.
Supports both price-location and momentum-ranking modes.
Uses mid-ranks for tied observations.
Normalises momentum extremes without relying on fixed point or percentage thresholds.
Includes configurable smoothing and signal analysis.
Provides direct midline regime colouring on the main chart.
Limitations
A percentile rank measures relative position, not absolute magnitude.
A reading of 100 does not indicate how much larger the current observation is than the rest of the sample.
Persistent trends can remain at extreme ranks for extended periods.
Short Rank Windows can generate rapid percentile changes.
Long Rank Windows adapt more slowly to regime shifts.
Momentum mode uses absolute source change rather than percentage return, although ranking substantially reduces scale dependence within a single instrument.
Extreme readings are not automatic reversal signals.
Signal-line crosses can whipsaw in noisy conditions.
The oscillator is reactive and does not forecast future price.
Alerts
The indicator provides alerts for:
Cross Up 50: oscillator enters the upper half of its distribution.
Cross Down 50: oscillator enters the lower half.
Overbought: oscillator crosses upward through the selected upper-zone boundary.
Oversold: oscillator crosses downward through the selected lower-zone boundary.
Bull: oscillator crosses above its signal EMA.
Bear: oscillator crosses below its signal EMA.
Summary
Nonparametric Relative Momentum converts either price or momentum into an empirical percentile rank.
Instead of asking how far an observation is from a moving average, how many standard deviations it sits from a mean, or what ratio of gains to losses produced it, the indicator asks where that observation ranks relative to its own recent history.
In Price mode, it measures the relative location of price within its historical distribution.
In Momentum mode, it first calculates price displacement across a chosen horizon and then measures how exceptional that momentum is relative to recent momentum observations.
A mid-rank procedure handles tied values, optional EMA smoothing controls visual responsiveness, and a separate signal average provides crossover analysis. The 50 midline separates the upper and lower halves of the empirical distribution, while configurable overbought and oversold zones highlight the tails.
The result is a distribution-free relative momentum framework that adapts to the observed behaviour of the market rather than relying on fixed magnitude thresholds or an assumed statistical distribution.
Indicator

Icon BotChanging privacy settingsThe Icon Bot⚡ is your automated trade-tracking companion built for killzone-based execution. It watches your session windows around the clock, tags entries the moment your setups trigger — complete with signed contract sizing based on your own risk-per-trade — and never lets a trade close without a verdict: Take Profit or Stop Loss, clearly marked, every time.
Under the hood, it's built to scale with you. Risk, reward ratio, stop distance, and position sizing are all fully adjustable and automatically recalculate for whatever instrument you're trading — jump from MNQ to Gold and your risk math stays exact, no manual re-tuning. A live multi-timeframe trend dashboard keeps you oriented across six timeframes at a glance, while a customizable session map highlights your active killzones in real time.
Every visual — entry badges, exit markers, borders, backgrounds, text — is yours to style, so the chart looks the way you want it to, not the way it shipped. And when you're ready to go hands-off, the bot speaks fluent webhook: structured alerts fire the instant a trade is confirmed, ready to plug straight into your automation stack.
Built to watch the clock, track the trade, and call the outcome — so you don't have to babysit the chart to know how you did. Indicator

IBD Style Relative Volume + Stockbee EP9MRVOL + EP9M — Time-of-Day Relative Volume with Stockbee 9M Markers
WHAT IT DOES
Two things on one volume pane:
1. Relative volume that stays honest intraday, because it paces the live bar
against an empirically measured time-of-day volume curve instead of a straight
line.
2. EP9M markers — Stockbee's institutional-participation signal — tagged
directly on the bars that qualify.
THE CORE IMPROVEMENT: TIME-OF-DAY VOLUME vs STRAIGHT-LINE VOLUME
This is the whole point of the indicator, so it is worth being precise about.
Almost every RVOL tool estimates the day's finishing volume the same way: take
what has traded so far and divide by the fraction of the session that has
elapsed. At 10:00, thirty minutes into a 390-minute session, that fraction is
30/390 = 0.077, so the tool multiplies the volume so far by roughly thirteen.
That is a STRAIGHT LINE. It assumes volume arrives at a constant rate from the
opening bell to the close.
It does not. The intraday volume profile is a U — heavy on the opening drive as
overnight order flow clears, thinning through the middle of the day, then heavy
again into the close as the auction builds. By 10:00 a normal stock has already
done far more than 7.7% of its day. Multiplying by thirteen therefore projects a
finishing volume the stock was never going to reach.
The error is not random. It is systematic, and it changes sign as the day
progresses:
Time of day Straight line says Reality RVOL therefore
-----------------------------------------------------------------------------
First hour very little done a large share done INFLATED
Early afternoon ~matches ~matches roughly honest
Final 30 minutes nearly finished auction still to DEFLATED
come
So a straight-line RVOL runs hot every morning and cold every afternoon, on every
symbol, every day. Traders learn to mentally discount the morning number — which
is really an admission that the number is measuring the clock rather than the
tape.
THIS SCRIPT REPLACES THE STRAIGHT LINE WITH A MEASURED CURVE.
Instead of assuming elapsed_time / 390, it asks a different question: on this
specific symbol, what fraction of a typical session's volume has actually been
done by this time of day? That fraction — call it U(t) — is measured from the
symbol's own recent history, and the live bar is divided by U(t).
Same arithmetic, honest divisor.
SEE IT ON YOUR OWN CHART. Turn on Show Diagnostic Rows during a live session and
compare two rows:
pct linear (v1) — what a straight-line tool would use
pct curve — what this symbol's measured profile actually says
The gap between them is the error you have been trading against. It is widest in
the first hour. You can also toggle Use Time-of-Day Volume Curve off and watch
the headline RVOL jump to the straight-line value.
HOW THE CURVE IS BUILT
For every recent complete session, the script reads that day's own intraday
sub-bars, buckets them by time of day, and normalizes each bucket by that day's
own total. Normalizing per day makes the measurement scale-free — a 30M-share day
and a 3M-share day contribute equally to the SHAPE, which is the only thing being
measured. Averaged across the lookback, this yields the cumulative curve U(t).
Because it is measured rather than assumed, the curve is specific to the symbol
on your chart. A mega-cap and a thin small cap have genuinely different profiles;
small caps in particular are far more open-weighted. A single hard-coded template
curve would be wrong for one of them.
Only complete regular sessions feed the curve. Half days and partial sessions are
excluded, so an early close cannot flatten the tail and make every afternoon look
heavy.
Session progress is read from the data feed's own most recent printed sub-bar,
not from the wall clock. The feed cannot run ahead of a halted, closed, or
early-closing market. A completed bar is never projected, so no weekend, holiday,
or after-hours reading gets inflated by a clock that thinks the session is still
running.
THE TWO READINGS
Both use the same curve-paced projected volume. They differ only in the baseline:
RVOL (Mean) — measured against the arithmetic mean of the lookback window. This
is the conventional definition and is comparable with other RVOL tools.
RVOL (Median) — measured against the median of the same window.
Why both: share volume is heavily right-skewed. A single earnings day, index add,
or halt-and-reopen sits far above the typical day and drags the mean up for the
entire lookback. Every mean-based reading inside that window is suppressed — the
stock can be trading genuinely heavy while the headline still prints near 1.0x,
which is precisely when you are watching a post-earnings name for follow-through.
The median ignores the spike.
Read them together. Close together means the baseline is clean and the headline
is trustworthy. A wide gap means the mean is contaminated and the median row is
the honest one. The median cell turns amber automatically when the mean runs at
1.25x the median or higher.
EP9M MARKERS
EP9M is Pradeep Bonde's (Stockbee) 9M breakout screen. A session qualifies when
the close is at least 4% above the prior close, volume exceeds the prior
session's, and volume is at least 9,000,000 shares. It is an absolute
participation filter — 9 million shares changing hands on a 4%+ up day is size
arriving, not retail drift — and names printing several within a month are under
sustained accumulation.
The inverse (down EP9M) flips only the price leg: 4% or more below the prior
close, with the same volume conditions.
Every threshold is adjustable. Markers offer nine shapes, five sizes, independent
up and down colors, and a vertical gap so they sit clear of the volume columns
instead of on top of them. Triangle and Arrow invert on a down day; the remaining
shapes signal direction by color alone.
PRE-MARKET VOLUME
Optional, on by default. On daily and weekly charts each bar's own pre-market
volume is summed from extended-session sub-bars and added to the plotted column,
to both baselines, and to the projection — so all three are measured on the same
basis. Only the regular-session portion is paced; the pre-market block is already
complete when the session opens and is added back as a static term.
A diagnostic row exposes raw volume alongside separately summed pre-market and
regular-session totals, so you can verify on your own data feed whether
PulseWire's volume already includes pre-market for a given symbol. This matters
more for the EP9M 9,000,000 share floor — an absolute threshold — than for RVOL,
where numerator and denominator move together and the ratio barely shifts.
SETTINGS WORTH KNOWING
- Average Volume Length — baseline window, default 50. Set to 20 to line up with
conventional 20-day RVOL.
- Use Time-of-Day Volume Curve — turning it off reverts to straight-line pacing,
which is the quickest way to see the size of the correction.
- Curve Lookback — how many complete sessions feed the curve.
- Marker Shape / Size / Gap / Colors — full control over EP9M tags.
- Show Diagnostic Rows — exposes every term feeding the calculation: pacing mode,
curve versus linear percentage, sessions accumulated, both baselines, the
mean-to-median skew, and the full volume decomposition.
LIMITATIONS, STATED PLAINLY
- The curve corrects bias, not variance. In the opening minutes the divisor is
very small and a single block trade dominates the projection. Early readings
are directionally useful, not precise. A correct divisor does not make a
five-minute sample representative.
- Mid-week exchange holidays are counted as trading days in weekly and monthly
pacing. Daily pacing is unaffected.
- Markers are drawn as labels and capped at 500 per chart; beyond that the oldest
are dropped silently.
- PulseWire volume is split-adjusted, so results on names with splits can
differ from a raw-share-count implementation of the same screen.
- Intraday timeframes pace linearly within the bar. The time-of-day curve is a
within-session shape, so it applies to daily and above.
- The curve needs several complete sessions before it engages; until then the
script falls back to straight-line pacing and reports that in the diagnostics.
CREDITS
EP9M / 9M concept: Pradeep Bonde (Stockbee).
Indicator

DeltaLens - Order Flow Zones
A single pane order flow toolkit that renders everything directly on your price chart, with no separate oscillator window and no clutter.
DeltaLens reads the tape the way professional flow desks do. It compares the aggressive energy in the market with the price result that energy produces, then paints the interesting moments as zones, bubbles and labels you can actually trade around.
The engine
The script builds a cumulative volume delta series from native footprint data when available, or from a candle direction approximation on any plan. It normalizes price and delta pressure into z scores, subtracts one from the other and scales the gap by relative volume. When this volume weighted divergence moves further than a configurable number of standard deviations from its own average, the bar is flagged as a divergence spike. Spikes are the raw material for every other element on the chart.
On top of that the script ranks every bar by effort, which is the size of the net delta scaled by how unusual the bar volume is, and by efficiency, which is how well that effort translated into price movement. Effort and efficiency together classify each spike into a climax or an absorption event.
What you see on the chart
POC zones. When a cluster of spikes finishes, the script builds a volume and delta profile across the cluster range and finds the point of control. That level is drawn as an FVG style box that extends to the right until price closes through it, exactly like an unfilled fair value gap. These boxes mark where failed aggression accumulated and they act as future support and resistance candidates.
Intra bar profiles. Optional per bin histograms on spike bars that show where inside the bar the battle happened, on a delta or volume basis.
Large aggression bubbles. Circles sized by magnitude at the price level where the largest one sided delta concentration occurred inside a bar, similar to big trades tools on dedicated order flow platforms.
Climax and absorption labels. A climax means extreme effort with high efficiency, a one sided exhaustion burst that often precedes a pause or a reversal. An absorption means extreme effort with poor efficiency, aggressive flow hitting a passive wall, which is one of the most reliable order flow tells.
Spike dots. Tiny markers above and below the candles showing the raw divergence spikes before any classification.
Tape readings. Optional delta labels above each candle and effort plus efficiency numbers below each candle for full manual tape reading.
Settings, explained
Data Source, the footprint toggle and the sub bar resolution used for profiles and bubble scanning.
Divergence Engine, smoothing length, reference lookback and the spike threshold in standard deviations.
POC Zones, zone half height as a share of the cluster range, fill transparency and the extend until traded through behavior.
Profiles, bin count and the delta or volume basis.
Bubbles, the top percent that qualifies, the minimum volume filter and transparency.
Tape Readings and Event Signals, visibility toggles plus the effort and efficiency thresholds behind climax and absorption classification.
Palette, every color on the chart.
How to use it, step by step
Pick your chart timeframe and keep the sub bar resolution one step below it so profiles have real granularity.
Watch for an absorption or climax label together with a fresh POC zone. The zone tells you where the market fought, the label tells you who was trapped.
Treat the zone as a limit order area and a stop reference. Price returning into an unfilled zone after a sell side climax is a classic long setup, and the mirror image applies for buy side climaxes.
Use the large aggression bubbles as confirmation. A bubble in the same direction as your idea at the edge of a zone adds conviction, a bubble against your idea is a reason to stand down.
Let a zone die once price closes through it. A traded through zone has done its job and should no longer be trusted as support or resistance.
Things to keep in mind
Footprint mode needs a Premium or Ultimate PulseWire plan. On lower plans the script silently falls back to the candle direction approximation and still works, with less precision.
The tool works on any liquid symbol with real volume. On symbols without volume data the script raises an error on purpose.
Zones and labels are context, not buy or sell orders by themselves. Always combine them with your own trend, session and risk framework.
Divergence spikes are frequent in news windows and thin liquidity. Consider raising the spike threshold in standard deviation units if your instrument is noisy.
All thresholds, colors and visibility toggles are in the settings, so you can strip the chart down to only the layers you trade.
// core spike condition, for the curious
pressSig = (zscore(cvd) - zscore(close)) * relativeVolume
spike = abs(pressSig - sma(pressSig, lookback)) > k * stdev(pressSig, lookback)
DeltaLens is a research and education tool. Nothing in this script is financial advice, and no indicator can guarantee future results. Test everything on your own instruments and size your risk accordingly.
Feedback and ideas are welcome in the comments. If the tool earns a place on your chart, a like helps other traders find it. Indicator

SMC Institutional Clean Wave & Structure PROSMC Institutional Clean Wave & Structure PRO
SMC Institutional Clean Wave & Structure PRO is a refined technical analysis indicator engineered to provide institutional order flow insights, precise market structure tracking, and uncluttered visual clarity on both light and dark trading themes. It replaces unnecessary chart noise with clean dynamic trend wave fills, smart consolidation candle color detection, and confirmed structure shifts.
Key Features Overview
1. Dynamic Single Trend Wave & Background Fill
Provides a smooth continuous structural trend wave. Renders vibrant green during bullish expansion phases and solid red during bearish contraction phases with a soft, unobtrusive background fill.
2. Smart Consolidation Candle Engine
Automatically highlights price action state. Bullish candles render in bright green, bearish candles in red, while tight consolidation or inside bar candles dynamically shift to a distinct grayish-white color to quickly highlight market compression.
3. Clean Market Structure Shifts (BOS & CHoCH)
Tracks key market structure breakouts. Identifies initial trend reversals as Change of Character (CHoCH) and structural extensions as Break of Structure (BOS), rendered with centered non-overlapping labels.
4. Confirmed Major Swing BUY & SELL Badges
Highlights major institutional high and low pivots with confirmed BUY and SELL badges. Pivot sensitivity and badge styling can be customized independently.
5. Target Standard Deviation Level (-2.5 SD)
Calculates real-time structural volatility and projects a dynamic -2.5 Standard Deviation Target line to help anticipate key potential market reaction levels.
Settings Overview
Trend Wave Settings
- Show Trend Wave Line: Toggle wave line and fill display.
- Colors & Opacity: Adjust trend line colors and background opacity.
Candle Engine Settings
- Enable Smart Candle Color Engine: Toggle adaptive candle colors.
- Custom Colors: Define unique colors for bullish, bearish, and inside bars.
Structure Settings
- Show BOS & CHoCH Shifts: Toggle structure labels.
- Structure Sensitivity: Fine-tune pivot detection rules for cleaner charts.
Signal Badges
- Show Confirmed BUY / SELL Badges: Toggle buy and sell markers.
- Signal Swing Sensitivity: Adjust lookback periods for pivot signals.
Standard Deviation Settings
- Show -2.5 SD Target Line: Toggle volatility target line.
- Custom Style: Adjust line thickness, color, and line style options.
Disclaimer
This script is built strictly for educational, analytical, and charting enhancement purposes. It does not offer financial advice or guaranteed trading results. Practice strict risk management.
Indicator

Indicator

SMC Confluence + EMA 9/15 + Fib 0.5Smart Money Concepts (SMC) Confluence Framework with Dual EMA & Equilibrium FilterExecutive SummaryThe SMC Confluence Framework is a multi-layered quantitative trading system engineered for Pine Script v6. It bridges the gap between retail momentum indicators and institutional order flow principles by deploying a strict algorithmic checklist. By cross-referencing Market Structure Shifts (CHoCH), Discount/Premium Pricing Zones, Imbalance Triggers (FVG), and Moving Average Crossovers, this tool completely eliminates emotional trading and filters out high-risk market noise.Technical Architecture & Core Modules1. Algorithmic Market Structure (CHoCH)Pivot Mechanism: Utilizes an optimized ta.pivothigh() and ta.pivotlow() matrix to isolate historical swing highs and lows, removing transient price action.Precision Visualization: Once a structural breakout occurs on a candle close, the script projects a mathematically precise, horizontal dashed vector exactly 1 bar forward ($1x$) along with an automated label alignment vector positioned cleanly underneath the break level.2. Dynamic Equilibrium Pricing Matrix (Fib 0.5)Equation Logic: Continuously solves for the central mathematical mean between active market extremes:$$\text{Equilibrium (Eq)} = \frac{\text{Swing High} + \text{Swing Low}}{2}$$Discount Phase (Buy Zone): Restricts long entries exclusively to price coordinates trading below the $0.5$ threshold, guaranteeing deep discount execution.Premium Phase (Sell Zone): Restricts short entries exclusively to price coordinates trading above the $0.5$ threshold, maximizing premium distribution value.3. High-Velocity Momentum Filter (Dual Exponential Moving Averages)9 EMA (Fast Velocity Vector): Visualized in high-visibility yellow, parsing immediate micro-trend direction.15 EMA (Slow Structural Vector): Visualized in crisp white, serving as dynamic trailing support and resistance.Trend Synchronization: Acts as a strict execution gatekeeper; long entries are blocked unless $\text{EMA 9} > \text{EMA 15}$, and short entries are blocked unless $\text{EMA 9} < \text{EMA 15}$.4. Institutional Liquidity & Imbalance EngineExecution triggers require a verified institutional footprint before generating a signal:Liquidity Hunting (Sweeps): Scans a historical 20-candle lookback window. Captures stop-run anomalies where price pierces structural liquidity extremes but forcefully closes back within the value range.Fair Value Gaps (FVG): Tracks displacement imbalances caused by institutional algorithmic orders, looking for unmitigated three-candle price gaps where $\text{Low} > \text{High} $ (Bullish) or $\text{High} < \text{Low} $ (Bearish).Strict Confluence Matrix (Execution Rules)🟢 System Buy Trigger (Confirmed Long)An execution-grade BUY Triangle prints if and only if the following logical constraints return true:Trend Orientation: Active bias is structural upside ($\text{Trend} = 1$) verified by a Bullish CHoCH.Pricing Efficiency: The execution candle is positioned firmly within the Discount Zone ($\text{Close} < \text{Eq}$).Velocity Confirmation: The fast exponential trend vector is above the slow vector ($\text{EMA 9} > \text{EMA 15}$).Institutional Footprint: A verified internal Bullish FVG or a successful demand-side Liquidity Sweep occurs.🔴 System Sell Trigger (Confirmed Short)An execution-grade SELL Triangle prints if and only if the following logical constraints return true:Trend Orientation: Active bias is structural downside ($\text{Trend} = -1$) verified by a Bearish CHoCH.Pricing Efficiency: The execution candle is positioned firmly within the Premium Zone ($\text{Close} > \text{Eq}$).Velocity Confirmation: The fast exponential trend vector is below the slow vector ($\text{EMA 9} < \text{EMA 15}$).Institutional Footprint: A verified internal Bearish FVG or a successful supply-side Liquidity Sweep occurs.Performance & Configuration NotesArchitectural Standard: Fully compiled in Pine Script v6 utilizing optimized object variable allocation to ensure lag-free rendering.Optimized Timeframes: Highly accurate on structural macro/micro intraday intervals ($5\text{m}$, $15\text{m}$, $1\text{h}$).Asset Compatibility: Built for high-liquidity environments including Major Fiat Pairs (FX), Crypto Majors (BTC, ETH), Spot Gold (XAUUSD), and Equity Index Derivatives (SPX, NDX Indicator

Institutional Flow & Liquidity Standard Matrix PROInstitutional Flow & Liquidity Standard Matrix PRO
Institutional Flow & Liquidity Standard Matrix PRO is a clean, quantitative technical analysis script designed for professional traders, technical analysts, and institutional strategy building. It removes superficial chart clutter and replaces it with actionable structure tracking, daily liquidity boundaries, volatility standard deviation bands, and custom execution zones.
Key Features Overview
1. Precision Market Structure Tracking (HH, HL, LH, LL)
Maps valid market structure pivots with Higher High (HH), Higher Low (HL), Lower High (LH), and Lower Low (LL) markers. Includes an independent customization panel to toggle label text, adjust font sizes, background colors, and text colors.
2. Previous Day Liquidity Levels (PDH & PDL)
Projects key daily reference lines for Previous Day High (PDH) and Previous Day Low (PDL) automatically anchored off price action without interfering with historical candles.
3. Standard Deviation Volatility Bands
Features volatility extension bands based on standard deviation logic to isolate statistical overbought and oversold price expansion extremes.
4. Dual Moving Average Trend Alignment
Incorporates a fast and slow moving average framework that aligns price candlesticks dynamically based on macro order flow bias. Downward market trends render in clean solid red shades.
5. Customizable Execution Rectangle Zones
Maps key structural supply and demand rectangles with full manual controls over border colors, border thickness, fill transparency, and zone placement.
Settings Overview
Previous Day Liquidity Settings
- Show Previous Day High & Low: Toggle PDH and PDL reference levels.
- Line Customization: Adjust line style (Solid, Dashed, Dotted), thickness, and colors.
Swing Structure Settings
- Show Structure Labels: Toggle HH, HL, LH, and LL swing markers.
- Show Label Text: Check or uncheck to hide text while keeping clean background badges.
- Colors & Font Size: Adjust background colors, text colors, and font sizes.
Standard Deviation Settings
- Show Standard Deviation Bands: Toggle volatility bands.
- Multipliers & Width: Adjust band multiplier sensitivity and line thickness.
Execution Zone Settings
- Show Structure Execution Zones: Toggle supply and demand boxes.
- Border & Transparency: Customize fill opacity, border width, and border colors.
Disclaimer
This script is built strictly for educational, analytical, and charting enhancement purposes. It does not provide financial advice, trade recommendations, or guaranteed results. Always practice proper risk management. Indicator

Essence ModelEssence Model — Bias - 7H Profiles - Entries
A complete, open-source implementation of my understanding of the Essence Model — a session-based intraday framework built on rytrades' teachings, extended with the 7-hour daily-profile taxonomy taught by AM Trades. The script reads the day the way the model does: previous day sets the bias, the overnight sessions validate or break it, the 7h profile names the day, and entries only exist where all of it lines up.
Daily Bias
The previous day's candle sets the directional bias. A fib from its high→close (bearish) or low→close (bullish) marks the 25% and 50% — bias stays valid while completed 210-minute candles respect the 25%. A close through it doesn't kill the day: the reversal framework flips the working direction ( "yesterday's 25% was broken to the upside — expecting higher" ), re-points the projections, and un-flips only if the 25% is reclaimed while the 50% held.
7H Frameworks & Profiles
Every day is classified on the 18:00 / 01:00 / 08:00 ET session grid:
F1 — Asia manipulates a valid level, London expands
F2 — London manipulates the Asia extreme, NY delivers
F3 — London protracts into a level, NY reverses
F4 — NY sweeps a London extreme; the candle's own close decides reversal vs continuation
P1 / P1B — the continuation profiles (Asia trends; London expands or coils)
P4 / P4B — the aligned day NY reverses, with or without the sweep
Frameworks are verified, not just assigned : a disproven read (London closing against an F1, NY breaking an F2/F3's level) is cleared and the day re-classified, with the audit trail shown. Valid levels come from previous-day extremes, daily swings, daily FVGs, and untaken weekly/monthly levels.
Confirmation Layer
The 210m is the model's confirmation timeframe: NY-phase decisions resolve on completed 210m candles, a 210m sweep-and-reclaim confirms the extreme of day ( LOD Asia✓ ), and cross-asset SMT (auto-paired for index futures, metals, forex, energy, treasuries, crypto) is drawn on the 1H / 210m / 7H mini-panels and stamps +SMT on confirmed extremes. An ADR exhaustion guard stands entries down when the overnight already consumed the day's range.
Entries
Protected-swing entries in the working direction: a CISD or a reversal signature ( RC / EC / IRC ) at its close — but only when a qualifying event ( SMT · FVG · LQ · C2 ) fired first inside the reversed leg. Event first, trigger after. The diamond marks the protected swing: entry at close, stop at the swing, 1R/2R drawn, invalidated the moment the swing is closed through. Default window 09:00–10:30, fully configurable.
Chart Elements
Quarter levels with projections, session shading and dividers, 8–9 AM range, daily FVG zones, floating 1H/210m/7H candle panels with sweep lines and SMT, framework header, and a five-line status readout (pair · bias state · setup grade · framework · ADR fill).
Credits
Concepts by rytrades (Essence Model) and AM Trades (7h profiles), with session-profile reads popularized by Hudson Trades. CISD / protected-swing engine adapted from my own open-source "Universal Po3 Profiler × CIC " (MPL-2.0). Asset pairing via fstarcapital/AssetCorrelationUtils. Published open-source under MPL-2.0.
Educational tool — nothing here is financial advice. Indicator

SMC Liquidity Sweep Swing High/Low [JPT]🔷 OVERVIEW
Liquidity Sweep Reversal Engine is a price-action indicator designed to identify potential reversal setups after price sweeps confirmed swing highs or swing lows and rejects the liquidity level.
The indicator combines swing structure, liquidity sweep detection, rejection candles, trend confirmation, displacement, and optional volume analysis to filter potential LONG and SHORT setups.
After a confirmed signal, the indicator automatically provides a trade plan with:
• Entry level
• Stop Loss
• TP1 / TP2 / TP3
• Risk-Reward levels
• Signal score
🔷 CONCEPTS
Liquidity Sweep Detection
The indicator tracks confirmed swing highs and lows as potential liquidity areas.
• Buy-side liquidity sweep → price takes a previous swing high and rejects below it → SHORT bias.
• Sell-side liquidity sweep → price takes a previous swing low and rejects above it → LONG bias.
Rejection Confirmation
A sweep can be filtered using:
• Close back through the liquidity level
• Rejection wick
• Minimum wick percentage
• Candle direction
Trend Confirmation
An optional EMA filter helps align signals with the current market direction.
Displacement
The indicator can require a minimum candle-body size relative to ATR to help filter weak price movements.
Volume Filter
Optional relative-volume confirmation can be enabled to identify sweeps occurring with increased market participation.
🔷 FEATURES
1. Swing Liquidity Detection
• Automatic swing high/low detection
• Buy-side and sell-side liquidity levels
2. Liquidity Sweeps
• High sweep detection
• Low sweep detection
• Rejection confirmation
3. Signal Filtering
• EMA trend filter
• Displacement filter
• Optional volume filter
• Signal score from 1–5
4. Trade Management
• Automatic Entry
• ATR-based Stop Loss
• TP1 / TP2 / TP3
• Custom Risk-Reward ratios
5. Visuals
• Liquidity lines
• Swing labels
• LONG / SHORT labels
• Entry / SL / TP levels
6. Alerts
• LONG signal
• SHORT signal
• TP1 / TP2 / TP3
• Stop Loss
🔷 APPLICATIONS
1. Liquidity Sweep Reversals
Identify potential reversal opportunities after price takes liquidity above a swing high or below a swing low.
2. Market Structure Mapping
Use confirmed swing levels to visualize important liquidity areas and potential reaction zones.
3. Signal Filtering
The optional trend, displacement, volume, and score filters can help reduce weaker setups.
4. Trade Planning
The built-in Entry, Stop Loss, and multiple Take Profit levels provide a structured framework for evaluating trades.
🔷 NOTES
• Lower pivot settings generate more signals and may produce more noise.
• Higher pivot settings identify larger structural liquidity levels.
• Liquidity sweeps do not guarantee reversals.
• Signal confirmation occurs on the closed candle.
• Always evaluate signals within the broader market structure and apply appropriate risk management. Indicator

Support & Resistance Zones [HexaTrades]
This indicator automatically finds the price levels where the market has turned around before the places where buyers stepped in (support) and where sellers took over (resistance) and draws them as clean rectangular zones on your chart.
Instead of a thin line, each level is drawn as a zone with real thickness, because support and resistance are never one exact price; they are areas where price reacts. The zones update live, extend forward as long as they are valid, and turn into light "ghost" boxes once price finally breaks through them, so you always keep the full picture of the market's history.
Bitcoin 4h: the indicator marking support and resistance zones
How it works
- Finds swing points. A swing high is a candle whose high is higher than the 10 candles on each side of it (the "Swing Length" setting). A swing low is the same idea upside down. These are the exact spots where the market turned.
- Builds a zone from the candle. The zone covers the candle's wick from the extreme tip to the candle body. That wick is where orders actually pushed price back, so it becomes the zone.
- Keeps zone size sensible. Very small wicks get padded to a minimum height, and no zone can grow taller than a maximum height (both measured in ATR, so they adapt automatically to each market's volatility).
- Merges duplicate levels. If a new swing forms at a level that already has a zone, the two are combined into one box instead of stacking clutter on your chart.
- Watches for breaks. When a candle closes beyond a zone, the zone is "broken." what happens next is up to you (see below).
What happens after a zone breaks?
The indicator provides three different zone-management options.
Keep As Past Zone: The broken zone stops extending and remains visible as a faded historical zone. This makes it easier to review how price behaved around previous levels.
Flip Support/Resistance: A broken resistance zone becomes support, while a broken support zone becomes resistance.
This is useful for studying the common market concept of role reversal, where old resistance may act as new support and old support may act as new resistance.
Delete Zone: The zone is completely removed after it breaks. This option is useful for traders who prefer a cleaner chart showing only active zones.
Optional volume filter:
Volume-Confirmed Zones Only can be enabled to filter out lower-volume swing points.
When enabled, the volume of the swing candle must be higher than: Average Volume × Volume Multiplier
For example, with a Volume Multiplier of 1.2, the swing candle’s volume must be greater than 120% of its average volume.
The volume filter is automatically ignored when volume data is unavailable. Volume quality can vary between markets, exchanges and brokers.
Indicator settings
- Swing Length: Controls how significant a swing must be. Lower values create more zones, while higher values create fewer but potentially more significant zones.
- Maximum Zones: Limits the number of active zones displayed. When the limit is exceeded, the oldest active zone is removed.
- ATR Length: Sets the calculation period used to measure volatility.
- Minimum Zone Height: Sets the minimum zone thickness as a multiple of ATR.
- Maximum Zone Height: Prevents zones from becoming excessively wide.
- Merge Overlapping Zones: Combines overlapping or nearby active zones.
- Merge Distance: Controls the ATR-based distance used when deciding whether zones should be merged.
- Maximum Past Zones: Limits how many broken historical zones remain on the chart.
- Past Zone Transparency: Controls how clearly broken zones are displayed.
Alerts
- Built-in alerts
- Zone Touched — price entered a support or resistance zone.
- Resistance Broken — a candle broke above a resistance zone.
- Support Broken — a candle broke a support zone below.
- Set them up from PulseWire's alert dialog: Create Alert → Condition → S/R Zones.
How to use it in trading
🔶Bounce trades: when price falls into a support zone and prints a rejection candle, that's a long setup with a stop just below the zone.
A blue support zone represents an area where buyers previously entered the market.
When price returns to support:
- Wait for price to enter or test the zone.
- Look for evidence that buyers are responding.
- Consider an entry only after confirmation.
- Place the stop beyond the opposite side of the zone, with an appropriate buffer.
- Use the next resistance zone as a possible target.
Possible bullish confirmation includes:
- A candle rejecting the lower part of the zone.
- A long lower wick followed by a bullish close.
- A bullish engulfing candle.
- Price closing back above the support zone.
- Increasing volume during the reaction.
- A higher low forming near the zone.
A support touch by itself is not a long signal. Price can move directly through the zone, especially during a strong downtrend.
Example image below:
🔶Rejection from resistance
A pink resistance zone represents an area where sellers previously entered the market.
When price reaches resistance:
- Wait for price to test the zone.
- Look for signs of selling pressure.
- Consider an entry only after bearish confirmation.
- Place the stop beyond the upper edge of the zone, with a suitable buffer.
- Use the next support zone below as a possible target.
Possible bearish confirmation includes:
- A long upper wick inside the resistance zone.
- A bearish engulfing candle.
- Price entering the zone and closing back below it.
- A lower high forming near resistance.
- Increasing selling volume during the rejection.
A resistance touch alone is not a short signal. Strong bullish momentum can break through resistance without producing a meaningful reversal.
Example image:
🔶Trading a breakout
A breakout occurs when price moves beyond an active zone.
- A break above resistance may indicate increasing bullish strength.
- A break below support may indicate increasing bearish strength.
For more conservative confirmation, select Close under Break Confirmation. In this mode, a resistance zone breaks only after a candle closes above it, while a support zone breaks only after a candle closes below it.
The Wick option reacts as soon as price trades beyond the zone. It responds faster but is more sensitive to temporary spikes and false breakouts.
Before considering a breakout trade, traders may look for:
- A strong candle closing beyond the zone.
- A candle body that closes clearly outside the zone.
- Higher-than-average volume.
- Momentum in the breakout direction.
- Alignment with the broader market trend.
- A successful retest of the broken zone.
🔶Trading a role reversal
Support and resistance can sometimes exchange roles after a breakout.
-Broken resistance may later act as support.
- Broken support may later act as resistance.
Select Flip Support/Resistance under the When Broken setting to display this behaviour automatically.
For example, after price closes above a pink resistance zone, the indicator converts that area into a blue support zone. If price later returns to it, traders can watch for a bullish reaction.
Similarly, when price breaks below blue support, the indicator converts the zone into pink resistance. A later retest may provide an area to watch for bearish confirmation.
Role reversal is a commonly observed price-action concept, but it does not occur successfully after every breakout. Wait for confirmation instead of entering only because price has returned to a flipped zone.
🔶Using zones for targets and stops
Zones can also help organise trade management.
For a long setup:
- A stop may be placed below the support zone.
- The next resistance zone may be used as an initial target.
- A higher resistance zone may be considered as a secondary target if momentum remains strong.
For a short setup:
- A stop may be placed above the resistance zone.
- The next support zone may be used as an initial target.
- A lower support zone may be considered as a secondary target.
Avoid placing the stop exactly on the edge of a zone. Price may briefly move beyond the boundary before reacting. The appropriate buffer depends on the symbol, timeframe, volatility and the trader’s risk plan.
Always calculate the potential risk and reward before entering a trade. A visible zone does not automatically make a setup worth taking.
🔶 Using multiple timeframes
Higher-timeframe zones can provide broader market context, while lower timeframes can help refine entries.
A simple process is:
- Identify important support and resistance on a higher timeframe.
- Determine whether the broader structure is bullish, bearish or ranging.
- Move to the preferred trading timeframe.
- Wait for price to reach a relevant zone.
- Use candle structure, volume or momentum for confirmation.
Higher timeframes generally produce fewer but more widely watched zones. Lower timeframes produce more zones and may contain more market noise.
Support and Resistance Zones help traders identify and manage important price areas with less chart clutter. Its volatility-based sizing, zone merging, break confirmation, role reversal, and alerts make it suitable for different markets and timeframes. Use the zones as areas to watch—not automatic trade signals and always combine them with price confirmation, broader market structure and proper risk management.
We would love to hear your suggestions. If you have ideas for new features, indicators, analytics, or improvements, please share your feedback. Your input helps guide future updates and improve the indicator for all traders.
Wedge pattern detector indicator is for educational and analytical purposes only. It is not financial advice. Trading involves risk. Always use proper risk management and combine this indicator with your own analysis before taking any trade.
Indicator

Trend Angle Momentum [MarkitTick]💡 This tool measures market structure not just as a sequence of highs and lows, but as a rate of directional change. It detects confirmed swing pivots and then calculates the geometric angle of the trendline connecting each pivot to the one before it, translating pure price action into a single, intuitive metric: degrees of trend steepness. Instead of asking traders to infer momentum from candle shape or oscillator divergence, it hands them a number — the actual angle of ascent or descent between structural turning points — along with an optional smoothed reading of how that angle is evolving over time.
✨ Originality and Utility
Most swing-detection tools stop at marking the high or low. This script goes a step further by quantifying the relationship between consecutive swings using trigonometry. Each swing-to-swing move is converted into a percentage price change, which is then run through an arctangent function to produce a true geometric angle in degrees, independent of the instrument's absolute price scale. A move on a $2 stock and a move on a $2,000 stock that share the same percentage steepness will report the same angle, making the readings comparable across symbols and timeframes in a way that raw price-based slope calculations cannot achieve.
The utility here is twofold. First, the angle itself acts as a quantified momentum proxy: a shallow angle after a strong prior swing signals decelerating momentum well before a lagging oscillator would confirm it, while a steepening angle on successive swings signals acceleration. Second, an optional Angle Momentum layer tracks a rolling average of the last several swing angles, smoothing out single-swing noise and revealing whether the broader structural rhythm of the market is strengthening or weakening. This combination — geometric normalization plus rolling angle smoothing — gives traders a structural momentum read that is not available from stock pivot tools or generic slope indicators alone.
🔬 Methodology and Concepts
• Confirmed Pivot Detection
The script identifies swing highs and swing lows using a symmetric fractal method: a bar is only confirmed as a pivot high if it is higher than a defined number of bars to its left and right, and likewise for a pivot low. The "Left Bars" and "Right Bars" inputs control how many bars on each side must confirm the extreme. Because the right-side bars must fully close before a pivot can be validated, every pivot marked on the chart is confirmed historical structure, not a live, moving estimate — the marker is deliberately plotted with a backward offset equal to the right-bar count so that its horizontal position matches where the actual swing extreme occurred, not where it was confirmed.
• Percent-to-Angle Conversion
Once two consecutive confirmed pivots of the same type (high-to-high or low-to-low) are available, the script calculates the percentage price change between them. This percentage is then optionally normalized by the number of bars separating the two pivots (via the "Normalize Angle by Bars" input), which converts the reading from "how much did price move" into "how much did price move per bar," a more useful measure of steepness when swings vary widely in duration. The resulting rate is passed through an arctangent function and converted from radians to degrees, producing a bounded, intuitive angle: values approaching plus or minus ninety degrees represent extremely steep percentage moves, while values near zero represent flat, sideways structure.
• Angle Momentum (Optional Smoothing Layer)
When enabled, the script maintains a running array of the most recent swing angles (separately for highs and lows) and reports their simple average over a user-defined lookback length. This produces a second-order reading: rather than looking at a single swing's angle in isolation, it shows whether the sequence of recent swing angles is, on average, steep or shallow, positive or negative — a way of gauging whether structural momentum is building or fading across several swings rather than just the most recent one.
• Live Dashboard
A compact on-chart table continuously summarizes the last confirmed high pivot price, the last confirmed low pivot price, the most recent high-swing angle, the most recent low-swing angle, and whether Angle Momentum smoothing is currently active, giving traders a persistent numerical snapshot without needing to hover over chart objects.
🎨 Visual Guide
Diagonal trend lines connecting consecutive swing highs (default red/green by angle sign) and consecutive swing lows are drawn directly between the two pivot points, visually representing the geometric slope being measured.
A small numeric label at the midpoint of each swing line displays the calculated angle in degrees, colored green for a positive (upward) angle and red for a negative (downward) angle by default.
When Angle Momentum is enabled, an additional label appears at the most recent pivot showing the smoothed "Mom" value in a distinct color (orange for highs, blue for lows by default), separated visually from the raw single-swing angle label.
Cross-style markers plot at each confirmed pivot high and pivot low directly on price, offset backward to align with the actual bar where the extreme occurred.
The dashboard table (position configurable) shows the symbol, timeframe, last high and low pivot prices, the latest angle readings for each, and the current on/off state of Angle Momentum.
📖 How to Use
Treat the angle label on each swing line as a normalized momentum reading for that specific leg of price action: steep angles indicate strong directional conviction, shallow angles indicate a weakening or consolidating move.
Compare the angle of the most recent swing to the angle of the swing before it. A sequence of progressively shallower high-to-high angles during an uptrend can indicate fading bullish momentum even while price is still making new highs, a structural early warning that pure price action alone may not show.
When Angle Momentum is enabled, use the smoothed "Mom" reading as a broader confirmation layer: a rising average angle across several swings supports the idea that momentum is genuinely building, rather than reacting to a single outlier swing.
Divergences between price structure and angle behavior — for example, higher swing highs paired with a declining angle momentum reading — can be used as a discretionary caution signal ahead of a potential trend deceleration.
The two alert conditions ("High Pivot Formed" and "Low Pivot Formed") can be used to build automated or semi-automated workflows that trigger only once a swing point is fully confirmed, rather than on every bar.
⚠️ Confirmation Lag Notice
All pivots and their associated angle calculations are confirmed structure. Because a pivot cannot be validated until the required number of bars on its right side have closed, every marker, line, and label is necessarily plotted a number of bars after the actual high or low occurred, equal to the "Right Bars" setting. The plotted markers are intentionally offset backward to align visually with the true location of the swing extreme — this does not mean the indicator is predicting or anticipating pivots in real time. Traders should treat swing confirmations as lagging structural events by design, not as leading signals.
⚙️ Inputs and Settings
Left Bars / Right Bars: Define the symmetric lookback and lookahead window used to validate a swing high or low. Larger values filter out minor fluctuations and confirm only more significant structural turning points, at the cost of a longer confirmation delay. Smaller values confirm pivots faster but are more sensitive to short-term noise.
Show High Swing Lines / Show Low Swing Lines: Independently toggle the diagonal trend lines connecting consecutive high or low pivots.
Show Swing Point Dots: Toggles the cross markers plotted directly at each confirmed pivot price.
Normalize Angle by Bars: When enabled, divides the percentage move between two pivots by the number of bars separating them before calculating the angle, producing a "steepness per bar" measure rather than a raw total-move angle. Useful for comparing swings of different durations on a more equal footing.
Use Angle Momentum: Enables the rolling average smoothing layer over the last several swing angles, plotted as an additional label at each new pivot.
Angle Momentum Length: Sets how many recent swing angles are averaged together for the smoothed momentum reading. Shorter lengths react faster to recent swings; longer lengths produce a smoother, slower-changing average.
Dashboard Position / Show Dashboard: Controls visibility and screen placement of the summary table.
High Pivot Action / Low Pivot Action: Custom text tags embedded into the JSON alert payload for each pivot type, useful for routing alerts to external automation systems that key off a specific action string.
Color inputs: Independently control the color of swing lines, angle text, pivot cross markers, momentum labels, and dashboard theming to match personal charting preferences.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The core of this indicator rests on classical trigonometric slope analysis rather than any single named technical analysis school. Converting a price move into an angle is mathematically equivalent to computing the arctangent of a rate of change, the same operation used broadly in engineering and physics to express a gradient as an angular measure rather than a raw ratio. Expressing the swing-to-swing move as a percentage change before applying the arctangent function normalizes the calculation across instruments of different absolute price levels, addressing a well-known limitation of naive "price-per-bar" slope measures, which are not comparable between a low-priced and high-priced instrument, or between two different timeframes without adjustment. The optional bar-normalization step draws on the same logic used in rate-of-change and momentum oscillators broadly, where a raw price delta is scaled by the time or bar interval over which it occurred to produce a comparable velocity-style reading rather than a simple magnitude.
The pivot detection mechanism itself is a fractal/symmetric extremum test, a widely used method in swing-structure analysis (related in spirit to Bill Williams' fractal indicator and to classical Dow Theory's emphasis on confirmed swing highs and lows as the building blocks of trend structure) that requires a candidate bar to dominate a defined number of bars on both sides before being accepted as a genuine local extremum. This symmetric confirmation requirement is a standard technique for filtering transient noise out of swing-point identification, at the deliberate cost of confirmation lag, a well-documented trade-off in any lookback-based extremum detection method. The Angle Momentum layer applies a simple moving average — one of the most foundational smoothing techniques in time-series analysis — to the sequence of discrete angle readings themselves rather than to price, effectively treating "swing angle" as its own derived data series and smoothing it the same way a moving average would smooth a price or oscillator series, in order to separate signal (the underlying trend in momentum) from noise (single-swing outliers).
⚠️ 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

Indicator

Positioning Flow Index by DGTPositioning Flow Index (PFI) - Price & Open Interest Positioning Analysis
Positioning Flow Index (PFI) is a positioning-analysis framework designed to evaluate how price movement and Open Interest interact to reveal changes in market participation and positioning.
Rather than interpreting price direction alone, PFI combines normalized Price and Open Interest changes to identify four distinct positioning regimes:
Long Buildup - Short Buildup - Short Covering - Long Unwinding
The indicator evaluates the magnitude and direction of both Price and Open Interest through Z-score normalization , allowing unusually strong changes to be distinguished from ordinary market fluctuations.
In addition to the Positioning Flow Index itself, PFI provides a Flow State , Signal Strength , Price Sentiment , and an optional State Ribbon to help traders interpret the underlying positioning environment.
The objective is not to produce a simple Buy or Sell signal, but to provide a structured view of whether price movement is being accompanied by increasing or decreasing market participation and how strongly those two dimensions are aligned.
The Positioning Flow Model
Price + Open Interest
Price and Open Interest provide two different perspectives on market behavior.
Price describes the direction and relative strength of the current price movement.
Open Interest describes the change in outstanding derivative positions and provides an additional dimension for evaluating whether market participation is expanding or contracting.
PFI normalizes both dimensions using Z-scores , measuring how unusual the current Price and Open Interest changes are relative to their recent history.
A positive Z-score indicates a move above its recent average, while a negative Z-score indicates a move below its recent average.
This allows the indicator to distinguish between ordinary price/OI fluctuations and more statistically unusual changes in positioning.
Flow State
The Flow State classifies the relationship between Price and Open Interest into four positioning regimes.
LONG BUILDUP (LB)
Price is rising while Open Interest is increasing.
This combination indicates upward price pressure accompanied by expanding participation, a condition commonly associated with new long positioning.
SHORT BUILDUP (SB)
Price is falling while Open Interest is increasing.
This indicates downward price pressure accompanied by expanding participation, commonly associated with new short positioning.
SHORT COVERING (SC)
Price is rising while Open Interest is decreasing.
Price is moving upward while outstanding positions contract, a condition commonly associated with short positions being closed.
LONG UNWINDING (LU)
Price is falling while Open Interest is decreasing.
Price is moving downward while outstanding positions contract, a condition commonly associated with long positions being closed.
When Price and Open Interest do not both exceed the required activity threshold, the market is classified as NEUTRAL .
Neutral does not mean that the market is inactive. It means there is insufficient synchronized Price + Open Interest evidence to assign one of the four directional positioning states.
Positioning Flow Index
The Positioning Flow Index provides a bounded -100 to +100 representation of positioning flow.
Its calculation combines the normalized Open Interest and Price changes through a selectable Flow Model.
Model A — OI × sign(Price)
Open Interest determines the magnitude of the flow while Price determines its direction.
This model emphasizes participation strength and can produce a strong reading even when the price movement itself is relatively small.
Model B — OI × Price
The Open Interest and Price Z-scores are multiplied directly.
This captures the interaction between both dimensions, but unusually large Price Z-scores can have a greater influence on the resulting flow.
Model C — Price Direction × OI Magnitude × Price Confirmation
Price determines directional pressure, Open Interest determines participation magnitude, and the absolute Price Z-score contribution is capped to reduce the influence of extreme price moves.
This model separates the directional role of Price from the participation role of Open Interest and is the default model.
The three models are intentionally provided as different ways of interpreting the same underlying Price/OI relationship rather than as competing signals.
Signal Strength
Not every Flow State carries the same level of evidence.
PFI therefore calculates a Signal Strength based on two independent components:
Participation — derived from the magnitude of the Open Interest Z-score.
Confirmation — derived from the magnitude of the Price Z-score.
Both components are capped at 2σ and combined using their geometric mean:
Signal Strength = √(Participation × Confirmation)
The result is expressed as a percentage and provides a measure of how strongly Price and Open Interest are moving together.
Higher values indicate stronger synchronized evidence.
Importantly, Signal Strength is not a probability that the current move will continue. It measures the strength of the evidence supporting the current Flow State.
Early Flow Warning & Confirmed Signals
PFI separates early developing conditions from confirmed state transitions .
Early Flow Warning uses the live, still-forming candle to identify a potential transition before the candle closes. These warnings are intentionally provisional and may change or disappear as Price or Open Interest changes during the candle.
Confirmed Flow Signals are evaluated only when the candle closes.
Once confirmed, the LB / SB / SC / LU marker is based on the completed candle and does not change afterward.
This distinction allows traders to see developing positioning changes early while maintaining a clearly defined, non-repainting confirmation layer.
The indicator therefore does not attempt to hide the natural evolution of live Price and Open Interest data. Instead, it explicitly separates early information from confirmed information .
Price Sentiment
The optional Price Sentiment component provides an independent view of price behavior.
Price movement is smoothed and normalized over its recent range, then expressed on the same -100 to +100 scale as the Positioning Flow Index.
This allows Price Sentiment and PFI to be compared directly:
Price Sentiment describes the current character of price movement.
PFI incorporates both Price direction and Open Interest positioning.
The two therefore answer different questions and can provide additional context when interpreted together.
Flow State Ribbon
The optional State Ribbon provides a continuous visual representation of the current Flow State directly on the main price chart.
Teal represents Long Buildup.
Red represents Short Buildup.
Yellow represents Short Covering.
Orange represents Long Unwinding.
Gray represents Neutral conditions.
The intensity of the ribbon is influenced by Signal Strength, allowing stronger positioning conditions to stand out visually without requiring additional labels on every bar.
Flow Dashboard
The optional Flow Dashboard summarizes the current positioning environment through five key readings:
• Flow State — the current Price/OI positioning regime.
• Signal Strength — the strength of synchronized Price + OI evidence.
• PFI — the bounded Positioning Flow Index.
• Price Z-Score — how unusual the current price movement is relative to its recent history.
• OI Z-Score — how unusual the current Open Interest change is relative to its recent history.
Together, these readings provide both the classification and the underlying measurements used to interpret it.
How to Read PFI
PFI is best used as a contextual positioning tool rather than a standalone entry system.
A strong Long Buildup suggests rising price accompanied by expanding Open Interest.
A strong Short Buildup suggests falling price accompanied by expanding Open Interest.
A strong Short Covering condition suggests rising price while Open Interest contracts.
A strong Long Unwinding condition suggests falling price while Open Interest contracts.
The Signal Strength helps distinguish stronger synchronized conditions from weaker ones, while the PFI provides a continuous measure of directional positioning flow.
As with all market-structure and positioning analysis, these states describe the current relationship between Price and Open Interest—they do not guarantee future price direction.
Important Notes
PFI is designed for markets where Open Interest data is available.
The Flow State is based on the relationship between Price and Open Interest and should not be interpreted as a direct measure of individual trader intent.
Early Flow Warnings are intentionally repaintable during the active candle because they use live, developing Price and Open Interest data.
Confirmed Flow markers are non-repainting because they are generated only after the candle has closed.
The selected Flow Model affects the PFI calculation, while the Flow State and Signal Strength provide separate measurements of the underlying Price/OI relationship.
Summary
Positioning Flow Index brings Price and Open Interest together into a structured framework for analyzing market positioning.
Rather than asking only "Is price going up or down?" , PFI asks a broader question:
"What is happening to market positioning as price moves?"
By combining Flow State , Signal Strength , Positioning Flow Index , Price Sentiment , and confirmed versus early signals , PFI provides a multi-dimensional view of positioning that can be incorporated into discretionary market analysis and existing trading frameworks.
DISCLAIMER
This script is intended for informational and educational purposes only. It does not constitute financial, investment, or trading advice. All trading decisions made based on its output are solely the responsibility of the user.
Indicator

Perfect Trading Entry Exit FinderA trading entry/exit finder that searches retained structural swings for positive terminal-to-terminal opportunities, anchors each qualifying entry and exit to the actual retained terminal extremes, and preserves the corresponding causal confirmation for direct timing and opportunity comparison. Results are search and review outputs, not a guarantee of profitability or future performance.
Name:
Perfect Trading Entry Exit Finder
Searchable Name:
Perfect Trading Entry Exit Finder
Technical Name:
Retained Terminal-to-Terminal Perfect Entry Exit and Causal Confirmation Finder
Short title:
Perfect Entry Exit
Summary
Perfect Trading Entry Exit Finder is an experimental finder for locating complete retained terminal-to-terminal opportunities while preserving the corresponding causal signal timing for comparison.
The retrospective Perfect terminals are the completed ideal entry and exit endpoints defined by the Perfect search, but those exact terminal entries or exits are only causally executable at those same bars when the corresponding causal confirmation actually becomes available there.
A BUY can confirm after the retained trough has already occurred.
A SELL can confirm after the retained peak has already occurred.
Multiple signal attempts can develop before a completed structural swing establishes the retained signal identity.
A signal can appear very close to the terminal or only after part of the move has already occurred.
An earlier signal can be superseded before the structural swing finishes.
A retained signal can also survive structurally while the move to the next opposite retained terminal still produces a non-positive result.
A strong terminal-to-terminal move can begin before the corresponding causal confirmation becomes available.
Perfect Trading Entry Exit Finder attempts to expose this difference directly.
Within this script, Perfect has a specific meaning.
A Perfect Opportunity is a completed retained opposite-terminal relationship whose directional terminal-to-terminal result is positive.
The first retained terminal becomes the:
PERFECT BUY
or PERFECT SELL
The next retained opposite terminal becomes the corresponding:
PERFECT EXIT
The interval between those retained terminals becomes:
PERFECT HOLD
The Perfect Entry, Hold, and Exit remain attached to the retained terminal structure.
The corresponding causal confirmation remains separately preserved.
That allows the finder to expose both:
the complete retained terminal-to-terminal opportunity
and
the portion represented from the actual causal confirmation
without redefining one as the other.
The finder can therefore expose:
Perfect Buy and Perfect Sell terminals
Perfect Exit terminals
Perfect Hold paths
complete terminal-to-terminal opportunity
corresponding causal confirmation
confirmation timing difference
Causal Result
Opportunity Capture
Confirmation Loss
false/non-perfect signal context
completed structural relationships
and the current unfinished search state
The primary search is based on completed retained structural relationships.
An additional preview mode can expose the currently implied unfinished result at the chart edge.
Because that newest structural state is incomplete, preview-only output can change as additional bars arrive.
How it works
Perfect Trading Entry Exit Finder combines a causal signal foundation with a completed terminal-to-terminal search.
The causal signal foundation preserves what could actually become available through the forward signal process.
The Perfect search evaluates the completed retained structural opportunity.
Those two reference systems remain separate.
That separation is deliberately engineered into the finder: the completed terminal result can be reviewed alongside the causal confirmation without allowing the later result to replace what was actually available through the causal process.
The completed terminal opportunity shows the full retained swing after structural finalization.
The causal confirmation shows where the corresponding signal became available through the causal process.
The finder brings those references together for direct review without treating one as the other.
Terminal opportunity and causal confirmation
A completed terminal opportunity and the signal timing actually available through causal confirmation can differ substantially.
Once a swing has reached structural finalization, its retained terminal can be identified precisely within the completed structure.
At that terminal itself, however, the signal that ultimately corresponds to the completed opportunity may not yet have confirmed.
Price can move before confirmation becomes available.
An earlier signal can fail or be superseded.
The opposite terminal can later reveal that a retained signal did not produce a positive completed opportunity.
The finder keeps these relationships visible.
The Perfect terminal remains the Perfect terminal.
The causal confirmation remains the causal confirmation.
This allows direct comparison between:
where the complete retained opportunity began
and
where the corresponding causal signal became available
without moving either reference point to make them appear equivalent.
Perfect search structure
The Perfect search evaluates structurally finalized retained opposite-terminal relationships.
For a BUY-side opportunity, the completed structure runs from a retained trough toward a retained opposite peak.
For a SELL-side opportunity, the completed structure runs from a retained peak toward a retained opposite trough.
The finder evaluates the complete retained swing rather than an isolated signal bar.
The first retained terminal supplies the Perfect Entry reference.
The later opposite retained terminal supplies the Perfect Exit reference.
A positive directional result qualifies the completed relationship as a Perfect Opportunity.
The terminal relationship defines the Perfect search.
Causal signal foundation
The Perfect results remain connected to an underlying causal signal process.
This matters because identifying the finalized Perfect terminal retrospectively does not make that exact terminal entry or exit causally executable when the terminal bar originally occurred.
The associated causal confirmation remains separately preserved.
That provides the causal comparison reference for the completed Perfect opportunity.
Structural resolution
Structural resolution determines when a retained swing reaches structural finalization and becomes available to the completed Perfect search.
The script provides selectable structural approaches for reviewing this relationship.
These approaches can produce differences in finalization timing and retained structural presentation.
They do not change the central definition of a Perfect Opportunity:
a structurally finalized retained entry terminal followed by its retained opposite terminal with a positive directional result.
Earliest Terminal
Earliest Terminal provides an alternative structural view emphasizing earlier retained terminal context.
Original Grouping
Original Grouping provides the script's primary grouped structural view.
Conditional Accelerated
Conditional Accelerated provides an alternative earlier-finalization structural view when its conditions are satisfied.
These modes affect structural finalization and retained terminal identity while preserving the same Perfect Opportunity definition.
Retained signal identity
More than one causal signal attempt can occur during a structural swing.
The completed finder result does not treat all of those attempts as equivalent.
A retained signal identity provides the connection between the causal signal process and the structurally finalized terminal result.
Other signal attempts can remain visible as superseded or false/non-perfect context.
Retained terminal association
The finder preserves two conceptually different references:
Terminal reference
the retained structural extreme belonging to the structurally finalized opportunity.
Causal reference
the corresponding signal confirmation that was actually available through the causal signal process.
These references describe different parts of the same completed opportunity.
Neither replaces the other.
Retained terminal chain
Structurally finalized retained terminals provide the sequence used by the Perfect search.
A newest retained terminal by itself does not yet provide a complete terminal-to-terminal opportunity.
A later opposite endpoint is needed before the completed pair can be evaluated.
This prevents the normal retrospective search from treating unfinished structure as though its later endpoint were already known.
Eligible terminal pair
A structurally finalized retained opposite-terminal relationship provides the potential Perfect Entry and Perfect Exit.
The directional terminal-to-terminal result determines whether that completed relationship qualifies as a Perfect Opportunity.
The Perfect endpoints remain the retained structural terminals.
The search does not redefine them using the causal confirmation or an arbitrary interior price.
Perfect Opportunity
A Perfect Opportunity is a qualifying structurally finalized retained opposite-terminal relationship with a positive directional terminal-to-terminal result.
For a BUY-side opportunity, the retained trough is followed by a higher retained opposite terminal.
For a SELL-side opportunity, the retained peak is followed by a lower retained opposite terminal.
A zero or negative completed directional result does not qualify as Perfect.
Perfect is therefore a search definition applied to structurally finalized retained structure.
It is separate from whether the causal confirmation captured all, some, or little of that move.
Perfect Entry
The Perfect Entry is the first retained terminal of a qualifying completed opportunity.
For a BUY-side opportunity, this becomes the Perfect Buy .
For a SELL-side opportunity, this becomes the Perfect Sell .
The marker remains anchored to the retained terminal used by the completed search.
It is not moved forward to the causal confirmation.
Perfect Exit
The Perfect Exit is the retained opposite terminal that completes the qualifying opportunity.
The finalized structural endpoint defines the exit.
The finder does not replace it with an arbitrary interior price simply because that price would have produced a larger temporary result.
This preserves a consistent terminal-to-terminal definition.
Perfect Hold
PERFECT HOLD spans the complete qualifying retained opportunity.
For a Perfect BUY, it represents the retained trough-to-opposite-peak movement.
For a Perfect SELL, it represents the retained peak-to-opposite-trough movement.
The displayed hold therefore represents the complete Perfect opportunity between the two retained endpoints.
Shared Perfect Exit and next Perfect Entry
One retained terminal can conceptually complete one opportunity and begin another.
For example, a retained peak can complete a BUY-side Perfect opportunity and also become the starting terminal of a later SELL-side opportunity.
Likewise, a retained trough can complete a SELL-side opportunity and begin a later BUY-side opportunity.
The chart can present these shared terminal relationships without changing the underlying Perfect definitions.
Causal confirmation comparison
The finder can display the causal confirmation associated with a Perfect terminal opportunity.
The causal reference shows where the corresponding surviving signal became available.
The Perfect reference remains at the structurally finalized retained terminal.
This produces a direct comparison between:
Perfect terminal opportunity
and
causal signal availability
without treating the Perfect terminal as though it were known causally at that point.
Terminal-to-confirmation delay
The finder measures the timing difference between the retained Perfect Entry terminal and its corresponding causal confirmation.
A same-bar relationship has no bar delay.
A later confirmation represents a later causal availability point.
The purpose of this measurement is to expose the timing gap between the completed Perfect benchmark and the signal timing actually represented by the causal process.
Perfect result
Perfect Result is the directional percentage result between the retained Perfect Entry and retained Perfect Exit of a qualifying opportunity.
It represents the full completed terminal-to-terminal opportunity identified by the finder.
Causal result
Causal Result uses the corresponding causal confirmation as the entry reference while preserving the same completed exit context.
This allows the causal result and Perfect result to be compared within the same completed opportunity.
The two measurements answer different questions and are not interchangeable.
Opportunity Capture
Opportunity Capture describes how much of the completed Perfect opportunity is represented by the corresponding causal result.
It provides a normalized comparison between:
the complete retained opportunity
and
the result represented from causal confirmation.
Its purpose is interpretation, not to redefine either reference.
Confirmation Loss
Confirmation Loss describes the difference between the Perfect Result and corresponding Causal Result.
It shows how much of the completed terminal-to-terminal movement was not represented from the causal confirmation reference.
Perfect Result, Causal Result, Opportunity Capture, and Confirmation Loss therefore provide different views of the same completed opportunity.
False / non-perfect context
The finder can expose causal signal activity that did not become part of a qualifying Perfect Opportunity.
This can include:
1. signal attempts that were later superseded
2. structurally finalized retained relationships whose directional result was not positive
These categories help distinguish the wider causal signal stream from the subset of completed relationships classified as Perfect.
Superseded attempts
Several causal signal attempts can occur while the underlying structure is still developing.
Not every attempt becomes the retained identity associated with the structurally finalized opportunity.
Non-retained attempts can remain visible as superseded context.
This allows users to see that the eventual Perfect terminal association does not imply every earlier causal signal was correct.
Retained non-positive pairs
Structural retention alone does not automatically create a Perfect Opportunity.
A structurally finalized retained relationship must still satisfy the Perfect Opportunity definition.
If the completed directional terminal-to-terminal result is zero or negative, it does not qualify as a Perfect Opportunity and remains non-perfect context.
Unmatched newest retained terminal
The newest retained terminal remains incomplete until a later opposite terminal provides the second endpoint needed for structural finalization of the terminal-to-terminal relationship.
The normal retrospective search therefore does not prematurely classify that newest terminal as Perfect or non-perfect.
The optional preview can temporarily expose what the unfinished structure currently implies.
That preview remains separate from structurally finalized retained history.
Finder modes
The script contains two search modes:
Retrospective
Repainting Preview
They use the same conceptual Perfect Entry/Exit definition.
Their difference is whether the newest unfinished chart-edge structure is temporarily included.
Retrospective
Retrospective uses structurally finalized retained relationships.
Its Perfect results are based on swings whose terminal relationship has already reached structural finalization.
This is the primary review mode.
Repainting Preview
Repainting Preview temporarily extends the same search concept to the unfinished chart-right structure.
It shows what the newest result currently looks like before structural finalization has occurred.
Because the latest structural state is unfinished, preview-only output can change as future bars arrive.
The preview therefore repaints by design.
It should not be interpreted as a permanent causal Perfect signal.
Permanent completed history and preview state
The finder keeps structurally finalized retained history separate from temporary preview completion.
Finalized retrospective results belong to the completed search.
Preview-only results belong to the unfinished chart-edge state.
This allows the finder to expose both:
structurally finalized Perfect Entry/Exit structure
and
the currently implied unfinished structure
without treating them as equivalent.
Perfect Entry / Exit display
The primary display can show:
Perfect Buy
Perfect Sell
Perfect Exit
Perfect Hold
terminal-to-terminal result
causal confirmation comparison
and supporting opportunity context
These visuals represent the underlying search result.
Display settings do not redefine what qualifies as a finalized Perfect Opportunity.
False-context display
False/non-perfect context can be displayed separately from Perfect results.
This allows the chart to show the broader causal signal activity around finalized opportunities without changing which retained terminal relationships qualify as Perfect.
Structural context
The finder retains structural context around the signals and finalized opportunities being reviewed.
This context can help distinguish finalized, unresolved, retained, or superseded relationships.
The Perfect Opportunity itself remains defined by the structurally finalized retained terminal relationship and its directional result.
Search reconstruction
The finder reconstructs the historical search context needed to display causal signal relationships, structurally finalized opportunities, and the current unfinished state.
The purpose is to preserve the distinction between causal signal timing and finalized terminal identity across loaded chart history.
Perfect Opportunity Rate
The finder calculates a Perfect Opportunity Rate describing how often eligible finalized retained terminal relationships satisfy the Perfect Opportunity definition.
Perfect Opportunity Rate is not a trading win rate.
It describes the completed search classification.
It does not establish the result of an executed strategy using causal entries, transaction costs, slippage, sizing, or external risk rules.
Search statistics
The finder provides summary statistics describing the finalized Perfect search, causal comparison, false/non-perfect context, and current search state.
These statistics are designed to help interpret the search result.
Status pages
The script includes a compact status interface for reviewing the current Perfect search, causal comparison, timing, and interpretation context.
The status display supports chart review without requiring every measurement to be placed directly on the chart.
Alerts and execution
Perfect Trading Entry Exit Finder is not an execution engine.
Retrospective Perfect terminal results identify the completed ideal entry and exit endpoints. Those exact terminal entries or exits are only causally executable at those same bars when the corresponding causal confirmation actually becomes available there.
The Perfect structure and causal confirmation are retained for search, review, and comparison.
When causal confirmation occurs later, the executable causal entry or exit occurs later; the retrospective Perfect terminal remains the completed ideal endpoint rather than an entry or exit that was available at that earlier terminal bar.
The optional preview also remains a search preview rather than an execution-ready Perfect signal source.
Finder behavior
Perfect Trading Entry Exit Finder combines causal signal identity with finalized terminal-to-terminal opportunity searching.
Its broad workflow is:
causal signal activity develops
retained structural relationships reach finalization
a completed terminal-to-terminal relationship becomes available for review
positive finalized relationships can qualify as Perfect Opportunities
Perfect Entry, Hold, and Exit remain attached to the retained terminal structure
and the corresponding causal confirmation remains separately available for comparison
The optional preview can temporarily extend the same search concept to the unfinished newest structure.
Features
Perfect terminal-to-terminal Entry/Exit finder
Perfect Buy identification
Perfect Sell identification
Perfect Exit identification
Perfect Hold paths
retained trough-to-peak opportunity review
retained peak-to-trough opportunity review
positive finalized opportunity classification
actual retained terminal anchoring
causal confirmation preservation
direct Perfect-versus-causal comparison
confirmation timing comparison
Perfect Result
Causal Result
Opportunity Capture
Confirmation Loss
false/non-perfect context
superseded signal context
unresolved newest-terminal handling
selectable structural views
finalized historical search mode
Repainting Preview
false-context visualization
Perfect Hold visualization
causal comparison markers
supporting search statistics
Perfect Opportunity Rate
compact review/status interface
review-focused standalone finder
completed ideal Perfect entry/exit endpoints compared directly with whether those exact endpoints were causally executable at the time
Strengths
Perfect Entry/Exit Search — directly finds qualifying finalized terminal-to-terminal opportunities rather than stopping at the original causal signal.
Terminal-to-Terminal Structure — Perfect Entry and Perfect Exit remain tied to retained structural endpoints.
Complete Swing Representation — Perfect Hold represents the full retained opportunity between those endpoints.
Causal Identity Preservation — keeps the corresponding causal confirmation connected to the finalized opportunity for comparison.
Direct Perfect-versus-Causal Comparison — shows both the complete retained opportunity and the result represented from causal confirmation.
Opportunity Capture Measurement — quantifies how much of the completed Perfect opportunity is represented by the causal result.
Confirmation Loss Measurement — measures the difference between Perfect and causal results.
No Arbitrary Exit Substitution — does not replace the retained opposite terminal with an arbitrary interior best price.
False-Context Separation — keeps superseded and non-positive finalized relationships distinct from qualifying Perfect Opportunities.
Unfinished-Terminal Discipline — normal retrospective results are not finalized until the necessary opposite structural endpoint exists.
Structural Choice — selectable structural views can be compared while preserving the same central Perfect concept.
Finalized-History Separation — finalized search results remain distinct from temporary chart-edge preview output.
Preview Capability — the currently implied unfinished Perfect structure can be inspected while remaining explicitly identified as repainting.
Search Diagnostics — timing, capture, confirmation loss, false context, and opportunity context remain measurable.
Weaknesses
Opposite-Terminal Requirement — the complete Perfect Entry/Exit opportunity is not known until the later retained opposite endpoint structurally finalizes the relationship.
Terminal Hindsight — the finalized retained terminal and causal confirmation are different reference systems and can occur at different times and prices.
Confirmation Delay — part of the complete terminal-to-terminal movement can occur before causal confirmation becomes available.
Superseded Signals — multiple causal attempts can occur before structural finalization establishes the retained relationship.
Non-Positive Retained Relationships — structural retention alone does not guarantee a positive Perfect Opportunity.
Perfect Definition Scope — Perfect refers specifically to the positive finalized terminal-to-terminal search definition.
No Interior Exit Optimization — the retained opposite terminal remains the Perfect Exit even if another temporary price would have produced a larger result.
Structural Dependence — different structural views can affect finalization timing and retained terminal presentation.
Causal-Signal Dependence — the comparison remains connected to an underlying causal signal process.
Preview Repainting — unfinished preview output can move, disappear, or change before structural finalization.
Perfect-Terminal Executability Is Conditional — a finalized Perfect terminal is the completed ideal entry or exit endpoint, but it is executable at that exact terminal bar only when the corresponding causal confirmation actually becomes available there.
Perfect Opportunity Rate Is Not Win Rate — it measures search classification rather than executed strategy performance.
No Execution Engine — the standalone finder does not turn Perfect search output into automated trading decisions.
No Full Strategy Return Calculation — it does not establish complete returns after sizing, transaction costs, slippage, and external trading rules.
Who it’s for
This tool is best suited for:
advanced PulseWire users
users investigating the Perfect Entry/Exit problem
users searching for complete retained terminal-to-terminal opportunities
users comparing causal signal timing with structurally finalized terminal structure
users studying how much of a move occurs before confirmation
users examining trough-to-peak and peak-to-trough opportunities
users comparing Perfect Result and Causal Result
users studying Opportunity Capture
users studying Confirmation Loss
users examining false and superseded signal activity
users studying structural finalization and retained terminal relationships
users who want entry and exit markers anchored to actual retained endpoints
users who do not want arbitrary interior prices substituted for Perfect Exit
users who want the complete hold path between retained terminals
users comparing finalized structural results with an unfinished preview
users developing or evaluating separate causal methods against an explicit Perfect benchmark
Who it’s not for
This tool is not best suited for:
users expecting Perfect terminal markers to be live causal signals
users expecting final retained extremes to be known at the exact moment they occur
users expecting every causal signal to survive structural finalization
users expecting every finalized retained terminal relationship to qualify as Perfect
users expecting Perfect Opportunity Rate to represent an executed trading win rate
users expecting unfinished preview results to remain fixed
users expecting preview-only terminal markers never to repaint
users looking for broker execution from retrospective Perfect markers
users looking for automated position management from Perfect results
users looking for a complete trading strategy
users expecting causal confirmation and Perfect terminal timing to always coincide
users expecting the finder to remove confirmation delay
users expecting a guarantee of profitability or future performance
Known limitations
The finder is better at:
finding finalized retained terminal-to-terminal opportunity structure
identifying positive finalized terminal relationships
preserving complete Perfect Entry/Hold/Exit geometry
anchoring results to retained structural extremes
linking Perfect opportunity identity with causal signal confirmation
comparing complete opportunity with causal availability
measuring confirmation delay
measuring Opportunity Capture
measuring Confirmation Loss
exposing superseded and non-perfect context
comparing finalized and unfinished search structure
and reviewing how causal signals relate to complete terminal swings
than it is at:
identifying the final retained terminal causally before structural finalization
eliminating delayed confirmation
eliminating false or superseded signals
guaranteeing that every retained relationship produces a positive result
turning Perfect terminal markers into operational entries
determining whether the newest unfinished preview terminal will remain final
or determining a complete future trading result
A Perfect Opportunity is defined by the structurally finalized retained terminal relationship.
The causal confirmation can represent all, some, or very little of the complete terminal-to-terminal movement.
That difference is part of what the finder exposes.
A large Perfect Result can therefore coexist with a much smaller Causal Result.
Opportunity Capture and Confirmation Loss describe that difference.
Likewise, a retained signal can remain structurally relevant while its finalized opposite-terminal result still fails the Perfect qualification.
The term Perfect therefore belongs to the finalized search definition.
It does not imply that the finalized terminal was causally available as a Perfect signal when it originally occurred.
The optional Repainting Preview introduces an additional limitation.
It evaluates unfinished chart-right structure before structural finalization.
Future bars can therefore change preview-only output.
Finalized retrospective results remain separate from that temporary preview.
Perfect result scope
The Perfect result represents the complete retained terminal-to-terminal directional opportunity of a qualifying structurally finalized relationship.
It can include:
Perfect Buy or Perfect Sell
Perfect Exit
Perfect Hold
retained entry and exit terminals
terminal-to-terminal result
corresponding causal confirmation
Causal Result
Opportunity Capture
Confirmation Loss
and false/non-perfect context
These measurements preserve the complete opportunity and causal signal result as separate but directly comparable references.
Final note
Perfect Trading Entry Exit Finder is an experimental finder for the entry-and-exit problem that remains when the complete terminal opportunity and the causal signal available during that opportunity are not the same thing.
Its central capability is the retained terminal-to-terminal search.
Positive structurally finalized terminal relationships can become Perfect Opportunities.
The corresponding:
Perfect Entry
Perfect Hold
and Perfect Exit
remain attached to the retained terminal structure.
The causal confirmation remains separately preserved.
This allows the finder to expose both:
the complete retained entry-to-exit opportunity
and
the result represented from the corresponding causal confirmation
inside the same finalized swing.
False, superseded, or non-perfect signal context remains separately visible.
The optional preview can extend the same search concept to unfinished chart-edge structure, with its repainting behavior kept separate from structurally finalized results.
Perfect Trading Entry Exit Finder therefore remains centered on the problem it attempts to address:
locating the complete retained terminal entry, hold, and opposite-terminal exit opportunity while preserving the causal signal that was actually available for comparison.
Profitability is not guaranteed.
Future performance is not guaranteed.
The finder reports the Perfect opportunity, its terminal structure, corresponding causal result, timing difference, capture, confirmation loss, and false/non-perfect context. The retrospective Perfect terminals are the completed ideal entry and exit endpoints, but those exact terminal entries or exits were only causally executable at the time when the corresponding causal confirmation actually occurred at those same terminal bars; otherwise the executable causal timing occurred elsewhere. Indicator

Indicator

VWAP-MACD with Volume ConfirmationVWAP-MACD with Volume Confirmation
VWAP-MACD+ replaces the price series inside a classic MACD calculation with an anchored VWAP series, then adds a volume-strength filter so that crossover signals are only flagged as "confirmed" when they occur on above-average volume. The result is a momentum oscillator that reflects shifts in the volume-weighted average price rather than raw closing price, with a built-in sanity check against low-conviction crosses.
How it works
Anchored VWAP — VWAP is calculated from hlc3 * volume, accumulated and reset at the start of each new period based on the selected anchor (Session, Week, or Month). This is the same anchoring logic as PulseWire's native VWAP, just computed manually so it can feed into the MACD below.
VWAP-based MACD — instead of EMA-ing close like a standard MACD, this script EMAs the VWAP series itself (fast length default 12, slow length default 26). The difference between the fast and slow EMAs of VWAP is the MACD line; a further EMA of that (default 9) is the signal line; their difference is the histogram. Because VWAP is smoother and volume-weighted, the resulting MACD reacts to shifts in the "fair value" price rather than every tick of noise in the close.
Volume Momentum Filter — each bar's volume is compared to its moving average (default 20-period SMA) to get a relative volume ratio. Bars are classified as strong (≥1.5x average), weak (<0.75x average), or normal, and the histogram's color intensity reflects this — brighter columns mean the current move is backed by stronger volume, faded columns mean it's on thin volume.
Volume-Confirmed Crossovers — a standard MACD/signal-line crossover only becomes a plotted "confirmed" signal when relative volume is at or above average (≥1.0x). This is meant to filter out crossovers that happen on quiet, low-conviction bars.
Reading the indicator
Blue line — VWAP-based MACD line.
Orange line — signal line (EMA of the MACD line).
Histogram columns — MACD minus signal, colored green above zero / red below zero, with intensity scaled by relative volume (bright = strong volume, faded = weak volume, mid = normal).
Green up-triangle — bullish crossover confirmed by volume.
Red down-triangle — bearish crossover confirmed by volume.
Zero line — dashed gray reference; crosses of the MACD line through zero can also be used as a secondary trend-context read, though this script's plotted signals are specifically the signal-line crossovers.
Suggested use
This is a trend/momentum tool built around volume-weighted price rather than raw close, intended for:
Traders who already use VWAP as an intraday or swing fair-value reference and want a momentum oscillator derived from that same series instead of close price
Filtering out MACD crossovers that occur on low-volume, low-conviction bars by relying on the "confirmed" triangle markers rather than every raw crossover
Combining with the anchor period that matches your trading horizon — Session for intraday, Week or Month for swing/position context
As with any momentum oscillator, it works best alongside broader trend or structure context (e.g., higher-timeframe trend, support/resistance) rather than as a standalone signal — volume confirmation reduces noise but doesn't guarantee follow-through.
Inputs
Fast Length / Slow Length / Signal Smoothing — EMA lengths for the VWAP-MACD calculation
VWAP Anchor Period — Session, Week, or Month
Volume MA Lookback — averaging period for the relative volume filter
Enable Volume Confirmation Shading — toggles both the histogram's volume-based color intensity and the volume requirement on confirmed crossover signals
Alerts
Two alert conditions are built in:
VWAP-MACD Bullish Cross (Vol Confirmed)
VWAP-MACD Bearish Cross (Vol Confirmed) Indicator

Range Commander ORB [JOAT]An Opening Range Breakout command center: captures the opening range, projects measured-move targets, and tracks the breakout live.
◆ WHAT IT IS
The opening range — the high and low of the first minutes of a session — is one of the most-watched intraday reference structures. Range Commander captures it automatically, locks it into a clean box, and builds a full breakout and target framework around it. It is a context and structure tool: it maps the range, marks the breaks, and tracks the targets — it does not fire endless buy/sell arrows.
This is 100% original code, written from scratch. It does not reuse any other author's ORB script.
◆ HOW IT WORKS
1. Range capture. During your chosen session window (default 09:30–09:45 New York, fully adjustable with a timezone selector), the indicator records the running high and low into a live box.
2. Lock and project. When the window closes, the range locks. Its height becomes 1R , and the tool projects measured-move target rails at ±0.5R, ±1R and ±1.5R (all configurable), plus the range midline.
3. Breakout logic. A breakout is registered on either a close beyond the range (cleaner) or a wick beyond the range (faster) — your choice. An option stamps only the first break per side per day to keep the chart immaculate. A minimum range-size filter (in ATR) lets you skip dead, low-range opens.
4. Retests and targets. After a break, the first return to the broken edge is marked with a subtle diamond, and each measured-move target is tracked as hit or unhit in the dashboard.
◆ WHAT YOU SEE
• A precision opening-range box with high/low rails and optional midline
• Measured-move target rails at ±0.5R / ±1R / ±1.5R
• Minimal breakout stamps and retest diamonds — no arrow spam
• A resizable command dashboard with breakout status, OR high/low with intact-or-broken state, range height, range-versus-ATR quality (tight / normal / wide), which targets have printed, and retest status
◆ HOW TO USE IT
• Set the session window to match your instrument and desired ORB length (e.g. 0930-1000 for a 30-minute range).
• A wide range vs. ATR often signals a more energetic session; a tight range warns breakouts may be prone to failure.
• Use the ±R target rails as objective, pre-defined profit references and the opposite range edge as a natural invalidation.
• Designed for intraday timeframes . On daily and higher charts the session concept does not apply, and the dashboard will say so.
◆ NOTES & LIMITATIONS
Use on standard candlestick charts and intraday timeframes. Opening-range breakouts fail as well as follow through — the tool maps structure and targets, it is not financial advice and cannot guarantee a break will run. Combine it with your own analysis and risk management.
— made with passion by officialjackofalltrade
Indicator

Alpha Forge Adaptive VWAP Wave v1.0.19Alpha Forge Adaptive VWAP Wave is a selective, long-side market-structure overlay designed specifically for standard 1-hour charts.
It combines an adaptive VWAP-based wave with confirmed multi-timeframe qualification to help distinguish between balanced conditions, directional expansion, and established trends. Rather than producing signals on every crossover, the indicator waits for its internal market profile and routing requirements to align.
HOW THE ROUTING WORKS
The indicator evaluates two possible routes:
• 1H PRIMARY — The setup qualifies directly from the 1-hour market structure.
• 4H QUALIFICATION / 1H EXECUTION — A completed 4-hour candle establishes the broader thesis while the actual entry remains timed and confirmed on the 1-hour chart.
The 1-hour route always receives priority. The 4-hour route is only considered when the primary route does not qualify.
If neither route meets the internal requirements, the dashboard displays NO QUALIFIED ROUTE. This is intentional and means the indicator is choosing to stand aside rather than force a setup.
SIGNAL MARKERS
• Cyan BUY — Confirmed 1-hour tactical entry.
• Purple 4H QUAL BUY — Confirmed 4-hour thesis with a 1-hour tactical entry.
• Pink EXIT — Confirmed tactical exit or protective trade-management event.
Signals are deliberately selective and will not appear on every symbol.
ADAPTIVE WAVE
The cyan and magenta wave provides a visual representation of the active VWAP structure and surrounding deviation zones.
The wave is designed to make changes in balance, direction, and structural support easier to identify without covering the underlying price action. Its width and position adapt to the market rather than remaining fixed to a single static distance.
DASHBOARD
The Alpha Forge dashboard provides a compact summary of the current operating state:
• STATUS — Whether the system is in a trade or standing aside.
• ROUTE — The timeframe path currently controlling the setup.
• PROFILE — The trade-management profile selected by the internal qualification process.
• REGIME — The detected market environment.
• SAMPLE — The amount of historical evidence available for the selected profile.
• POSITION — Current position state and active profile.
FORGE GUIDE
The Forge Guide translates the active system state into three practical sections:
• WAITING — What the system is currently waiting for.
• WATCH — The structure or protection currently being monitored.
• ACTION — The appropriate response for the present state.
The Guide is informational. It does not replace personal risk management or independent analysis.
RECOMMENDED USE
• Use standard candlesticks or bars.
• Use the 1-hour chart timeframe.
• Leave the source at its default HLC3 setting unless you are deliberately testing an alternative.
• The 4-hour analysis is handled internally; there is no need to change the chart to 4H.
• Wait for the candle to close before treating a marker as confirmed.
The indicator is primarily intended for liquid stocks and metals. It may also qualify selected forex markets, but it is deliberately selective and should not be expected to produce a route on every currency pair.
SIGNAL CONFIRMATION
BUY and EXIT events are confirmed only after the 1-hour chart candle closes.
The higher-timeframe route uses information from previously completed 4-hour candles. This prevents an unfinished 4-hour candle from being treated as confirmed evidence.
The live wave and dashboard may move while the current candle is forming. Final markers and alerts are only confirmed at candle close.
ALERTS
The script supports confirmed BUY and EXIT alerts.
For standard PulseWire notifications, create alerts from the available BUY and EXIT conditions.
For dynamic webhook messages, select “Any alert() function call.” Create webhook alerts while the dashboard is FLAT whenever possible.
PulseWire stores a snapshot of the script, chart, and settings when an alert is created. Alerts should therefore be recreated after changing the script, symbol, timeframe, or important inputs.
IMPORTANT QUALIFICATION NOTES
This is an indicator, not a PulseWire strategy.
Its internal qualification process evaluates the historical information available on the loaded chart. Qualification can therefore vary with the symbol, market-data provider, and amount of chart history available.
The internal cost filter assumes 0.05% per side. It does not separately model spread, slippage, funding, swaps, or broker-specific commissions.
Historical qualification does not guarantee future performance. A qualified route identifies alignment with the model’s requirements; it is not a prediction or promise that a trade will be profitable.
Alpha Forge Adaptive VWAP Wave is intended as a market-structure and decision-support tool. It should be used alongside appropriate position sizing, risk controls, and independent analysis.
Indicator

NS MARKET REGIME NomadaScalperThis script stands on two other people's work, and that comes before anything else in this description:
Concept: the Market Regimes framework by NQ Stats.
Original Pine implementation: the tracking engine was written by Desiringmachine. Their engine is carried over into this build mathematically unchanged — same return definition, same rolling window, same baseline construction, same thresholds. Not one constant was re-tuned.
What I built on top of it is the presentation and the statistical honesty layer described below. If the underlying idea interests you, go read the original authors — this publication exists because their work deserved a terminal-grade front end, not because the engine needed fixing.
What it does
One question, answered three ways: is this market currently more or less volatile than its own normal?
Regime = recent volatility ÷ that instrument's own normal volatility. Both figures are standard deviations of (close-open)/open returns: the last 10 completed instances against every instance inside a 5-year window. Above 1.0, the market is running wilder than its own habit; below, calmer.
That ratio is tracked on three independent scopes at once:
DAILY — the day as a unit.
SESSION — Asia, London, NY AM or NY PM, either fixed or following the clock automatically (America/New_York).
HOUR — any single hour of the ETH day, fixed or following the clock. Twenty-two independent hourly trackers run in parallel; the panel shows the one you selected.
Each scope is measured against its own history only. The 3 AM hour is compared with past 3 AM hours, never with the day. That per-scope baseline is the whole point of the framework: volatility lives in specific parts of the day, and a daily number cannot tell you which part.
What this build adds to the original engine
A reading, not a number. The headline says "67% MORE VOLATILE THAN USUAL" instead of "x1.67". Each scope row states level AND direction — HIGH · RISING, QUIET · TIGHTENING — because x1.05 on the way up and x1.05 on the way down are opposite situations.
A slope with a deadzone derived from the sample itself. The direction arrow only prints when the change is larger than the baseline's own measurement error (1/sqrt(2(n-1))). A move smaller than the noise of the instrument measuring it is not a direction, so it reads flat.
A sample gate derived, not chosen. Rows stay grey until the baseline holds at least 201 instances — the point where the estimation error drops under the 5% decision threshold it feeds. Below that, the classification would be noise, so it is withheld rather than shown. Every row's tooltip states its real sample and the real span of history behind it, measured from the chart, never assumed.
A fixed-scale gauge and trend column. A 15-slot track with the neutral band shaded, and a per-scope sparkline anchored to the same fixed scale — so a flat series draws flat instead of inventing mountains. An auto-fit mode exists and is labelled as shape-only.
Plain-language context rows. STOPS / TARGETS / SIZE translate the regime into the three decisions it actually changes, in the source framework's own terms. Context, not signals.
A divergence row. When the day and the scope you trade disagree on level, the panel says which part of the day is producing the volatility — that disagreement is information, not a contradiction.
Bilingual by construction. Every drawn string lives in one central dictionary (English / Español); a half-translated panel is impossible. Settings inputs and the alert message stay in English (Pine constraint).
The original on-chart monitors, preserved. Desiringmachine's sparkline panels draw beside price with 136 points of resolution, hard-clamped so no input combination can push drawing objects past the platform's 500-bar future limit.
A discipline banner. A bottom-center reminder to read this tool on the 1H chart. It speaks in colour: accent while the chart is 1H or lower, orange when the chart is above 1H — because up there the hourly feed skips hours and the session/hour rows withhold themselves.
How to read it
Load a 1H chart (or lower). The session and hour scopes need the hourly feed complete; on higher timeframes those rows withhold themselves and say why.
Pick your driver — the scope that sets the headline and the context rows. If you trade one session, that session is your regime; the daily can read expanded while your window is compressed, and following the daily would size you for hours you are not in.
Grey rows are not broken. They are baselines still building, and the tooltip states exactly how far along they are and why the floor exists.
Hover anything. Every cell explains its number from scratch, raw figures included.
Settings
Language, panel position and size, driver scope, detail toggles (gauge, trend column and style, context rows, divergence row, raw figures), scope selection (session and hour, fixed or automatic), the legacy monitors with full colour control, and the 1H reminder banner. Engine constants are not exposed on purpose: this publishes the original author's calibration, not a parameter playground. Indicator

Absorption Detector Pro Absorption Detector Pro
Absorption Detector Pro finds high-quality "absorption" bars — spots where aggressive volume hits the market but price fails to move proportionally, and instead reverses and closes strongly against the initial push. This is the classic effort-vs-result signature used in order-flow and volume-spread-analysis (VSA) trading: big effort (volume), little result (range), and a rejection close. The script layers PVSRA candle context, liquidity-sweep detection, trend filtering, a self-adjusting percentile ranking, and an optional intrabar buy/sell delta check on top of that core idea to cut down on noise and surface only the strongest candidates.
How it works
Absorption Score — for every bar, volume relative to its average (volume ratio) is divided by range relative to its average (range ratio). A high score means unusually large volume produced an unusually small candle — a sign of absorption.
Percentile Ranking — rather than using a single fixed cutoff, the score is ranked against the last N bars (percentile rank window, default 100) and only scores in the top X% (default 90th percentile) qualify. This lets the indicator self-adjust across symbols and timeframes instead of relying on one static threshold.
PVSRA Candle Context — each candle is classified as climax volume, above-average volume, or normal, based on volume and volume×range vs. their recent averages. Candles are optionally painted with these PVSRA colors for quick visual context, and climax volume can be required for a signal.
Liquidity Sweep — the script can require that the signal bar poked beyond the recent swing high/low before reversing (a stop-hunt/sweep pattern), which is a common precursor to genuine absorption.
Trend Filter — signals can be required to occur against the prevailing trend (price vs. a moving average), since absorption is most meaningful as a reversal/exhaustion signal rather than mid-trend noise.
Order Flow Delta (optional) — using request.security_lower_tf, the script can pull intrabar buy/sell volume from a lower timeframe (default 1-minute) and require that the net delta actually confirms the proposed direction (e.g., net selling on a bullish absorption bar that still closes strong).
Cooldown — a minimum bar count between signals prevents clustered, repetitive triggers during choppy conditions.
A bullish or bearish absorption signal only fires when all enabled gates pass together: elevated volume, a score above both the floor and the percentile threshold, correct close position in the bar's range, (optionally) climax volume, a liquidity sweep, trend alignment, and delta confirmation.
Reading the indicator
Triangle markers below/above bars mark bullish/bearish absorption signals.
Labels (optional) show the absorption score multiple and its percentile rank at the moment of signal.
Background highlight (optional) shades the signal bar.
Candle colors (optional, PVSRA) show climax volume, above-average volume, and normal volume at a glance, independent of signals.
Diagnostics table (top-right, optional) shows live volume ratio, range ratio, absorption score, percentile rank vs. the required threshold, climax status, sweep status, trend context, and bars since the last signal — useful for understanding why a bar did or didn't qualify.
Suggested use
This is a reversal/exhaustion tool, best used where volume and order flow context matter — e.g., around key support/resistance, session highs/lows, or after an extended directional move:
Use the diagnostics table while tuning inputs for a given symbol/timeframe, since default thresholds are a starting point, not a universal setting.
Start with default settings (climax volume + sweep required, trend filter on) for fewer, higher-conviction signals; relax individual gates (in the Signal Quality group) to see more candidates.
Combine with your own structure analysis (support/resistance, higher-timeframe trend) and risk management — this indicator identifies where volume and price disagree, not a complete trade plan.
The optional delta confirmation adds real intrabar buy/sell context but requests lower-timeframe data, so it will be slower to calculate and is best kept off unless you specifically want that extra filter.
Inputs
Core Absorption — averaging lookback, minimum volume ratio floor, minimum absorption score floor, close-in-range threshold
Signal Quality — percentile ranking window, minimum score percentile, require climax volume, require liquidity sweep (+ lookback), require trend context (+ MA length), cooldown bars between signals
PVSRA Candles — lookback, climax/above-average volume multipliers, candle coloring toggle and colors
Order Flow Confirmation (optional) — toggle and lower timeframe for intrabar delta
Visuals — labels, background highlight, diagnostics table, marker colors
Alerts
Two alert conditions are built in:
Bullish Absorption — swept lows, climax volume, compressed range, strong close
Bearish Absorption — swept highs, climax volume, compressed range, strong close Indicator
