GEEN Smart Signal What it does
GEEN Smart Signal is not a single-indicator tool. It combines several classic analysis engines into one weighted Decision Engine that scores every trade candidate from 0 to 100, then only prints signals that pass a minimum confidence threshold. Every signal comes with a full breakdown showing exactly why it was accepted.
How it works
A signal candidate is generated by an ATR trailing-stop flip (with optional Heikin Ashi smoothing of the calculation source). The candidate is then evaluated by 8 engines, each contributing a weighted score:
Market Structure (20 pts) — pivot-based HH/HL/LH/LL classification, BOS and CHoCH detection
Trend (20 pts) — EMA 50/100/200 stack, classified into 5 states from strong bullish to strong bearish
Momentum (15 pts) — RSI position + ADX strength, used as confirmation only
Volume (15 pts) — current volume vs. 20-bar average, rewarding volume spikes
Liquidity (10 pts) — liquidity sweeps of prior swings, price inside a Demand/Supply zone or FVG, and Premium/Discount location vs. equilibrium
Volatility (10 pts) — ATR vs. its average, filtering out dead markets
Multi-Timeframe (10 pts) — 1H/4H/D trend alignment (closed-bar data only)
Risk (10 pts) — estimated reward-to-risk toward the nearest opposing swing
The total is normalized to 100. Below the minimum threshold (default 60) the signal is rejected (WAIT). 60–75 prints as weak, 75–85 as good, above 85 as strong. Clicking any signal arrow shows the per-engine score breakdown, entry, ATR stop, and 1R/2R/3R targets.
Chart elements
Structure labels (HH/HL/LH/LL, BOS, CHoCH), auto Order Blocks with mitigation removal, Fair Value Gaps, Equal Highs/Lows (EQH/EQL), session Kill Zones (Asia/London/New York, with an optional session filter), a main panel (decision, confidence, trend, momentum, risk, entry/SL/TP, RR, 5-timeframe view, active session, SMT check vs. a correlated symbol), and a monthly statistics panel that tracks how many signals reached TP1/TP2/TP3 or hit the stop — so you can measure performance yourself on any symbol and timeframe.
Anti-repaint design
Signals are confirmed on bar close only, higher-timeframe data uses closed bars with lookahead off, and structure breaks are evaluated on confirmed closes.
How to use
Works on any symbol and timeframe. Start with defaults, or raise the minimum confidence and enable the London/New York session filter for intraday trading. Alerts are included for buy/sell and for strong (85+) signals. This tool is for educational purposes and is not financial advice; no indicator guarantees results — always use proper risk management. Indicator

Entry Point X500Entry Point X500 is an overlay envelope built on Nadaraya–Watson kernel regression with a Gaussian kernel. It smooths price into a local estimate of the underlying trend, draws volatility bands around that estimate using mean absolute deviation (MAD), and marks mean-reversion events when price interacts with those bands.
What makes it useful
Standard moving averages weight bars with fixed linear or exponential schemes. This script estimates price with a Gaussian kernel: bars closer to the estimation point receive higher weight, which helps reduce noise while still reacting to genuine structure changes.
Two calculation modes are included:
Fixed mode (default, non-repainting) — endpoint-anchored regression using past bars only. Historical bands and signals stay fixed after a bar closes. Use this mode for chart review, backtesting logic, and alerts.
Live mode (repainting) — full-window Nadaraya–Watson smoothing recalculated on every update of the last bar. The envelope can use a symmetrical neighborhood of bars around each point inside the lookback window. This can look smoother and more “responsive” on the current chart, but historical lines and signals may appear, move, or disappear as new data arrives.
How it works
Smoothing — a Gaussian kernel weight is applied across the lookback window to produce a regression estimate of price.
Bands — an envelope is built around the estimate using the mean absolute deviation of price from that estimate, scaled by the Deviation Multiplier. MAD reacts less aggressively to extreme outliers than a standard-deviation band.
Signals
Fixed mode: ▲ when close crosses under the lower band; ▼ when close crosses over the upper band. These mark breakouts into potential oversold/overbought extremes for mean-reversion context.
Live mode: ▲ when price returns inside the envelope from below the lower band; ▼ when price returns inside from above the upper band. These mark the start of a local move back toward the regression estimate.
A status label shows whether Live or Fixed mode is active.
Inputs
Kernel bandwidth — controls smoothness. Lower values follow price more closely; higher values create a slower, smoother filter.
Deviation multiplier — controls envelope width.
Price source — series used for the regression (default: close).
Live mode (repaints) — switches between Live and Fixed calculation. Default is OFF.
Live alert: last N bars — in Live mode, alerts fire only for newly appeared signals within the last N bars, to reduce noise while history is recalculated.
How to use
Use the envelope as a contextual overbought/oversold framework for mean-reversion analysis:
Price outside the bands = stretched relative to the local kernel estimate.
Signals highlight interactions with the bands; they are not standalone trade instructions.
Prefer Fixed mode when validating behavior historically or attaching alerts.
Treat Live mode as a real-time visual aid only, and always assume past signals can change.
Confirm with market structure, levels, volume, or other independent context. Do not trade the triangles alone.
Limitations (important)
Live mode repaints. Historical envelopes and triangles are redrawn on each last-bar update and must not be judged as stable historical signals.
Fixed and Live modes use different estimation methods and different signal rules; results will not match 1:1.
Like any smoothing tool, the script can lag or produce frequent signals in choppy markets, and fewer/later signals when bandwidth or deviation is high.
Non-standard chart types (Heikin Ashi, Renko, etc.) can distort signal interpretation; use standard candlesticks/bars for signal analysis.
Disclaimer
This script is for educational and analytical purposes only and does not constitute financial advice. Past visual behavior does not guarantee future results. Test settings carefully on historical data in Fixed mode before considering any real-money use. Indicator

Multi Pattern Candle Reversal RR System [ChartTechnicalx]A multi-pattern reversal/breakout scanner with automatic risk:reward boxes, forward trade tracking, and a live win-rate table.
This tool scans price action for four distinct setups — small-candle rejections, engulfing reversals, compression breakouts, and pole-and-flag structures — and, when one fires, plots the entry, stop-loss, and take-profit as boxes projected forward on the chart. Every signal is tracked bar-by-bar against its SL/TP so you get an honest, non-repainting record of how each pattern actually performed, summarized in an on-chart results table (win / loss / close-to-cost / win rate).
No repainting: every signal and every trade outcome is calculated only on confirmed (closed) bars.
How it works
The indicator looks for four independent pattern types. Any of them can trigger a long or short signal; you can enable/disable each one separately.
1. Small Candle Pattern
A small-bodied rejection candle at a fresh swing low/high, followed by a small-bodied confirmation candle in the same direction.
Small Body Max (x ATR) – caps how big candle 1 and candle 2's bodies can be, relative to ATR, to still count as "small."
Min Wick / Body Ratio (Candle 1) – how long candle 1's rejection wick must be relative to its own body.
Both candles must occur at a fresh low (longs) or high (shorts) versus the Pivot Lookback Bars.
2. Engulfing Pattern
A classic bullish/bearish engulfing candle occurring at a fresh swing low/high, with three optional confirmation filters:
Require Engulf Size Ratio – candle 2's body must be at least N× candle 1's body.
Require Volume Spike – candle 2's volume must exceed its average by a set multiple.
Require Strong Close – candle 2 must close within the top/bottom X% of its own high-low range (rules out engulfing candles with long opposing wicks/indecisive closes).
3. Compression Breakout Pattern
Catches violent expansion candles breaking out of a tight multi-bar base — the move the other two patterns miss because there's no small candle or engulfing shape involved, just a coil followed by a release.
Base Lookback (bars) – how many bars immediately before the signal candle are checked for a tight base.
Max Base Range (x ATR) – how tight that base's high-low range must be.
Min Breakout Candle Body (x ATR) – how large the signal candle's body must be to count as a genuine expansion rather than noise.
4. Flag Pattern
Pole + flag structures: a sharp impulse candle, a tight consolidation right after it, then a decisive breakout of that consolidation.
Min Pole Candle Body (x ATR) – how large the impulse candle must be.
Pole Search Window (bars before flag) – instead of requiring the pole to sit on one exact bar, the indicator scans this many bars before the flag and uses whichever one has the biggest body. This makes detection far more reliable on real charts, where the impulse candle rarely lands on a perfectly fixed offset.
Flag Consolidation Bars – how many tight bars make up the flag.
Max Flag Range (x ATR) – how tight the consolidation must be.
Min Breakout Candle Body (x ATR) – how decisive the breakout candle must be.
Only Signal Reversal vs Pole – when ON, only fires when the breakout direction is opposite the pole (spike up → tight pullback → breaks down, or vice versa — an exhaustion/blow-off structure). When OFF (default), it also catches same-direction continuation flags.
Show Flag Consolidation Zones (debug) – draws every detected pole+flag setup on the chart, even ones that never break out, so you can visually see why a flag you spotted by eye didn't fire (range too wide, breakout candle too small, etc).
Chop / Range Filter
Reversal and breakout patterns are far less reliable inside dead, sideways chop. This section filters signals by market condition:
Require Trending Market (ADX) – blocks signals unless ADX is above your threshold.
Min ADX to Allow Signal – the ADX floor (20–25 is the common baseline for "trending").
Override: Allow if ADX Rising – ADX is a lagging indicator, so a brand-new trend's first few bars often still show low ADX. If ADX has been climbing over the lookback window, the signal is allowed through anyway.
Override: Allow on Volatility Breakout – if the signal candle's own range is a large expansion versus ATR, that's independent evidence of a trend starting, so the signal is allowed even if the ADX checks fail.
Enable Signal Cooldown – enforces a minimum number of bars between signals, preventing clustered, overlapping signals during choppy stretches.
Require Range Expansion (ATR vs ATR-MA) – optional extra filter that blocks signals when current volatility (ATR) is below its own moving average, i.e., the market is quiet/contracting.
Trade Settings
Reward : Risk Ratio – sets the take-profit distance as a multiple of the stop-loss distance for every signal.
Box Forward Extension (bars) – how far forward the entry/SL/TP boxes are drawn.
Enable CTC (Close-To-Cost) Outcome – if price runs in your favor far enough (see below) before hitting stop-loss, the trade is logged as CTC instead of a full loss, reflecting a realistic breakeven-plus stop management approach rather than assuming you'd sit through a full round-trip back to your original stop.
CTC Threshold (min R reached before SL) – the minimum favorable excursion, in R multiples, required before a stop-out counts as CTC instead of a loss.
Table Settings
Show Trade Results Table – toggles the on-chart performance table.
Max Trades Shown – how many recent trades are listed.
Table Position – corner placement.
The table logs every signal with its pattern type, direction, entry/SL/TP, result (WIN/LOSS/CTC), and the maximum R multiple reached — plus running totals and a win rate that excludes CTC trades from both the win and loss counts (since they're neither).
Suggested starting settings
These are reasonable defaults to start from — always forward-test and adjust for your instrument, timeframe, and volatility profile before trading live:
Setting Suggested value Why
ATR Length 14 Standard volatility baseline
Pivot Lookback Bars 5–8 Confirms a genuine fresh swing point without being too strict
Small Body Max (x ATR) 0.4–0.6 Keep tight so "small" candles stay meaningfully small
Engulf Size Ratio 1.3–1.5x Filters out marginal engulfing candles
Require Volume Spike On, 1.2x+ Volume confirmation reduces false engulfs significantly
Compression Base Range 1.0–1.5x ATR Tighter = higher quality but fewer signals
Flag Pole Body 1.3–1.8x ATR Should clearly stand out from surrounding candles
Flag Range 1.0–1.3x ATR A true flag should be visibly tight vs. the pole
ADX Threshold 20–25 20 is looser/more signals, 25 is stricter/higher quality
Reward:Risk 2:1 to 3:1 Balances win rate against payout; lower R:R needs a higher win rate to be profitable
Signal Cooldown 8–15 bars Prevents signal clustering in choppy conditions
On lower timeframes (1m–5m) and noisy instruments (gold, indices), lean toward tighter compression/flag ranges and a higher ADX floor to cut down on false breakouts. On higher timeframes (1H+), the default settings tend to hold up well as-is.
Notes
This indicator does not repaint: signals and their outcomes are only finalized on confirmed, closed bars.
The trade results table reflects this indicator's rule-based SL/TP simulation, not a full backtest with fees, slippage, or position sizing — treat it as a pattern-quality gauge, not a P&L guarantee.
This is a tool for identifying and evaluating patterns, not financial advice. Always manage your own risk. Indicator

MSnR QM LevelMSnR QM Level
This script detects Quasimodo (QM) levels from the close prices of consecutive candles and draws
them as horizontal support and resistance lines.
A QM Level forms when price creates a turning point, breaks it, builds a second turning point on
the other side, and then breaks that too. What is left behind is the price of the original turning
point, which is where liquidity was trapped and where the market often reacts again.
The result is a structural map of QM levels across the scan window, drawn as horizontal lines that
extend to the right from the candle that set the price.
WHAT MAKES THIS DIFFERENT
1. Strict four step detection.
Most QM tools look for swing highs and swing lows relative to some lookback period. This script
uses a precise four step sequence built entirely from consecutive candle pairs. Every step must
complete before a QM Level is confirmed, which eliminates the vague heuristics that plague swing
based detection.
2. The level price is the CLOSE, not the wick.
Every level sits at the close of the candle that set it. Closes are where the market actually
agreed on a price, which is why a close through a level counts as a break here while a wick through
it does not.
3. Every level is checked for uniqueness.
Duplicate prices within a small tolerance are not drawn twice. If two QM Levels land on the same
price, only one line appears. This keeps the chart clean without losing any information.
4. Detection reads confirmed candles only.
The running candle is never used. Every detection step requires a fully closed candle, and the scan
starts one bar behind the latest bar. Nothing on the chart changes while a candle is still open.
THE TWO QM TYPES
A candle is Green when close is greater than open and Red when close is less than open. A Doji,
where close equals open, is neither and forms no level. Only fully closed candles are read.
Buy QM (support)
Step 1. Find a V Level: a Red candle followed by a Green candle. The V Level price is the close of
the Red candle.
Step 2. Find the earliest Red candle after the V Level that closes below the V Level price. This is
the V Breakdown.
Step 3. Between the V Level and the V Breakdown, find an A Level: a Green candle followed by a Red
candle. Use the one nearest the V Breakdown if several exist. The A Level price is the close of the
Green candle.
Step 4. After the V Breakdown, find any Green candle that closes above the A Level price. The A
Level is now broken upward.
If all four steps confirm, the V Level price becomes the Buy QM Level. The line is drawn at that
price and extends to the right.
Sell QM (resistance)
Step 1. Find an A Level: a Green candle followed by a Red candle. The A Level price is the close of
the Green candle.
Step 2. Find the earliest Green candle after the A Level that closes above the A Level price. This
is the A Breakout.
Step 3. Between the A Level and the A Breakout, find a V Level: a Red candle followed by a Green
candle. Use the one nearest the A Breakout if several exist. The V Level price is the close of the
Red candle.
Step 4. After the A Breakout, find any Red candle that closes below the V Level price. The V Level
is now broken downward.
If all four steps confirm, the A Level price becomes the Sell QM Level. The line is drawn at that
price and extends to the right.
In both cases the QM Level marks the price of the ORIGINAL turning point: the one that was broken,
rebuilt from the other side, and then had its counterpart broken as well. That is the price where
liquidity was trapped, and it is the price the script watches.
READING THE CHART
Color tells you the side:
- Green line and green label: Buy QM. This level sits below price as support.
- Red line and red label: Sell QM. This level sits above price as resistance.
Each line starts at the candle that set its price and extends to the right, so you can see how
price has behaved around it since. The label sits at that same candle, below the line for a Buy QM
and above it for a Sell QM, so it never covers the line itself.
A summary table in the corner counts how many Buy QM and Sell QM levels were found in the current
scan window, including those that are hidden by a toggle. The table always reflects what the market
actually printed rather than what is currently switched on.
SETTINGS
Scan
- Scan Length: how many closed candles are scanned backwards from the latest bar. Every QM Level
inside that window is drawn. The running candle is always excluded.
Level Types
- An individual switch for Buy QM and Sell QM. Hiding one side is useful when you only want to
see levels in one direction.
Style
- Sell QM Color and Buy QM Color.
Labels
- Show Labels, Label Offset in ticks, and Label Size. The offset is measured in ticks, so a value
that looks right on one symbol may need adjusting on another.
Summary Table
- Show, position and size of the corner table.
ALERTS
Two alert conditions are available: Buy QM and Sell QM.
Each message carries the level type, the symbol, the timeframe and the closing price. The same
messages are also sent through the alert function, so the "Any alert() function call" alert type
can deliver both through a single alert.
All alerts are evaluated only after a candle has fully closed.
An alert fires when the four step QM sequence completes on the latest closed candle. Because
completion requires a breakout of the inner level, these alerts do not fire on every bar; they fire
only when price actually confirms a new QM structure.
REPAINTING
This script does not repaint.
- Detection reads confirmed candles only. The scan starts one bar behind the latest bar, so the
candle that is still forming is never part of any calculation.
- Alert signals can only become true once a candle has finished. Price moving inside an open candle
cannot make a signal appear and then disappear.
- Levels are rebuilt on the last bar from confirmed history. A level's price never moves. Once
drawn, nothing shifts backwards.
When you create an alert, PulseWire may show a caution banner saying the indicator can repaint.
That banner appears automatically for any script that uses the built in bar state variables, no
matter how they are used, because the platform cannot check the intent behind them. This script
uses them for the opposite purpose: one of them is what restricts every signal to bar close, and
the other is what redraws the levels efficiently on the final bar. Choosing "Once Per Bar Close"
when creating the alert is still recommended.
NOTES AND LIMITATIONS
- A QM Level requires a specific four step sequence to complete. That makes them less common than
plain A and V Levels, so stretches with few or no QM Levels are normal and expected.
- PulseWire caps drawings at 500 lines and 500 labels. A very long Scan Length will hit that
ceiling and the oldest drawings will be dropped. The default is chosen to stay well inside it.
- The label offset is measured in ticks, and a tick is worth a very different amount on a crypto
pair than on a forex pair. Expect to adjust it when you move between symbols.
- Level prices come from closes, so a level can sit in the middle of a long wick. That is
deliberate, not a bug.
- Duplicate prices within a tolerance of two ticks are drawn only once. If two QM Levels land on
nearly the same price, you see one line instead of two stacked on top of each other.
- Detection is purely structural. It reports where QM Levels are and which side they sit on. It
does not rank them by strength, measure what happened afterwards, or produce entries, targets or
stops.
HOW TO USE IT
A QM Level marks a price where price created a turning point, broke it, built the opposite turning
point, and then broke that too. The original turning point is where one side was trapped, and price
returning to that price often produces a reaction.
Buy QM Levels below price act as support. Sell QM Levels above price act as resistance. When
several levels cluster near the same price, the area is often more significant than any single
level, since separate structures agreeing on one price is what a real zone looks like.
These are reference levels, not entry signals. Use them alongside higher timeframe structure, and
apply your own confirmation and risk management.
DISCLAIMER
This indicator is a level detection tool. It is not financial advice and it makes no claim about
profitability. Trading involves risk. Always apply your own analysis and risk management. Indicator

Prop Key Levels & Order Blocks - Buy Sell Signals with TP/SLA complete intraday trading suite built around one idea: the decision candle.
Instead of guessing where price might turn, the script marks the exact candles
where the market already made a decision, and then tells you what happened when
price came back to them.
Everything is evaluated on closed bars. Printed signals never move.
━━ WHAT IT DRAWS ━━
MAJOR KEY DETECTION
The origin candle of an impulsive displacement leg. Its body becomes a level
that extends to the right. Green for bullish decisions, red for bearish ones.
When price closes clean through a key, the level is greyed out — it failed, and
you can see that it failed. The detection level (1–100) sets how far price must
travel out of a candidate before it is accepted, so you can go from "every small
turn" to "only the moves that really expanded".
MAJOR ORDER BLOCKS
The last opposing candle before a structural break. Drawn as a box that survives
until price closes through it.
TREND DETECTION
A volatility-scaled trailing line under price, green while bullish and red while
bearish. It is the filter one of the two entry engines uses, and a weighted
component of the other.
ORDER POOL
Price levels that were rejected repeatedly and still hold unfilled resting
orders. Each pool is parked as an arrow at the right edge of the chart. You
decide what happens once price trades through one: remove it (the orders are
spent) or keep it dimmed, so you can still trade the reaction after the sweep.
SMART FVGS
Three-candle imbalances, filtered by a minimum size so the chart is not buried
under meaningless micro-gaps.
━━ THE ENTRY ENGINE ━━
Two independent algorithms, selectable in the settings.
PROP MODE — conservative. A signal needs the trend filter, a key level or order
block, and a confirmation candle to agree, and price must not already be
extended. Fewer trades, built for accounts where a handful of clean entries
beats constant activity.
AI-MODE — adaptive. Trend, momentum, key level, order block, pool sweep, fair
value gap and candle quality each contribute a weighted score. The engine fires
when the combined score clears a threshold you control, so it also takes the
reversals the conservative mode filters away.
Every entry comes with three take profits (Minor, Major, Highest) and a stop.
All four are expressed in volatility units — one unit is the ATR at the signal
bar — so the distances breathe with the market instead of being a fixed point
value that is wrong on half the days.
The reward box, the risk box and the projection line are drawn forward from the
entry, so one glance tells you whether the trade is worth taking. Hover any
signal badge to read why it fired and every price it produced.
━━ COOLDOWN ━━
After a signal, the engine mutes itself for a configurable number of bars. This
is what stops it from firing ten entries into the same move — the single
fastest way to run into a daily loss limit.
━━ DASHBOARDS ━━
A trade metrics table in the corner lists the live entry, all three targets, the
stop, the reward-to-risk and the cooldown state — the numbers you copy into your
order ticket.
A cockpit panel shows the live checklist (trend, key level, order block, pool
sweep, candle, cooldown), the running position, and a hit count across the whole
loaded history: how often each target was reached and how often the stop came
first.
━━ ALERTS ━━
Entry, take-profit hit and stop hit, as readable text or as a JSON object
carrying side, entry, all three targets, the stop and the reward-to-risk — the
format execution bridges expect.
━━ SETTINGS ━━
① Engine Control — strategy type, score threshold, cooldown, metrics table
② Trade Config — Minor / Major / Highest TP, SL, volatility unit
③ Insight Matrix — key detection and its level, order blocks, trend
④ Orderflow & Smart FVGs — order pool, touch count, tolerance, fill handling
⑤ Visuals — theme, candle colouring, boxes, price lines, panel, drawing budget
⑥ Alerts — what to fire and in which format
Every input carries a tooltip explaining what it does and what changes when you
move it.
━━ NOTES ━━
Designed for intraday work on index CFDs, gold and FX. The defaults were set up
on 1- to 15-minute charts; on higher timeframes raise the cooldown and the key
detection level.
This is an analysis tool, not financial advice. Past behaviour of any level or
signal says nothing about future results. Test any configuration on your own
instrument and timeframe before trading it. Indicator

Indicator

UPDATED: COMBO - EMA/LRI/SuperTrend/HMA StrategyOverview
The EMA / LRI / SuperTrend / HMA Execution Suite is a streamlined overlay designed for intraday momentum traders, scalpers, and trend followers. It combines dynamic trend baselines, statistical breakout evaluation, and multi-tier moving average filters into a single, highly performant script.
By focusing purely on high-probability trend structure and dynamic fair value, this indicator keeps your chart visually clean and clutter-free for quick execution.
Key Features & Components:
Core Purpose: An advanced multi-indicator technical suite specifically designed for futures and stock trading.
Moving Averages & Momentum: Integrates a customizable Exponential Moving Average (EMA), a versatile Hull Moving Average (HMA) with both single and 3-HMA crossover modes, and a directionally-colored Linear Regression Index (LRI) for momentum tracking.
Breakout Probability Engine: Features a SuperTrend overlay enhanced with a relative volume Gaussian Kernel Density Estimation (KDE) model to calculate breakout strength and display confidence percentage labels.
Visual Adjustments: Includes fully customizable vertical offsets and connecting lines for the probability bubbles to maintain clear chart readability.
Comprehensive Alerts: Built-in alert conditions for trend flips, high-confidence breakouts, and moving average or price crossovers against the LRI.
Indicator

MACD Trend Phase MTF by [Itto Ryu]# MACD Trend Phase MTF by — User Manual (Publication Version)
---
## 1 · Purpose
This indicator answers one question: **"Where are we in the trend lifecycle?"** — not merely "has MACD crossed yet?"
A single MACD can only describe momentum state; it cannot describe trend *phase*, because phase emerges from the relationship between multiple timeframes. This script reads a PPO-normalized MACD across three time layers — a slow timeframe sets the regime, a mid timeframe defines the phase, and the chart timeframe tracks entry timing — then outputs an instantly readable phase name, a multi-timeframe dashboard, and a weighted consensus verdict (MAJOR).
Because everything is normalized to percentages, it works on any market and any symbol: index futures, stocks, crypto, or forex.
## 2 · Methodology
**Engine — PPO (Percentage Price Oscillator):**
```
PPO = (EMA(close,12) − EMA(close,26)) / EMA(close,26) × 100
Signal = EMA(PPO, 9)
Hist = PPO − Signal
```
PPO is used instead of raw MACD so thresholds stay constant across markets and across years (raw MACD is denominated in price units and cannot be compared across symbols).
**Phase state machine (computed on the Phase TF, default 4H):** each timeframe uses only three features:
1. **Regime** — PPO above/below zero
2. **Impulse** — PPO above/below its signal line
3. **Leg-peak memory** — is the latest impulse leg's PPO peak lower than the previous leg's peak? (structural momentum divergence)
Combined with the slow-TF regime, this yields 9 phases:
| Phase | Condition | Meaning |
|---|---|---|
| ESTABLISHED BULL | Slow bull + mid bull + impulse up | Fully aligned uptrend |
| BULL PULLBACK | Mid bull + impulse down + peaks not declining | Correction inside an uptrend — a classic continuation setup |
| WEAKENING BULL | Mid bull + impulse down + lower peaks | Late-stage uptrend — momentum thinning |
| EMERGING BULL | Mid bull but slow TF not yet bull | New trend, not yet confirmed |
| TRANSITION / CHOP | \|PPO\| < chop threshold | No phase — directionless market |
| (4 BEAR phases = mirror) | | BEAR RALLY = the mirror continuation setup |
**Anti-flicker:** the committed phase changes only after the new raw phase persists for N chart bars (default 2) — hysteresis prevents flickering.
**Timing signal:** when the phase is a pullback phase and the chart-TF histogram inflects back in the trend direction (`hist > hist ` after falling, or the mirror), a ▲/▼ triangle prints on the price chart. The idea: the higher timeframe defines *where* momentum entries make conceptual sense; the chart timeframe shows *when* the counter-move is fading.
**MAJOR consensus:** each grid TF scores its phase (Established ±1.0, Pullback ±0.75, Emerging ±0.5, Weakening ±0.25, Chop 0), weighted by timeframe (default 30m×1, 1H×1.5, 4H×2, D×3) → summed into a net % → |net| ≥ 20% = LONG/SHORT lean, ≥ 50% = strong. This is a structured way of reading multi-timeframe agreement at a glance — higher timeframes get louder votes.
## 3 · Defaults (Inputs)
| Input | Default | Rationale |
|---|---|---|
| Regime TF | D | Slowest layer; only its zero-line side is used |
| Phase TF | 240 (4H) | Phase-defining layer — roughly 4–6× the chart TF works well |
| Fast / Slow / Signal | 12 / 26 / 9 | Standard values, identical on every TF — deliberately untuned |
| Chop threshold | 0.10% | \|PPO\| below this = directionless market |
| Phase confirm bars | 2 | Hysteresis against phase flicker |
| Grid TFs | 30m / 1H / 4H / D | Dashboard rows |
| Weights | 1 / 1.5 / 2 / 3 | Higher timeframes get louder votes |
| Major bias / Strong | 20% / 50% | Verdict thresholds |
| Dashboard size | Middle | Tiny / Middle / Large |
All defaults are starting points, not optimized values — adjust them to your market and timeframe structure.
## 4 · Visual Elements
| Element | Meaning |
|---|---|
| Histogram columns (pane) | Chart-TF PPO − Signal; solid color = accelerating, faded = fading |
| Blue / orange lines (pane) | Chart-TF PPO / Signal |
| Pane background color | Current phase (green = bull family, red = bear family, orange = weakening, gray = chop) |
| ▲ / ▼ on the price chart | Timing markers — phase-gated momentum inflections |
| TF grid table | Phase per timeframe + ● dot in the L / S / H column |
| MAJOR row | Weighted consensus verdict + net % |
| Timing row | Timing status ("wait" / "TIMING NOW") |
| ⚠ row | Warns when chart TF ≥ Phase TF (view a lower TF, e.g. 1H) |
## 5 · Who This Is For / NOT For
**For:** traders studying trend-pullback structure who execute manually and use indicators as context filters; anyone who wants a one-glance answer to "is this market trending, correcting, weakening, or going nowhere?"
**NOT for:** scalpers far below the phase TF (higher-TF data updates too slowly to matter); anyone expecting a fully automatic buy/sell system (this is decision support, not a bot); extended sideways markets (it will mostly show CHOP — which is the correct reading: no trend phase exists).
## 6 · How to Use (Study Playbook)
1. Open the chart one or more steps **below the Phase TF** (e.g. 1H chart with a 4H phase TF).
2. Use the background color and phase label as context: trend-following ideas align with ESTABLISHED phases, continuation setups form during PULLBACK / RALLY phases, and WEAKENING or CHOP suggest standing aside.
3. Check the **MAJOR** row — study how often lower and higher timeframes agree before strong moves, and how disagreement resolves.
4. The ▲/▼ triangles mark where a counter-trend swing's momentum fades *while the higher timeframe still points with the trend* — the classic pullback-entry concept. Observe how these behave on your market before acting on any of them.
5. Momentum-inflection signals are, by nature, short-horizon events — they describe the next swing, not the next month. Re-evaluate whenever the phase changes.
6. Alerts: alert dialog → Condition = "MACD Phase" → choose "Phase changed", "Major bias changed", "Long timing" or "Short timing" → recommended trigger **Once per bar close**.
7. WEAKENING is best studied as a position-management state (momentum thinning), not a reversal signal.
## 7 · Common Mistakes
- ❌ Treating ESTABLISHED phases as entry signals — by the time everything is aligned, much of the move has often happened; the pullback phases are where continuation logic actually applies.
- ❌ Taking every triangle in both directions on every market — different markets have different structural drifts; study each side's behavior on your instrument first.
- ❌ Expecting momentum-inflection signals to define long swings — their information decays quickly.
- ❌ Viewing on a chart TF larger than the Phase TF (the ⚠ row will warn you).
- ❌ Reading MAJOR % as a probability — it is a weighted vote score (a structured prior), not a measured probability.
- ❌ Changing several inputs at once — you lose track of what actually changed the behavior.
## 8 · For Educational Purposes Only
This indicator is published **for educational purposes only**. It is a tool for studying how momentum, trend phase, and multi-timeframe structure interact — it is **not** a trading system, does not generate financial advice, and makes **no claim of profitability**. No performance figures are stated or implied; past behavior of any signal, on any market, does not guarantee future results. Before risking real capital on any concept illustrated here, do your own testing on your own market, timeframe, and cost structure, and consult a licensed financial professional where appropriate. You alone are responsible for your trading decisions.
## 9 · Disclosure Block
- **Pine version:** v6
- **Repaint:** NO on closed bars — every HTF value uses only fully closed bars (`security(expr , lookahead_on)` idiom); historical bars are never redrawn. Note: current-bar table values and signals update until the bar closes — use alerts set to "Once per bar close".
- **Chart type:** standard candles only (no Heikin Ashi / Renko / Range — synthetic prices distort PPO).
- **Originality:** fully original code — the phase state machine, leg-peak memory, and weighted MTF consensus were written from scratch, not adapted from any open-source script.
- **This indicator is create for educational purposes only — not investment advice or recommendation or professional advice, you are on your own risk **
---
Indicator

Supertrend Twincore [MachineSuiteAI]Supertrend Twincore
🟦 OVERVIEW
A fast Supertrend flips too often; a slow one flips too late. This script runs both at once and only signals when they agree — and then shows you, with win rates and sample sizes, how that agreement has actually performed on the chart you have loaded.
A signal only appears where the fast core (timing) and the slow core (structure) first align, and only if it passes a gate: clustered whipsaw flips always suppress, and every other filter blocks signals only where measurement shows it helps on this chart. Passed signals are graded A/B/C and draw an Entry / SL / TP1-3 ladder whose outcomes are tracked per grade. Suppressed candidates stay as grey ghost chips with the reason, and a five-row multi-timeframe strip shows the consensus state across timeframes from completed bars.
The idea throughout: the chart never claims more than the data supports, and anything the script believes is checkable in the panel.
🟦 WHAT IS A SUPERTREND?
Supertrend is a public-domain trailing-stop indicator: it offsets price by a multiple of the Average True Range and trails that stop behind the trend. Price above the stop means uptrend, below means downtrend; a close across it flips the state. This script computes its cores with the built-in ta.supertrend() — fast 2.0 × ATR(10) and slow 4.0 × ATR(20) by default.
Its known weakness is structural: in ranging markets the stop is repeatedly crossed and the indicator whipsaws. Filters are the usual answer; this script measures whether each one actually helps on the loaded symbol and timeframe, and the marks and the gate act only on that evidence.
🟦 WHY THIS SCRIPT IS ORIGINAL
The base calculation is a built-in, and the ingredients — win-rate panels, ADX gates, higher-timeframe confirmation, multi-timeframe dashboards, take-profit ladders, signal grades — are established ideas. What's different is the standard everything must meet: beyond one fixed whipsaw rule, nothing gets drawn, nothing blocks a signal, and nothing drives the engine unless the measurements on the loaded chart back it up.
- Graded ladder odds with the cost attached. Grades are fixed and published — A means structural confirmation plus volume, B one of the two, C neither; no opaque score. Every passed signal's ladder is tracked to resolution; the panel shows per grade: TP1-before-SL and SL-first rates, the median furthest level, the median heat (largest adverse move, in ATR units) and the median bars to TP1, each with its own sample size.
- An adaptive engine that has to beat the fixed one first. Both fast cores — fixed and adaptive — are measured as separate signal streams on the loaded chart, and the adaptive core only drives signals while it beats the fixed core by a set margin with enough samples. The A/B row shows the running comparison; on defaults it reports the adaptive layer as inert.
- Gates held to the same standard. The ✓ volume mark and ⚠ counter-trend warning only print where their split beats the base win rate by a configurable margin here. The ADX gate only blocks candidates where high-ADX candidates have beaten low-ADX candidates by that margin on this chart.
- Per-condition win-rate splits. The base candidate win rate, then the same measurement split by signal class, higher-timeframe agreement, volume confirmation, multi-timeframe alignment and volatility regime — six statistics, each with its own sample size, greyed below a minimum sample.
- Two kinds of signals, measured separately. A candidate exists only on the first bar the cores align and is classified as a structural confirmation (the slow core just flipped in) or a pullback rejoin (the fast core returned to a standing slow trend); a double flip on one bar is labeled same-bar. They are different trades, measured separately.
- Suppression you can audit. A gated-out candidate still prints — a hollow grey ghost chip with the specific reason — and still counts in every statistic, so the base rate is never inflated by counting only the survivors.
- Visual discipline. The band claims a direction only while both cores agree; its saturation drains as price nears the structural stop, so the exit warning arrives before the flip; NEUTRAL keeps a directional tint, so the last trend stays readable while standing aside. The price scale is held to the same rule — it carries the structural stop and the ladder's Entry, SL and TP1-3, each in its own colour, and nothing else; the band and the fast core draw on the chart but claim no axis label. Every visual property maps to something measured.
🟦 HOW IT WORKS
- Cores: two standard Supertrends — the fast core times entries, the slow core defines structure and is the ladder's trailing stop. Presets: Scalp 1.5×ATR(7)/3.0×ATR(14), Intraday 2.0×ATR(10)/4.0×ATR(20), Swing 3.0×ATR(14)/5.0×ATR(28), or Custom.
- Gate and state model: flip-cluster suppression (2+ fast flips in 10 bars, on by default), the measured ADX gate (default "Where it helps (measured)"), and an optional strict higher-timeframe gate (off by default). The band turns grey NEUTRAL on low ADX (default ADX(14) < 20) or flip clustering.
- Higher-timeframe filter: a third Supertrend one regime up (auto-mapped ≤15m→4H, ≤1H→1D, ≤4H→3D, ≤1D→1W, else 1M; or manual), read from the last completed HTF bar.
- Statistics: on confirmed bars, every candidate — passed and suppressed — resolves N bars later (default 10); a win means the close moved in its direction. Splits grey below the minimum sample (default 20). Chip marks need their split to beat the base rate by ≥3 points (configurable); the ADX gate needs the high-ADX split to beat the low-ADX split by the same margin; volume confirmation is volume above 1.5× its 20-bar average.
- Ladder: at a passed signal's close, Entry is the close, SL is the slow-core stop (or the fast core, or a fixed k×ATR cap), TP1/2/3 default to 1/2/3 × ATR. It trails, marks TP touches ✓, freezes ✕ on an SL break, dims when resolved or consensus is lost, and feeds the per-grade LADDER ODDS rows. A live ladder tracks the right edge of the chart; once its stop is hit it stops there, so it stays a bounded record of that trade — targets it never reached are not credited later just because price eventually passed them, and the frozen right edge makes clear the trade was already over. The stop's ray spans only the stretch where that level was actually in force, because a trailing stop is a staircase rather than one line: on a long it starts below the entry and can ratchet above it, locking in profit, and the amber slow core shows the whole path. Each level prints its exact price on the price scale, so the figure for an order ticket reads straight off the axis while the chart labels stay short. The colours carry the geometry: entry green, the targets in the trade's own direction and the stop in the opposite hue, so the level that ends a trade never reads like the levels that pay it — and the slow core keeps its amber, so the stop stays distinguishable from the line it trails.
- Adaptive engine: a per-volatility-regime fast core A/B-measured against the fixed one, as described above; default factors are inert.
- MTF strip: five rows of full consensus state (UP / DOWN / SPLIT / NEUTRAL, with bars-in-state), each read from that timeframe's last completed bar. Auto mode starts at the chart's own timeframe and climbs — 4H gives 4H/D/W/M/3M. Lower timeframes are omitted by default: their consensus flips many times during a single trade taken here, so it says little about an outcome measured over days. Manual mode accepts any five, defaulting to the classic 15m/1H/4H/D/W.
🟦 HOW TO USE IT
- Read the panel first: consensus state, cores, regime, HTF agreement, then the measured rows. An ↑ means that condition has earned its margin on this chart; its absence means it hasn't.
- Chips carry their evidence: grade letter, live per-grade TP1 odds at sufficient sample, ✓ where volume has helped, ⚠ where fighting the higher timeframe has hurt. Ghost chips mean the script stood aside — the reason is on the chip.
- NEUTRAL and SPLIT mean stand aside. The coach line says this in plain language, and notes that a retouch of the entry after TP1 does not invalidate a live ladder — only the SL does.
- Reversal-only signal mode reserves the headline presentation for slow-core reversals; Discipline display mode strips the chart to the band alone (note: TP/SL alerts only fire while the ladder is drawn).
- Defaults are tuned on liquid crypto from 15-minute to weekly charts; the multipliers and ADX threshold are worth reviewing on other asset classes.
🟦 SETTINGS
Grouped as in the inputs dialog: consensus core (presets or custom multipliers) · higher-timeframe filter · state model & signal gate (ADX, flip-cluster, optional HTF gate, ghost chips) · trade ladder (SL geometry, TP multiples) · grade engine (certified or dynamic wiring) · adaptive engine · MTF strip · visuals and display modes · volume multiple (default 1.5×) · signal stats engine (horizon, minimum sample, gating margin) · JSON webhook alerts.
🟦 ALERTS
Consensus long / short · confirmed reversal long / short · Grade A long / short · TP1 / TP2 / TP3 touched · SL break · NEUTRAL started / ended · volatility regime changed · adaptive engagement changed. Create the classic alert conditions with "Once Per Bar Close" — they evaluate on live bars, and an intrabar state can revert before it counts. Optional JSON alert() events via a single "Any alert() function call" alert: signal events carry grade, entry and levels; TP/SL events identify the touched level; all carry symbol, timeframe, regime and state. The JSON events are close-gated and fire for every passed candidate, including rejoins the Reversal-only display mode demotes.
🟦 REPAINT & DATA NOTES
- All bookkeeping runs on confirmed bars; chips, ladders and statistics commit at bar close. Inside a forming bar the panel's consensus, cores, agreement, volume and coach line update live and are therefore PROVISIONAL — they can revert before the bar shuts. Price can also sit beyond a ladder's stop for the rest of a bar without resolving it: in the core SL modes the stop breaks when that core flips, which needs a confirmed close. The coach line says so when it happens.
- Higher-timeframe and strip values come from each timeframe's last completed bar — no repaint; intrabar changes up there show after that bar closes. The design assumes the HTF sits above the chart's timeframe — with Manual selection, keep it there.
- Ladder TP touches — and the Fixed mode's hard-stop touches — are detected from confirmed bars' highs/lows, starting the bar after entry; a bar touching several levels credits TPs before the stop. In the core SL modes the stop is not touch-based: it resolves only when its core flips, which needs a confirmed close — so a wick through the stop does not end a ladder, and the touch-credited TP rates are structurally friendlier than a hard-stop backtest of the same levels. The Fixed k×ATR mode is the geometry closest to a real hard stop.
- Statistics cover the loaded history and reset when the chart reloads with different history; lower timeframes load fewer bars. Greyed rows just mean the sample is too small to trust.
- Only the most recent 250 chips and ghost chips stay on the chart, so a live ladder's own labels can never be pushed off by PulseWire's drawing limit; deep history keeps its band and cores but not its markers. Ladder odds count each ladder when it resolves, and in the rare case that more than 30 are open at once the oldest is counted at its current state rather than discarded — the sample is never silently trimmed.
- On a live bar the volume ratio is partial; judge it near the close. Volume features require a feed that supplies volume.
🟦 CREDITS
The Supertrend concept is public domain (popularized by Olivier Seban); ATR, ADX and the DMI are J. Welles Wilder's. The fixed cores use PulseWire's built-in ta.supertrend(); the adaptive core re-implements the same algorithm to accept a per-bar factor. The consensus model, candidate classes, statistics engine, gates, grades, measured ladder, ghost chips, strip and band rendering were written from scratch for this script.
🟦 LIMITATIONS
- Supertrend lags by construction, and requiring two cores to agree makes entries later still — fewer, later, more heavily filtered signals is the intended trade-off.
- The NEUTRAL state derives from lagging measures (ADX, flip counts), so the first signals of a new trend can still arrive grey or be suppressed.
- All statistics are direction-only measurements over a fixed horizon; ladder odds are level measurements (TPs credit on a wick touch, core-mode stops resolve only on a confirmed core flip) — no fees, slippage, sizing or equity math. They are not a strategy backtest, they differ per symbol and timeframe, and they do not predict future outcomes.
- Without volume data the volume filter and its split stay inactive, and certified Grade A (confirmation + volume) is out of reach — signals cap at Grade B on volume-less feeds. Sample sizes on higher timeframes are structurally small; expect greyed rows there.
- The same asset on two different venues can show opposite states. A Supertrend flip is a threshold event: when price sits within a fraction of a percent of the band, a normal inter-exchange spread of a few basis points decides whether it crosses, and once one venue flips its stop jumps to the other side of price, so two nearly identical charts diverge sharply. This is inherent to the calculation, not a data error — treat a signal as belonging to the feed it was measured on, and check the panel's sample sizes on the venue you actually trade.
🟦 DISCLAIMER
This is an educational analysis tool, not investment advice. Historical measurements, however carefully computed, do not predict future results. Trading involves substantial risk.
Indicator

Liquidity Stress Exhaustion [MarkitTick]💡 A market-microstructure stress detector that flags moments of seller or buyer exhaustion by combining an Amihud-style illiquidity z-score with trend regime, a regression-based fair-value channel, and automated ATR trade levels. Rather than reacting to price alone, this script measures how much price is moving relative to the volume behind it, then cross-references that stress reading against trend direction and candle behavior to identify points where aggressive selling or buying is likely running out of steam.
✨ Originality and Utility
Most exhaustion-based tools on PulseWire rely on oscillator extremes (RSI, Stochastic) or candlestick pattern recognition in isolation. This script takes a different route: it borrows a concept from academic market-microstructure literature — price impact per unit of volume, i.e., illiquidity — and turns it into a real-time, standardized stress signal. Instead of asking "is price overextended?", it asks "is price moving too much for the volume that's actually trading?" A large true-range on abnormally low volume is treated as a sign of thin, stressed liquidity, and it is this stress, combined with a counter-trend candle, that defines exhaustion here — not price level alone.
This is not a simple mashup of unrelated indicators bolted together for the sake of a new publication. The illiquidity stress engine, the trend filter, the regression channel, and the correlation/ADX filters are all working toward a single, coherent question: is the current directional move statistically and structurally likely to reverse or stall? The z-scored stress reading identifies unusual conditions, the EMA trend filter and candle-close direction confirm which side is under pressure, and the optional Pearson-R and ADX filters exist specifically to suppress signals when the broader price action lacks the statistical structure (trending correlation, directional strength) needed to make the exhaustion reading meaningful. Each component narrows the false-positive rate of the others; removing any one of them would meaningfully change what the tool measures.
The script goes further than a plain signal generator by translating each exhaustion event into a fully computed trade plan — an ATR-derived stop, a dynamically computed R (risk unit), and three R-multiple take-profit targets — visualized directly on the chart and exposed through a structured alert payload designed for automation.
🔬 Methodology and Concepts
• Illiquidity Stress Engine
The core of the script computes a proxy for market illiquidity on every bar: true range divided by volume (with a safe fallback when volume is zero or unavailable), then compressed with a natural-log transform to tame outliers. This raw illiquidity series is then standardized into a z-score using a rolling mean and standard deviation over the "Stats Lookback" period. A z-score above your chosen "Stress Threshold (σ)" marks the bar as being in a state of high stress — meaning price moved an unusually large amount for the volume that supported it, a hallmark of thin liquidity and potential exhaustion of the prevailing move.
• Trend Regime Filter
Direction is established by comparing price (optionally pre-smoothed by an adaptive filter, see below) against an EMA of configurable length. Price below the EMA defines a downtrend; price above defines an uptrend. Exhaustion signals are only valid when they occur against the backdrop of an established trend in the opposite direction — a seller exhaustion signal requires the prior bar to have closed in a downtrend on a red candle, while buyer exhaustion requires an uptrend and a green candle.
• Adaptive Price Filters (Optional)
Two optional smoothing methods can replace raw closing price throughout the trend calculation:
Kalman Filter: a lightweight recursive estimator that continuously balances trust between the incoming price and its own prior estimate, adapting its responsiveness based on a fixed process/measurement noise ratio derived from your chosen length.
LLAMA (Linear-Lag Adjusted Moving Average): a hybrid that takes a simple moving average and adjusts it by half the recent linear slope, aiming to reduce the lag inherent in plain moving averages.
These exist to give the trend filter a smoother, less noise-reactive input than raw closing price when desired.
• Regression Fair-Value Channel
On the most recent bar, the script performs a least-squares linear regression over a lookback window (either a fixed length, or a dynamic length measured from the most recent qualifying pivot, capped by "Max Lookback Cap") using hlc3 as the source. From this it derives the regression line itself, its standard deviation, and the Pearson correlation coefficient (R), which measures how well price actually fits a straight line over that window. Inner and outer channel bands are plotted at user-defined standard-deviation multiples above and below the regression line, giving a visual statistical envelope for the recent price trend.
• Correlation and ADX Filters
Two independent filters can suppress exhaustion signals when the broader trend lacks structural conviction:
Pearson R Filter: when the absolute value of the regression's correlation coefficient falls below your threshold, the trend is considered statistically weak/directionless, and the channel is recolored neutral to flag this — though note this filter affects only the visual channel coloring, not signal firing.
ADX Filter: when enabled, exhaustion signals are only permitted when ADX is at or above your threshold, filtering out exhaustion calls during periods of weak directional movement.
• Pivot Detection
Standard confirmed pivot highs and lows (requiring the specified number of bars on each side) are tracked internally to support the optional Dynamic Pivot Mode, which — when enabled — sizes the regression lookback to the distance since the most recent confirmed pivot rather than using a fixed length.
• ATR Trade Level Construction
When a qualifying exhaustion signal fires and is confirmed, the script computes a full trade plan: the entry is the closing price of the confirmed exhaustion bar, the stop-loss is placed one ATR-multiple away (your "ATR SL Multiplier" times ATR over "ATR Length"), and the resulting stop distance defines one Risk unit ("R"). Three take-profit levels are then placed at your chosen R-multiples (default 1R, 2R, 3R) from entry. This entire trade plan updates and redraws only when a new, unlocked exhaustion signal fires.
• Lock Signal
Enabling "Lock Signal" freezes the currently displayed trade plan on the chart, preventing new exhaustion events from overwriting the active levels — useful for manually tracking a single trade through to its conclusion without the visual being replaced mid-trade.
🎨 Visual Guide
● Exhaustion Labels
"SE" label below a bar (bullish color by default) marks a confirmed Seller Exhaustion event — sellers pushed price down under stress conditions, and the setup favors a potential upside reaction.
"BE" label above a bar (bearish color by default) marks a confirmed Buyer Exhaustion event — buyers pushed price up under stress conditions, and the setup favors a potential downside reaction.
● Regression Channel
The dashed center line is the linear regression fair-value line over the active lookback window.
The two dotted inner lines mark the "Inner Deviation" band (default 1.0σ).
The two solid outer lines mark the "Outer Deviation" band (default 2.0σ).
The shaded fill between the inner bands is colored by trend direction — bullish or bearish color when the trend is statistically valid, neutral gray when the Pearson R Filter flags the trend as too weak/uncorrelated to trust.
An optional floating "STATS" label above the current bar displays the regression length, Pearson R value, and current stress z-score (σ) numerically, when "Show Metrics Label" is enabled.
● Trade Level Lines
Plotted only after a qualifying exhaustion event, extending toward the current bar:
Red solid line and "✕ SL" label: the calculated stop-loss.
Blue dashed line and "▶ Entry" label: the entry price (signal bar's close).
Three teal dashed lines of increasing opacity/solidity, with "◆ TP1", "✦ TP2", "◆ TP3" labels: the three R-multiple take-profit targets.
A red-tinted fill between the stop and entry lines visualizes the risk zone.
A teal-tinted fill between the entry and TP3 lines visualizes the reward zone.
● Dashboard (Table)
A compact panel, positioned per your "Dashboard Position" setting, reporting in real time: Lock status, current Trend Regime (Bullish/Bearish), Seller Status and Buyer Status (Exhausted/Normal), a visual Channel Width bar-meter (color-graded green/amber/red by relative width), a visual Pearson R bar-meter (same color grading by correlation strength), and — when an exhaustion signal is currently active — the live Entry, Stop Loss, and TP1 price levels. ADX value and Adaptive Filter type are appended as additional rows only when those features are enabled in the inputs.
📖 How to Use
Watch for an "SE" (Seller Exhaustion) label — this suggests a downtrend that produced an unusually large price move for its volume, on a down candle, potentially signaling sellers are running out of conviction and a bounce could follow.
Watch for a "BE" (Buyer Exhaustion) label — the mirror case in an uptrend, potentially signaling an approaching pullback or reversal.
Use the dashboard's Pearson R and Channel Width meters as a quick sanity check on trend quality before acting on a signal — a low R reading (channel shown in neutral gray) suggests the recent price action lacks a clean directional structure.
If ADX filtering is enabled, only signals occurring during sufficiently strong directional movement (per your threshold) will fire, which can help avoid exhaustion calls inside choppy, low-ADX conditions.
Once a signal fires, the plotted SL/Entry/TP1-3 lines and the dashboard's live level readout offer a pre-built framework for position sizing and target-setting — always cross-check these levels against your own risk tolerance before acting on them.
Enable "Lock Signal" if you want to study a single active trade plan without it being replaced by a new signal appearing on a later bar.
All signals, dashboard values, and trade levels are calculated strictly on confirmed, closed bar data — nothing on this chart is repainted or recalculated retroactively into the past.
⚙️ Inputs and Settings
● Core Settings
Trend Length: EMA period used for the directional trend filter. Longer values smooth out the trend classification; shorter values make it more reactive.
Stats Lookback: rolling window for the illiquidity mean/standard deviation used to compute the stress z-score.
Stress Threshold (σ): the z-score level that must be exceeded for a bar to be classified as "high stress." Raising this makes exhaustion signals rarer but more extreme.
Dynamic Pivot Mode: when enabled, the regression channel's lookback length is derived from the distance to the most recent confirmed pivot instead of a fixed value.
Fixed Length: the regression lookback used when Dynamic Pivot Mode is off.
Pivot Left / Pivot Right: bars required on each side to confirm a swing high/low for Dynamic Pivot Mode.
Max Lookback Cap: hard ceiling on the regression window length, regardless of pivot distance, to control computation and keep the channel visually relevant.
Inner/Outer Deviation: standard-deviation multiples defining the two channel bands around the regression line.
● Filters
Filter Weak Correlations / Pearson R Threshold: controls the channel's neutral-color flagging when regression fit quality is below this threshold.
Use ADX Filter / ADX Threshold / ADX Length: optional directional-strength gate that must be satisfied for exhaustion signals to fire.
Adaptive Filter (None / Kalman Filter / LLAMA) and its Length: optional pre-smoothing applied to price before the trend/EMA calculation.
● Trade Tools
Lock Signal: freezes the current trade plan against being overwritten by new signals.
ATR SL Multiplier / ATR Length: controls stop-loss distance as a multiple of ATR.
TP1/TP2/TP3 (R Multiple): sets each take-profit target as a multiple of the initial risk (R).
● Visuals
Show Metrics Label: toggles the floating STATS label showing regression length, R, and z-score.
High/Low Volatility Width %: reference thresholds used to color-grade the dashboard's Channel Width meter.
Line Extension: controls whether regression channel lines extend left, right, both, or not at all.
● Dashboard
Dashboard Position: places the summary table in any of the four chart corners.
● Alerts
Six customizable action-tag fields (Seller/Buyer Exhaustion, TP1/TP2/TP3 Hit, SL Hit) let you rename the "action" field inside each alert's JSON payload to match your own automation or webhook naming scheme.
● Colors
Full palette control over bullish/bearish/neutral coloring, text and background colors, dashboard styling, and all trade-level line/fill colors.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Illiquidity as a Price-Impact Proxy
The stress engine's core calculation — true range divided by volume — is a simplified, bar-by-bar adaptation of the price-impact style illiquidity measures used in market microstructure research, most notably the Amihud illiquidity ratio, which relates absolute returns to trading volume as a proxy for how much a given amount of volume "costs" in terms of price movement. The underlying academic intuition is that in illiquid or stressed conditions, smaller volumes produce disproportionately larger price swings; the log transform compresses the resulting distribution to reduce the influence of extreme outlier bars before standardization.
● Z-Score Standardization and Statistical Anomaly Detection
Converting the raw illiquidity reading into a z-score against its own rolling mean and standard deviation is a direct application of statistical process control / anomaly-detection theory: rather than using a fixed, market-agnostic threshold, the script defines "abnormal" relative to each instrument's and timeframe's own recent behavior. This adaptive standardization is a common approach in quantitative finance for regime and outlier detection, since raw price-impact values are not comparable across instruments, timeframes, or volatility regimes without normalization.
● Ordinary Least Squares Regression and Goodness-of-Fit
The fair-value channel is constructed using closed-form ordinary least-squares (OLS) regression formulas computed directly from the summary statistics of the price series (sums of x, y, x², xy, y²) rather than an iterative solver — a standard, numerically efficient approach for simple linear regression. The accompanying Pearson correlation coefficient is the classical goodness-of-fit statistic for this regression: it quantifies how well a straight line explains the price action over the lookback window, providing a principled, quantitative basis (rather than visual judgment) for deciding whether "trend" is a statistically meaningful description of recent price behavior.
● Recursive State Estimation (Kalman Filtering)
The optional Kalman Filter smoothing option is a simplified, single-dimension implementation of the classical Kalman filter from control theory and signal processing — a recursive Bayesian estimator that maintains a running estimate of a system's true state (here, price) and continuously updates it by weighting new observations against the model's own uncertainty. This provides a theoretically grounded alternative to fixed-window moving averages for noise reduction.
● Trend-Following Directional Strength (ADX/DMI)
The optional ADX filter draws on Welles Wilder's Directional Movement System, a long-established technical framework for separating trend strength from trend direction. Using it as a gate rather than a signal generator reflects its intended academic role: ADX does not indicate direction, only the strength of whatever directional move is present, making it a natural confluence filter for suppressing signals during structurally weak, low-conviction price action.
⚠️ 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

Volume Regression Channel [BOSWaves]Volume Regression Channel - Regression-Anchored Volume Flow Visualization with Inward Pressure Bars, Edge Flares, and Cumulative End Profile
Overview
Volume Regression Channel is a regression-anchored volume flow analysis system that fits a polynomial or linear curve to recent price history and maps buy and sell volume pressure inward from the channel boundaries toward the centerline on every bar, where bar height, coloring, edge flare intensity, and end profile distribution are all driven by actual volume participation and close-position-derived directional weighting rather than fixed histogram positions or arbitrary price levels.
Instead of displaying volume as a separate panel histogram detached from price context, this system integrates volume directly into the regression channel structure. Each bar's volume is split into buy and sell components based on where close sat within the bar's range, and those components are rendered as inward-pointing bars anchored to the upper and lower channel edges, with bar height proportional to normalized volume and coloring distinguishing above-average from below-average participation. The result is a channel where the volume activity on every bar is visible in spatial relationship to the channel boundaries that define the structural context.
This creates a complete price and volume framework within a single overlay. The regression curve defines the trend's expected path. The gradient channel fills communicate the statistical distance from the centerline. The inward volume bars reveal participation intensity and directional split at each bar. The flow-colored centerline segments expose directional pressure evolution across the window. Edge flares highlight exceptional volume events occurring near the channel boundaries. Bound diamond markers identify the first bar of each new boundary touch. And the cumulative end profile extending from the current bar provides a full buy-sell volume distribution summary across the channel's price range for the entire regression window.
Price is therefore evaluated not just for its position within the regression channel but for the volume participation and directional flow composition supporting its location at every bar across the full lookback window.
Conceptual Framework
Volume Regression Channel is founded on the principle that a regression channel becomes significantly more analytically powerful when volume participation is integrated directly into its structure rather than displayed separately, allowing the trader to simultaneously assess where price sits relative to the statistical trend expectation and how much and what type of volume supported each bar's position within that channel.
Standard regression channel tools provide structural price context through the curve and its standard deviation bounds but offer no volume intelligence, leaving traders to consult a separate panel to understand participation dynamics. This framework eliminates that separation by embedding volume directly into the channel geometry, with inward bars, edge flares, centerline flow coloring, and the end profile all deriving from the same volume and price data that defines the channel itself.
Three core principles guide the design:
Volume should be displayed in direct spatial relationship to the channel structure it relates to, with inward bars anchored to the boundaries and sized proportionally to participation intensity so that high-volume bars are immediately identifiable within their structural context.
Buy and sell volume should be separated using close position within the bar range, rendering the directional split of each bar's participation as distinct inward segments that reveal whether volume at each price location was predominantly absorbed by buyers or sellers.
A cumulative end profile should summarize the full window's volume distribution at the current channel position, providing a reference for where participation has been most concentrated across the regression window without requiring a separate profile indicator.
This shifts regression channel analysis from structural price context alone into an integrated price-volume framework where participation intensity, directional flow composition, and cumulative distribution are all visible within the channel geometry itself.
Theoretical Foundation
The indicator combines matrix ordinary least squares regression fitting to HL2 price data, standard deviation channel construction, close-position buy-sell volume splitting, volume SMA normalization for significance classification, three-layer gradient polyline fill construction, inward volume bar rendering with dynamic width scaling, flow-weighted centerline segment coloring, edge flare detection combining volume and boundary proximity conditions, and an overlap-weighted cumulative buy-sell profile with smoothing applied across the channel rows.
The regression is computed using the same OLS matrix approach as conventional polynomial regression, producing a prediction array covering all bars in the lookback window for both linear and quadratic modes. The channel width is scaled by the rolling standard deviation of HL2, ensuring channel boundaries adapt to the instrument's actual price variability. Volume splitting uses close position within the high-low range as the proxy for directional commitment, with bars closing near the high allocating more volume to buying and bars closing near the low allocating more to selling. The end profile smooths each row's accumulated buy and sell volume with a three-point weighted average before normalizing and rendering.
Four internal systems operate in tandem:
Regression Channel Engine : Computes OLS curve fitting in linear or polynomial mode, derives the standard deviation channel width, and constructs all polyline geometry for the gradient fills, glow boundary lines, and centerline using chart.point arrays that follow the regression curve.
Inward Volume Bar System : For each bar in the recent display window, normalizes volume against the window maximum, splits the normalized height into buy and sell components by close position, and renders inward lines from the channel edges with dynamic width scaling and above-average volume coloring.
Edge Flare and Bound Marker System : Monitors each recent bar for the combination of above-threshold volume and boundary zone proximity, rendering bright glowing line segments on the channel edge when qualifying conditions are met, and places diamond markers at the first bar of each new boundary touch.
Centerline Flow and End Profile Engine : Divides the centerline into sixty flow segments and computes volume-weighted directional bias for each, coloring segments by flow direction and strength. Simultaneously accumulates overlap-weighted buy and sell volume into channel rows across the full window, smooths the distribution, and renders horizontal profile bars extending from the current bar edge.
This design ensures volume participation is embedded into every layer of the channel visualization while the end profile provides a complete cumulative distribution summary that updates with each new bar.
How It Works
Volume Regression Channel evaluates price through a sequence of regression-aware and volume-integrated processes:
Regression Curve Fitting : On the last bar, the OLS matrix computation produces a prediction array covering all bars in the configured lookback window using either a linear or polynomial fit to HL2, providing the baseline curve that all channel geometry and volume positioning follows.
Channel Width Calculation : The standard deviation of HL2 over the regression window multiplied by the SD multiplier defines the channel half-width, establishing the upper and lower boundary distances from the curve at each bar position.
Gradient Fill Construction : Three polyline polygon regions are constructed for each of the upper and lower channel halves at proportional fractions of the standard deviation width, filled with progressively increasing opacity from inner to outer to produce a smooth visual gradient across the channel depth.
Boundary Glow Rendering : Triple polylines at the upper and lower channel boundaries create a glow effect using wide low-opacity outer lines and a narrow full-opacity core line, providing visually prominent boundary markers that follow the regression curve.
Volume Normalization and Splitting : For each bar in the volume display window, raw volume is normalized against the window maximum to produce a proportional height score. Close position within the high-low range splits this height into buy and sell components, with the buy portion anchored to the lower boundary and the sell portion anchored to the upper boundary pointing inward.
Inward Bar Rendering : Buy and sell component heights are rendered as inward-pointing lines from the respective channel edges with dynamic width scaling based on relative volume and opacity intensifying for above-average participation bars.
Edge Flare Detection : Each recent bar is tested for the combination of volume exceeding the flare multiplier threshold and price high or low reaching within the configured edge zone percentage of the channel boundary. Qualifying bars receive bright dual-layer line segments on the boundary edge with width scaling by relative volume strength.
Bound Diamond Placement : Each bar is tested for initial channel boundary contact, with a diamond marker placed at the first bar of each new upper or lower boundary touch to mark where price newly reached the statistical extremes.
Centerline Flow Coloring : The centerline is divided into sixty equal segments and each segment's volume-weighted close position bias is computed across its constituent bars. Segments are colored green, red, or neutral based on the directional flow value and intensity with line width scaling to strength.
End Profile Construction : All bars in the regression window contribute their volume to the profile rows based on price overlap between the bar range and each row boundary, with the contribution split into buy and sell portions by close position. The accumulated distribution is smoothed and normalized before rendering as horizontal buy and sell bars extending from the current bar.
Together, these elements form a continuously updating integrated price-volume framework where the regression structure, volume participation, flow direction, and cumulative distribution are all rendered within the same channel geometry on each bar update.
Interpretation
Volume Regression Channel should be interpreted as a regression-anchored structural framework with embedded volume participation intelligence at every level:
Regression Curve : The fitted centerline represents the trend's statistical best-fit path through the lookback window, with the flow-colored segments revealing whether volume-weighted directional bias above or below the curve was predominantly bullish or bearish across each portion of the window.
Channel Boundaries : The upper boundary with its red glow represents the upper standard deviation limit where price is statistically extended above the regression expectation. The lower boundary with its green glow represents the lower limit where price is statistically extended below.
Gradient Fill Depth : The three-layer gradient within each channel half provides visual depth cues, with the innermost near-transparent fill representing mild deviation and the outermost fully opaque fill representing maximum channel boundary proximity.
Inward Buy Bars (Green) : Lines extending upward from the lower channel boundary reflect the buy-attributed volume portion of each bar. Taller bars indicate greater buying participation. Brighter coloring indicates above-average total volume on that bar.
Inward Sell Bars (Red) : Lines extending downward from the upper channel boundary reflect the sell-attributed volume portion of each bar. Taller bars indicate greater selling participation. Brighter coloring indicates above-average total volume.
Neutral Volume Bars (Gray) : Below-average volume bars render in neutral gray regardless of direction, identifying periods of low participation where the directional split carries reduced analytical significance.
Edge Flares : Bright glowing line segments on the channel boundary mark bars where significant volume occurred close to the boundary edge, identifying high-participation boundary interaction events that frequently precede reversals or continuations from the statistical extremes.
Bound Diamonds : Small colored diamonds at boundary touch initiation bars mark where price first reached the channel edge after a period of interior activity, identifying the onset of boundary interaction sequences.
End Profile : The horizontal bar chart extending from the right edge shows the cumulative volume distribution across the channel's price range for the full regression window, with green segments showing buy-attributed volume and red segments showing sell-attributed volume at each price row. The longest bars identify the price levels with the greatest total participation concentration.
Colored Candles : Optional candle coloring reflects whether price is above or below the regression centerline, providing a continuous directional bias reference directly on the price chart.
Boundary proximity, inward bar height and direction, edge flare frequency, centerline flow coloring, and end profile distribution collectively provide more analytical depth than any element in isolation.
Signal Logic & Visual Cues
Volume Regression Channel does not generate discrete buy or sell signals but provides continuous structural and volume participation reference through several interaction cues:
Edge Flare Events : High-volume boundary proximity bars highlighted by bright edge flares identify exceptional participation at the statistical extremes, marking the bars most likely to precede structural reactions from channel boundaries.
Bound Diamond Initiation : Diamond markers at the first bar of new boundary touches identify where price has newly entered channel extreme territory, providing early warning of boundary interaction sequences before their outcome is determined.
Centerline flow segment coloring provides ongoing directional pressure context across the full window, with color and width encoding whether the volume-weighted bias at each point in the regression history was bullish, bearish, or neutral.
Strategy Integration
Volume Regression Channel fits within regression-informed structural and volume-participation-based analytical approaches:
Boundary Interaction Trading : Use channel boundary touches combined with edge flare presence as elevated-significance interaction events. High-volume flares at the boundary suggest meaningful participation at the statistical extreme that frequently precedes a reaction back toward the centerline or a volume-supported continuation beyond it.
End Profile Acceptance Reading : Use the end profile distribution to identify the price rows with the greatest cumulative participation concentration. Price returning to high-volume profile rows encounters levels where the greatest historical participation occurred within the regression window, making them structurally significant references for support, resistance, or reversion.
Inward Bar Volume Divergence : Monitor situations where price is approaching a boundary but inward bar height from the opposing direction is increasing, indicating growing participation against the directional move and potentially signaling that the boundary interaction will result in rejection rather than continuation.
Centerline Flow Direction : Use centerline flow coloring as a mid-channel directional bias indicator. Sustained green flow segments suggest dominant buying pressure within the regression window. Sustained red segments suggest dominant selling. Neutral gray segments indicate a contested equilibrium without clear directional participation weight.
Regression Mode Selection : Use Polynomial mode for markets with visible curvature in their trend structure where the quadratic bend produces a more accurate fit. Use Linear mode for markets trending in a straight consistent direction where the polynomial's additional degree of freedom would overfit noise.
Profile Distribution Skew Analysis : Compare the buy and sell distribution balance in the end profile to assess whether the window's participation was predominantly concentrated above or below the centerline, providing a volume-based directional bias reading that complements the price-based trend assessment.
Technical Implementation Details
Regression Engine : Matrix OLS with design matrix construction, normal equation formation, matrix inversion, and prediction array application for linear or polynomial curve fitting to HL2
Channel Construction : Standard deviation-scaled channel width with three-layer gradient polyline fills and triple-line glow boundaries following the regression curve
Inward Volume System : Window-maximum normalization with close-position buy-sell splitting, dynamic width scaling by relative volume, and above-average volume color intensification
Edge Flare System : Volume multiplier threshold combined with boundary zone percentage proximity testing with dual-layer glow line rendering and width scaling by relative volume
Centerline Flow : Sixty-segment volume-weighted close-position bias computation with directional color and width encoding
End Profile : Overlap-weighted row accumulation across the full regression window with three-point smoothing, normalization, and horizontal buy-sell bar rendering with curved outline polyline
Performance Profile : All rendering triggered on last bar with full object cleanup and rebuild each cycle, configurable regression length capped at 490 bars for object management
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Intraday regression flow tracking with shorter length and tighter SD multiplier for fast-adapting channel that captures intraday trend structure with responsive volume distribution
15 - 60 min : Session-level structural volume analysis with balanced regression length and moderate SD multiplier for meaningful channel geometry across typical session directional moves
4H - Daily : Swing-level regression channel profiling with longer lookback and polynomial mode for a curve-following channel spanning multi-session trend structures
Suggested Baseline Configuration:
Regression Length : 236
SD Multiplier : 1.75
Mode : Polynomial
Volume SMA : 15
Bar Height (ATR×) : 2.1
Show Edge Flares : Enabled
Show Bound Diamonds : Enabled
Show Centerline : Enabled
Show End Profile : Enabled
Color Candles : Enabled (requires disabling original chart candles in chart settings)
These suggested parameters should be used as a baseline; their effectiveness depends on the instrument's volatility characteristics, volume behavior, and preferred channel sensitivity, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Channel too wide or narrow : Adjust SD Multiplier to expand or contract the channel width relative to the instrument's typical deviation from the regression curve, calibrating boundary distance to realistic price excursion ranges.
Curve fits too loosely to recent price : Decrease Regression Length to shorten the lookback window, producing a tighter curve that adapts more quickly to recent structural changes. Switch to Polynomial mode if visible trend curvature is present.
Inward bars too tall or short : Adjust Bar Height (ATR×) to scale the maximum inward bar height, making volume bars more prominent during high-participation sessions or more subtle on instruments with lower volume variance.
Too many or too few edge flares : Increase Flare Volume Multiplier to restrict flares to only exceptional volume events, or adjust Flare Edge Zone % to control how close to the boundary price must be before a flare qualifies.
End profile too wide or compact : Adjust Profile Width to control the maximum horizontal extent of the end profile bars, calibrating the profile size to the available chart space at the current zoom level.
Profile rows too coarse or granular : Adjust Profile Rows to increase or decrease vertical resolution, with higher values providing finer detail across the channel's price range and lower values producing broader, more readable rows.
Too many bound diamonds cluttering the chart : The diamond system marks only first-bar boundary touches. On instruments with frequent boundary contact the marker density may be high. Disable Show Bound Diamonds and rely on edge flares alone for boundary interaction identification.
Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions.
Performance Characteristics
High Effectiveness:
Trending markets where the regression curve provides an accurate fit to the directional price path and the channel boundaries represent meaningful statistical extremes with genuine participation significance
Liquid instruments with consistent volume where the buy-sell splitting produces reliable directional participation readings and the end profile accumulates a statistically meaningful distribution across the regression window
Boundary interaction strategies where edge flares and bound diamond markers identify high-participation channel extreme events that frequently precede structural reactions
Distribution analysis workflows where the end profile provides a regression-relative volume profile summary that replaces or complements standalone volume profile indicators
Reduced Effectiveness:
Choppy, directionless markets where the regression curve has no clear shape and channel boundaries are penetrated frequently without the sustained trend structure required for meaningful boundary interaction analysis
Low-liquidity instruments where thin volume produces unreliable buy-sell splits and end profile distributions that reflect random participation patterns rather than genuine directional flow
Markets with frequent gaps where the HL2 series used for regression produces curves distorted by discontinuous price events that shift the channel relative to actual price structure
Very short regression windows where insufficient bars per channel row produce end profiles dominated by noise rather than statistically meaningful participation concentration
Consolidation environments where price oscillates near the regression centerline without reaching channel boundaries, reducing the analytical value of edge flares and bound diamonds while producing uniformly short inward bars
Integration Guidelines
Confluence : Combine with BOSWaves momentum tools, order block analysis, or structural indicators to validate channel boundary interactions and edge flare events with broader analytical context
End Profile Reference : Use the end profile distribution as a volume-based reference layer for price levels visited by price within the regression window. High-volume rows in the profile identify price levels with the greatest historical participation concentration, making them structurally significant references for future interaction.
Inward Bar Divergence Monitoring : Monitor inward bar height on opposing sides as price approaches boundaries. Growing opposing-side bars during boundary approach suggest increasing counter-directional participation that may oppose the boundary continuation.
Regression Mode Consistency : Maintain a consistent regression mode when using the channel as an ongoing structural reference. Switching between Linear and Polynomial shifts the curve and redistributes the channel geometry, making successive comparisons of profile distribution and boundary levels unreliable.
Centerline Cross Awareness : Treat price crossing the regression centerline as a potential flow transition event. Combined with a centerline flow segment color change from one direction to the other, centerline crossings with above-average volume suggest genuine directional repositioning within the channel structure.
Disclaimer
Volume Regression Channel is a professional-grade regression-anchored volume flow analysis tool. It uses OLS curve fitting with close-position volume splitting and cumulative profile construction but does not predict future price movements. Results depend on market conditions, instrument volume characteristics, parameter selection, and disciplined execution. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates momentum context, order flow analysis, and comprehensive risk management. Indicator

Market Internals Status: TICK / ADD / VOLDThis indicator displays a real-time status table for three classic NYSE/Nasdaq
market-breadth internals: USI:TICK , USI:ADD (advance/decline issues, Nasdaq variant
by default) and USI:VOLD (up/down volume difference). It is designed for index
futures and index CFD traders (ES, MES, SPX, NQ, etc.) who use market
internals to confirm directional bias before entering a trade.
METHODOLOGY
Each internal is classified using a fixed absolute-level threshold you control
from the settings: a reading above the "bullish" threshold is tagged BULLISH,
below the "bearish" threshold is tagged BEARISH, and anything in between is
NEUTRAL. This is a simple level-based read, not a moving average, oscillator,
or percentile rank — the goal is to mirror how discretionary traders read raw
internals on a dedicated internals chart, but with an objective, repeatable
rule instead of a visual guess.
A CONSENSUS row aggregates the three readings: it shows "aligned bullish" or
"aligned bearish" only when at least two of the three internals agree in the
same direction past their threshold; otherwise it shows "mixed/flat",
flagging a session where internals do not confirm a clean directional bias.
DATA VALIDATION
Market-internal data feeds occasionally emit corrupted or placeholder values
when the underlying index has no valid tick (e.g., outside NYSE/Nasdaq
cash-session hours). The script validates every reading against a
configurable sanity ceiling per internal. A reading outside that realistic
range is treated as invalid and shown as N/A instead of being misclassified
as bullish or bearish, and it is excluded from the consensus calculation.
SESSION AWARENESS
USI:TICK , USI:ADD and USI:VOLD are breadth measures of the NYSE/Nasdaq cash equity
market and therefore only update during the 09:30–16:00 America/New_York
session. A SESSION row tells you at a glance whether the reading is live or
frozen from the prior session close — important context if you trade an
instrument (like index futures) that keeps trading outside cash-market hours.
HOW TO USE IT
Add the indicator to any chart — it does not need to be an internals chart
itself, it fetches its own data via request.security(). Open the settings to:
(1) pick the exact ticker for each internal your data plan provides, since
exchange-composite symbol naming can vary; (2) set your own bullish/bearish
thresholds; (3) adjust the sanity ceilings if you trade an internal with an
unusually wide typical range. Use the resulting table as a breadth
confirmation filter alongside your own price/volume-based setup — it is not
a standalone entry signal. Indicator

Forex Liquidity Map [invincible3]b]Forex Liquidity Glow Map
The Forex Liquidity Glow Map is a visual currency-rotation dashboard designed to estimate where relative strength and trading activity are moving across the major Forex market.
The indicator analyzes all 28 unique currency pairs formed from:
USD, EUR, GBP, JPY, CHF, CAD, AUD, and NZD
Instead of evaluating one pair in isolation, it combines information from every relationship connected to each currency. This produces an aggregated flow score for all eight currencies and helps identify the strongest and weakest areas of the Forex market.
Calculation Model
Each Forex pair is evaluated using:
• ATR-normalized price momentum
• Relative tick-volume activity
• Fast-versus-slow trend structure
• Volatility expansion
• Directional breadth
• Score smoothing
• Flow acceleration
A positive pair score strengthens the base currency and weakens the quote currency. A negative pair score strengthens the quote currency and weakens the base currency.
Each currency’s final score is calculated from its seven connected pair relationships.
Because spot Forex is decentralized, the indicator uses PulseWire broker-feed tick volume as an activity proxy. It does not represent centralized institutional order flow.
Forex Liquidity Map
The circular map displays the eight major currencies as nodes.
• Node value: Aggregated currency-flow score
• Node size: Average relative activity across connected pairs
• River direction: Weaker currency toward stronger currency
• River width: Estimated strength of liquidity rotation
• River color: Leading currency in that relationship
• Arrow: Direction of relative capital rotation
A positive score indicates relative strength or estimated inflow. A negative score indicates relative weakness or estimated outflow.
Water Flow Matrix
The scatter matrix shows each currency according to:
• Horizontal position: Current flow score
• Vertical position: Flow acceleration
• Bubble size: Relative pair activity
• Bubble color: Currency identity
The four matrix conditions are:
• Accelerating inflow: Positive flow with positive acceleration
• Weakening inflow: Positive flow with negative acceleration
• Accelerating outflow: Negative flow with negative acceleration
• Weakening outflow: Negative flow with positive acceleration
This helps distinguish a currency that is merely strong from one whose strength is actively increasing.
Dashboard and Pair Ranking
The dashboard includes:
• Currency strength ranking
• Current flow score
• Relative tick activity
• Momentum condition
• Inflow, outflow, or balanced status
• Ranked breakdown of all 28 Forex pairs
• Strongest and weakest currencies
• Best relative-strength pair
• Market confirmation percentage
• Current Forex-rotation regime
For example, when GBP is the strongest currency and AUD is the weakest, the dashboard may identify GBPAUD as the primary relative-strength opportunity.
Update Modes
Confirmed bars only uses completed calculation-timeframe candles. The rivers, matrix, rankings, and signals remain fixed while the current candle is forming.
Live uses the active candle and updates as price and tick volume change. This provides faster information but may change before candle close.
Confirmed mode is recommended for stable analysis and alerts. Live mode is intended for intrabar monitoring.
Display Features
• Responsive bar-index geometry
• Stable layout across intraday and higher timeframes
• Dark and Bright theme presets
• Fully opaque dashboard cells
• High-contrast currency colors
• Adjustable map and matrix dimensions
• Adjustable river threshold
• Optional arrows, glow, tooltips, tables, and signals
• Configurable PulseWire Forex-feed prefix
Interpretation
The indicator is most useful for:
• Finding strongest-versus-weakest currency combinations
• Confirming directional pair setups
• Monitoring broad Forex rotation
• Detecting strengthening or weakening flows
• Avoiding pairs where both currencies have similar strength
• Comparing pair-level movement with broader currency-level confirmation
The output should be used as a market-structure and relative-strength tool , not as a standalone entry system.
Execution decisions should also consider price structure, volatility, liquidity conditions, risk management, and scheduled economic events. Indicator

Compression Breakout & Follow-Through Scoring [SlatinaTrades]🌀 Compression Breakout & Follow-Through Scoring — grades the coil, then checks its own homework.
Most squeeze/compression tools flag a tight range and stop there. This one also tracks what happens after the break — and separates completed setups by quartile to show whether the coil's tightness or the breakout candle's quality actually predicted the outcome, instead of assuming either one does.
THE MECHANICS
🧊 Compression detection — three conditions have to hold together: box range ≤ a multiple of base-ATR (C1), Bollinger Band width inside a squeeze percentile (C2), and a minimum dwell in confirmed bars (C3). All three gate the coil; none of them alone is enough.
🔒 State machine — COILING → PRIMED → BREAKOUT (up/down) → HELD or FAILED, with EXPIRED for coils that age out unbroken. The box freezes on arm (tighten-only re-lock while PRIMED — it can tighten further, never widen), so what you see is a committed level, not a moving target.
📊 Tightness score (0–100) — weighted blend of C1 margin, C2 depth, and dwell length. Grades how genuine the compression is, not just whether it cleared a threshold.
🎯 Break-quality score (0–100) — weighted blend of close location, body ratio, range expansion vs ATR14, and where volatility sits inside a regime band (mid-band scores highest; dead or chaotic extremes score low).
📈 Follow-through score (0–100) — tracks maximum favorable excursion beyond the broken edge over a fixed window, capped at a set ATR multiple. A break that reclaims the level before the window closes is scored FAILED instead.
SEPARATION HARNESS — the honesty check
A stats table bins every completed setup (HELD or FAILED) into quartiles two ways: by tightness score and by break-quality score. Each quartile reports mean follow-through in ATR units and reclaim rate. If a score's Q4 looks like its Q1, that score isn't doing the work it claims to — the table shows you that plainly instead of asking you to trust a single headline number.
NON-REPAINT
Every state transition and every follow-through update runs on barstate.isconfirmed. The box freezes the moment a coil arms. The optional HTF alignment read uses a closed-bar offset (lookahead_on + gaps_off on ) and is a flag only — it never gates the state machine.
WHAT IT IS NOT
Not a strategy. No entries, no stops, no targets, no risk sizing anywhere in this script. Bidirectional context only — it tells you a coil compressed and how the break resolved, not what to do about it. Settings are starting points, not recommendations; tune box length, dwell, and weights to what you're trading and validate before risking anything on it.
ALERTS
New Coil Primed · Bull Breakout · Bear Breakout · Follow-Through Confirmed · Reclaim. All gated to confirmed bars, all carry numeric state/score payloads for automation.
Still useful after it's been on your chart a while — every read maps to a concrete decision about whether this coil is worth watching. Indicator

Adaptive SuperTrend AI - Regime-Tuned [Dots3Red]📈 ADAPTIVE SUPERTREND AI — REGIME-TUNED
Classic SuperTrend uses one fixed ATR multiplier forever. That single number is a compromise: tight enough to track trends closely, it whipsaws during ranges; wide enough to survive ranges, it lags badly once a real trend starts. This script replaces the fixed multiplier with one that changes based on what kind of market is actually happening, using the same regime-detection engine shared across the Dots3Red catalog.
🧠 THE REGIME ENGINE
Every bar is classified into one of four states using ADX and the Choppiness Index together:
• 📈 TRENDING — ADX confirms directional strength and Choppiness confirms low chop
• 🔁 RANGING — the opposite: weak directional strength, high chop
• ⚡ VOLATILE — current ATR has expanded well beyond its baseline, regardless of direction or chop
• ❔ UNCERTAIN — none of the above conditions are clearly met
The raw regime reading is smoothed by taking the most frequent classification over a short lookback window, so a single noisy bar can't flip the regime label back and forth.
🤔 WHY RANGING GETS THE WIDEST BAND, NOT TRENDING
This is the part that looks backwards at first glance, so it's worth explaining directly. A ranging market chops back and forth around a mean — if the band were narrow here, ordinary noise would cross it constantly, causing false flips. So RANGING gets the widest multiplier (default 3.5×), letting normal chop stay inside the band. A TRENDING market is moving with genuine conviction, so a moderate multiplier (default 2.5×) tracks the move closely without giving back excessive profit before flipping on an actual reversal. VOLATILE conditions get the widest multiplier of all (default 4.5×) as a purely defensive setting, since sudden expansion is unpredictable by nature.
When the regime changes, the active multiplier doesn't jump to its new value instantly — it glides toward it over a configurable number of bars. This prevents the band from visibly teleporting on a regime transition, which would otherwise look jarring and could itself trigger a false flip right at the transition point.
The underlying band mechanics — the ratcheting upper/lower band logic, and a flip only when price closes beyond the active band — are the same as classic SuperTrend. Only the multiplier driving the band width is dynamic.
✅ THE CONFIDENCE LAYER
A SuperTrend flip is a single binary event: price crossed the band, direction changed. This script adds a secondary read on how convincing that flip actually is, using 8 independent checks against the new direction:
1. Close vs. a trend moving average
2. MACD histogram sign
3. Recent higher-high / lower-low structure
4. Close vs. the SuperTrend's own midline (hl2)
5. RSI side of 50
6. +DI vs. -DI dominance
7. Volume above its moving average on a trend-direction bar
8. Whether the regime is currently TRENDING
Every confirmed flip shows this count directly on its label — "▲ 6/8" means 6 of the 8 checks currently agree with the new uptrend. A flip with 7/8 agreement and one with 3/8 are treated identically by the raw band mechanics, but this layer gives a way to distinguish a well-supported flip from a marginal one at a glance.
🎯 FLIP WIN-RATE TRACKING
Each flip is graded once the following flip occurs: did price actually finish above the flip price (for an up-flip) or below it (for a down-flip) by the time direction changed again? This produces a running win rate — for example "58% (n=34)" — shown in the dashboard. It is a simple, honest measure of how the flips on this specific chart have actually played out, not a backtest or a promise about future flips.
🔒 NON-REPAINTING
Flips, confidence readings, and labels are all evaluated only on confirmed (closed) bars. A flip that appears on the chart will not later disappear or move to a different bar as new price data arrives.
🎨 VISUALS AND CUSTOMIZATION
The SuperTrend line and gradient fill are colored by current direction. Flip labels appear directly on confirmed flip bars with their confidence count. An optional background tint can shade the chart by current regime. All four core colors (bullish, bearish, volatile/warning, and uncertain/neutral) are fully customizable in settings, independent of the script's default palette.
The dashboard (position configurable) shows: current direction, current regime, the active ATR multiplier, the confidence count with a progress bar, the running flip win rate, and the raw ADX, Choppiness, and ATR ratio readings behind the regime classification.
🧭 HOW TO USE
👀 Reading the line and fill — the colored line and gradient fill show current direction at a glance. This is the same information classic SuperTrend gives you; the difference here is in how the band width behind that line was chosen.
🧠 Check the regime before trusting the band width — the dashboard's Regime row tells you why the band is currently as wide (or narrow) as it is. A band that looks unusually wide isn't a bug — it likely means the engine has classified the market as RANGING or VOLATILE and widened defensively. Knowing the current regime helps set expectations for how the band will behave if conditions stay the same.
✅ Use the confidence count to gauge flip quality, not to filter flips — every flip is real and non-repainting regardless of its confidence count. The count is a lens for judging how broadly supported a given flip is, not a gate that decides whether one occurs. A "▲ 7/8" flip and a "▲ 3/8" flip both mean the band was crossed; the number tells you how much independent agreement existed at that moment, which is useful context when deciding how much weight to put on that particular signal versus your own analysis.
🎯 Watch the flip win rate as a running self-check on this chart — because it only starts once flips have accumulated and been graded, treat an early or low-sample win rate as inconclusive rather than a verdict. It becomes more informative the longer the script runs on a given symbol and timeframe.
🔔 Regime changes are themselves informative — the alert for a regime change fires independently of any flip. A shift from RANGING to TRENDING, for example, can be useful context on its own, since it signals the band is about to glide toward a different multiplier even before any flip occurs.
🚫 This script describes band behavior, not entries or exits — it does not tell you when to open or close a position. Use it as one input alongside price action, structure, and whatever other analysis you already rely on.
⚙️ SETTINGS
📈 SuperTrend Core
• ATR Length
• Factor — Trending / Ranging / Volatile / Uncertain — the four regime-driven multipliers
• Factor Transition (bars) — how gradually the multiplier glides between regimes
🧠 Regime Engine
• ADX Length, Choppiness Length, ATR Baseline Period
• Trending / Ranging Thresholds — where the combined ADX+Choppiness score is classified
• Volatile ATR Multiple — how far above baseline ATR counts as volatility expansion
• Regime Smoothing — lookback window for the majority-vote smoothing
✅ Confidence Layer
• Trend MA Length, RSI Length, Structure Lookback — parameters for the 8 confidence checks
🎨 Visualization
• Gradient Fill, Flip Labels, Regime Background Tint — each toggleable independently
• Full color customization for all four regime/direction colors
🖥️ Dashboard
• Show/hide, position
📝 NOTES
The regime engine needs a short warm-up period before its smoothing window is fully populated; early bars on a fresh chart may show less stable regime labels than bars further along. The flip win rate starts empty and only becomes meaningful after several flips have occurred and been graded.
⚠️ DISCLAIMER
This is an analytical and visualization tool. It does not generate trade signals and does not constitute financial advice. Historical flip win rate does not guarantee future performance. Indicator

Asian Session XAUUSD by CapitanzorThis indicator highlights the Asian trading session (default 01:00–03:00, Europe/London time) on the chart — a period typically characterized by lower volatility and tighter price ranges in Gold (XAUUSD), before the London session opens.
The session's time range and timezone are fully configurable via the indicator's settings (input.session and input.string), allowing each trader to adapt it to their own local time and preferred session window, without needing to edit the code.
How it works:
- The script uses time() combined with input.session() to detect whether the current bar falls within the selected time range, converted to the chosen timezone.
- When the condition is true, the background is shaded in a light yellow color for easy visual identification.
- Useful for spotting pre-breakout consolidation zones ahead of higher-volatility sessions (e.g. London or New York open).
—
Este indicador resalta la sesión asiática (por defecto 01:00–03:00, hora de Londres) en el gráfico — un periodo típicamente caracterizado por baja volatilidad y rangos de precio más estrechos en el oro (XAUUSD), antes de la apertura de la sesión de Londres.
El rango horario y la zona horaria son totalmente configurables desde las opciones del indicador, permitiendo a cada trader adaptarlo a su hora local sin necesidad de tocar el código.
Cómo funciona:
- El script usa time() junto con input.session() para detectar si la vela actual cae dentro del rango horario seleccionado, convertido a la zona horaria elegida.
- Cuando la condición se cumple, el fondo se sombrea en amarillo claro para facilitar su identificación visual.
- Útil para detectar zonas de consolidación previas a sesiones de mayor volatilidad (ej. apertura de Londres o Nueva York). Indicator

CTZ 144 Cycle CounterHere's a description that leans into the Fibonacci-time angle and positions it as a timing overlay to pair with your other tools.
---
**CTZ 144 Cycle Counter**
144 isn't a random number — it's the twelfth Fibonacci number (…55, 89, **144**, 233…), and the same sequence that governs price also tends to govern *time*. Markets don't just retrace by Fibonacci ratios; they turn on Fibonacci counts. This tool takes that idea and builds a clean, rhythmic time grid across your chart.
**What it does**
Anchored to Bitcoin's last bear market bottom (21 Nov 2022 by default, fully adjustable), it counts forward in blocks of 144 bars and drops a vertical line at every boundary — C1, C2, C3, and so on. Each 144-bar window closes and a new one opens, marking a point in time where the market has historically been prone to a shift. A dashed half-cycle line at bar 72 marks the midpoint, where the internal high often forms. Dotted projection lines extend the rhythm into the future, so you can see the next turning windows *before* price gets there.
**Why time, not just price**
Most indicators react to what price has already done. This one is anchored to the clock instead — the count advances the same way whether the market is trending, ranging, or reversing. Because a 144-bar cadence produces a turning window with real regularity, there's almost always a high or a low landing somewhere near each boundary. That's the point: it's not trying to call the direction, it's telling you *when* to pay attention.
**Timeframe-native**
The count follows whatever chart you load it on. On the daily it's a 144-day rhythm; on the 4H it's 144 four-hour blocks; on the weekly, 144 weeks. Same Fibonacci cadence, scaled to your view — so you can run a macro 144-week grid and a tactical 144-hour grid side by side.
**Built to combine**
This is a timing layer, not a signal system on its own — and that's its strength. A momentum trigger, a cycle-low detector, or a support/resistance level means far more when it fires *inside* a 144 turn window than in dead space mid-cycle. Use the boundaries as a confluence filter: when your entry indicator lines up with a 144 count, the timing and the trigger are agreeing. The counter table keeps you oriented at a glance — which cycle you're in, how many bars deep, and a yellow warning as you enter the turn zone.
*The rhythm tells you when. Your other tools tell you what. Together they tell you whether to act.*
*For educational purposes. Not financial advice — always confirm with your own analysis and test on your own instruments before trading live.*
Indicator

Indicator

Strong Gold H4 Pressure Zones | ProjectSyndicateStrong Gold H4 Pressure Zones
Strong Gold H4 Pressure Zones maps the gold trading day the way it actually moves — split into its true H4 rhythm — and reads three institutional layers on every candle slot: which parts of the session run hot, where the previous candle's wick left unfinished business, and where price gapped away from value. It is built to run on the M5 timeframe — M5 is the execution resolution the whole engine is calibrated to, while it thinks in H4, so you see the higher-timeframe structure forming live on your chart. Load it on an M5 XAUUSD chart for correct slot alignment and zone behaviour.
Most session tools just draw a box around the day. This one grades every H4 slot, projects the pressure the last candle built, and marks the gaps — all anchored to the daily candle open, identical for every trader on the planet.
🕐 True Gold-Day Slot Engine — the core. The gold day (≈23h with its 1-hour technical break) is sliced into six real periods: an H3 opening block, then five H4 candles — aligned to the actual 04:00 / 08:00 / 12:00 / 16:00 / 20:00 boundaries, not a naïve 4-hour count. Every slot is drawn as a shaded box built live from that slot's own high/low, anchored to the daily candle's open so the zones are the same in Miami, Dubai or Singapore regardless of chart timezone.
⏱️ Runs on M5 — by design. This indicator is meant to be applied on the M5 timeframe. The six H4 slots are built up tick by tick from M5 candles, and the pressure, volatility and FVG zones are all calibrated to that resolution. Apply it to an M5 chart — other timeframes will not slice the gold day correctly.
📊 20% Increment Grid — read position at a glance. Each slot box is split by horizontal guides at 0 / 20 / 40 / 60 / 80 / 100% of its range, labelled on the right. Instantly see whether price is pressing the extremes of the current H4 or coiling in the middle — the exact levels institutions lean on within a candle.
🌋 30-Day Session Volatility Profile — the rhythm read. This is not the current candle's volatility. Each of the six slots is averaged over the last 30 days and the six averages are ranked against each other 0–10, printing a fixed grade on every slot — CALM, MODERATE, HIGH, EXTREME. You learn which H4 windows of the gold session typically explode and which drift, so you size and time around the day's real character instead of guessing. The rank is static and colour-graded (calm teal → extreme purple), only drifting slowly as the rolling window updates.
🧲 Prior-Candle Pressure Zones — the wick memory. The heart of the tool. The moment a slot closes, it's read as a single composite H4 candle and its dominant wick is projected forward as a fixed pressure band inside the next slot:
A strong upper wick on the prior candle → SELL PRESSURE zone near the top (rejection from above — supply left overhead).
A strong lower wick on the prior candle → BUY PRESSURE zone near the bottom (rejection from below — demand left beneath).
Each band is graded 0–10 on wick dominance and printed with its score (▲ BUY PRESSURE 8.4/10 · ▼ SELL PRESSURE 7.2/10), opacity scaling with strength. These are fixed the instant the prior candle closes — they never repaint.
🔀 Prior-Slot Fair Value Gap — the imbalance carry-over. A true three-candle FVG detected on the H4 slots themselves (the slots are the candles), projected as a clean Fair Value Gap zone into the current slot, normalized to one uniform ATR-based height so no single gap swallows the chart. An optional gap-size filter keeps the noise out. You see the imbalance the last three candles left, drawn where it matters, without the clutter.
🎨 Fully Themed & Configurable. Volatility-graded box tones, custom buy/sell pressure and FVG colours, neutral increment grid, adjustable opacities, 2× increment and rank label sizing, per-module toggles, configurable opening-block / break / slot hours, volatility lookback, wick thresholds, FVG ATR length / extend / height, and sessions-to-plot depth.
🔒 Honest, Fixed-Zone Core. The live slot box repaints in price as the candle forms — inherent to showing a real-time H4 building on M5, not a defect. But every fixed output — the pressure bands, the FVG, the volatility rank — is locked to the prior completed candle and never redraws to flatter the chart. The 0–10 scores are descriptive ranking frameworks for directing attention, not backtested signals.
🚀 Built for XAUUSD on the M5 timeframe — the slot model matches gold's 23-hour day and 1-hour break out of the box. Use it on an M5 gold chart (adjust the hour inputs for other instruments).
🎯 How To Trade It — Pressure From The Prior H4
⏱️ Load the indicator on an M5 XAUUSD chart before anything else — the entire slot model is built for M5.
Everything hinges on one read: the last H4 candle told you where price got rejected — trade the current candle expecting that pressure to hold, or break with conviction when it fails.
◾ 1) Fade into a prior-candle pressure zone (the core thesis)
Use when the previous H4 left a strong wick and the current slot rotates back into that band.
▪️ The prior candle prints a strong lower wick → a graded BUY PRESSURE zone sits in the lower portion of the current slot. Buyers already defended there once. ▪️ Wait for price to rotate down into that band inside the current slot — ideally near the 0–20% increment level. ▪️ Entry: long as price reacts inside the buy-pressure zone; the higher the score (7+), the more the prior candle insisted on that level. ▪️ Stop: below the zone — if price closes through and accepts beneath it, the demand failed; stand aside. ▪️ Target: the mid-grid (50%) first, the opposite edge / prior-candle high on extension.
The mirror applies for a strong upper wick → SELL PRESSURE zone up top: fade rallies into it, stop above, target back down through the grid.
◾ 2) Weight it with the session profile
▪️ A pressure zone landing in a HIGH / EXTREME volatility slot means the reaction can be violent — expect follow-through and give the target room. ▪️ The same zone in a CALM slot means muted rotation — take the mid-grid and don't overstay. ▪️ The volatility rank tells you how hard the day's structure usually moves in that window before you commit.
◾ 3) Read the FVG as the pull
▪️ An unfilled Fair Value Gap projected into the current slot is where price is imbalanced — it often gets revisited. A buy-pressure zone below an open bullish FVG is confluence: rejection level plus imbalance both pointing up. ▪️ When a pressure zone and the FVG point opposite ways, that's conflict — let the slot resolve before committing.
◾ 4) Stand down — the map says wait
▪️ Prior candle closed as a clean body with no dominant wick → no pressure zone drew → no edge from rejection this slot. ▪️ Price already accepted through the pressure band → the level's spent. ▪️ CALM slot with no FVG and price mid-range → nothing worth risking on; let it develop.
Rule of thumb: ⭐ Strong prior-candle wick + price rotating into that graded pressure zone + a HIGH-volatility slot or aligned FVG → trade the rejection with the pull. ⭐ No wick, consumed zone, or dead CALM mid-range → stand down until the next candle sets the map.
⚠️ IMPORTANT NOTICE: Strong Gold H4 Pressure Zones is a structure-mapping tool designed for the M5 timeframe on XAUUSD. Pressure zones are projected from the prior H4 candle's wick geometry, the volatility rank is a 30-day per-slot average, and FVGs are drawn from three-candle gap logic — a model of behaviour, not exchange order-book data. The 0–10 scores are descriptive ranking frameworks for directing attention — NOT backtested signals and NOT standalone trade triggers. Fading into prior-candle pressure still carries real risk of failed levels and stop-outs. Always combine it with your own strategy, price-action analysis and risk management. Past behaviour does not guarantee future results. Indicator

Volume Forge█ OVERVIEW
Volume Forge is a modular volume flow analysis panel designed to assess the quality and direction of market activity by combining several complementary volume analysis methods.
Most volume tools answer only one question. Delta shows buying and selling pressure. RVOL indicates whether volume is above average. CMF measures capital flow. Weis Wave determines the direction of the dominant wave, while volume efficiency analysis helps detect absorption. Each of these tools is valuable, but when analyzed separately they present only a fragment of the market picture.
Volume Forge was designed as a modular system because a single volume indicator does not allow the market to be evaluated from a broader perspective. High volume does not yet mean buyer dominance. Positive delta does not necessarily mean capital inflow. Strong money flow does not always translate into an efficient price move. Only the mutual agreement of several independent methods makes it possible to determine whether the observed impulse is truly supported by volume.
Each module analyzes a different aspect of the same phenomenon, while the central element of the indicator is Flow Confluence – a weighted scoring system that compares the results of all components and evaluates the degree of their agreement. Instead of manually analyzing several separate indicators, the user receives one coherent panel that shows both the details of individual metrics and their final assessment.
The result is a tool that allows multidimensional volume analysis – from short-term buying and selling pressure, through relative market activity strength and capital flow, to the evaluation of signal agreement and the detection of potential signs of trend exhaustion.
█ CONCEPTS
Delta Oscillator
Delta Oscillator is the main module of the indicator and is responsible for assessing the direction of buying and selling pressure. Instead of using real delta from the futures market, it uses approximate directional volume calculated from the relationship between the candle's open and close, scaled by the candle's total range. The values are then accumulated and smoothed, creating an oscillator that shows the dominance of one side of the market.
Delta primarily answers the question:
Is buying or selling pressure currently dominant?
Relative Volume (RVOL)
RVOL compares current volume with its historical average, showing whether market activity is average, elevated or extreme.
The direction of a price move alone says little without information about the strength of market participation. RVOL allows impulses supported by high activity to be distinguished from moves that occur on low volume.
RVOL answers the question:
Is the current move taking place on sufficiently high volume?
Chaikin Money Flow (CMF)
CMF analyzes capital flow by taking into account both volume and the position of the close within the candle’s range.
Unlike Delta, which measures short-term directional pressure, CMF shows whether capital is actually flowing into or out of the instrument. This allows it to confirm or challenge signals generated by the other modules.
CMF answers the question:
Is money actually flowing into the market?
Volume Efficiency / Climax
High volume does not always lead to a large price move. Sometimes the market generates very high activity while the price remains almost motionless.
The Volume Efficiency module identifies exactly these situations by comparing the size of the price move with volume and filtering them relative to ATR. High volume with low efficiency may indicate absorption or the final phase of an impulse.
This is an informational module that provides additional context but does not affect the final Flow Confluence score.
Weis Wave
Weis Wave presents the direction of the dominant market wave instead of analyzing individual candles.
The module uses ATR-based volatility to determine moments of direction change and displays a subtle background that shows the currently dominant wave.
It answers the question:
What is the broader direction of market movement?
Flow Confluence
Flow Confluence is the most important element of the entire indicator.
It is not another oscillator, but analyzes the agreement of all the remaining modules. Delta, Delta direction, RVOL, CMF level, CMF direction and Weis Wave cast votes for the buying or selling side. Each component has its own weight, so the user can decide which elements should have the greatest importance.
The Flow Confluence table shows both the number of agreeing modules and the final point score. Signals appear only when the obtained score exceeds the defined threshold.
Flow Confluence answers the question:
Do all volume analysis methods point in the same direction?
Divergence Detection
The final layer is the analysis of divergences between price and the Delta oscillator.
If price makes a new extreme while Delta does not confirm the move, this may indicate weakening pressure from one side of the market and increase the probability of a correction or trend reversal.
Divergences serve a warning function and provide additional context when interpreting the other modules.
Why combine multiple volume tools?
Each method analyzes a different aspect of volume flow:
• Delta → Who currently dominates – buyers or sellers?
• RVOL → Is market activity high enough?
• CMF → Is capital actually flowing in or out?
• Volume Efficiency → Does volume translate into price movement, or is it being absorbed?
• Weis Wave → What is the dominant direction of the broader wave?
• Flow Confluence → Do all modules confirm the same scenario?
• Divergences → Is price starting to diverge from volume?
█ FEATURES
Oscillator Settings
• Show Delta Oscillator – displays the main Delta oscillator together with gradient fill. Hiding the oscillator does not disable its calculations – the module continues to participate in the Flow Confluence scoring.
• Cumulative Delta Length – number of bars used to calculate cumulative directional volume.
• Smoothing Length (EMA) – length of the EMA that smooths the Delta oscillator. Higher values produce a smoother but slower-reacting oscillator.
• Delta Area Gradient Transparency – sets the transparency of the fill between the Delta oscillator and the zero level.
RVOL Settings
• Show RVOL Histogram – displays the Relative Volume histogram. Hiding the histogram does not disable calculations – RVOL continues to feed the Climax and Flow Confluence modules.
• RVOL Average Length – number of bars used to calculate the average reference volume.
• Threshold – Weak – level above which volume is considered slightly elevated.
• Threshold – Medium – medium-high volume level. It is also used by the Flow Confluence scoring.
• Threshold – Strong – defines the strong Relative Volume level.
• Threshold – Extreme – defines the exceptionally high volume level used for the strongest histogram highlighting.
CMF Settings
• Show CMF – displays the Chaikin Money Flow wave above the overbought level and below the oversold level.
• CMF Period – number of bars used for Chaikin Money Flow calculations.
• CMF Gradient Transparency – sets the transparency of the CMF wave gradient fill.
Volume Efficiency
• Show Climax / Absorption Markers – displays markers on candles where very high volume did not translate into a correspondingly large price move, which may indicate absorption or culmination of activity.
• Efficiency Normalization Period – number of bars used to normalize volume efficiency.
• RVOL Threshold for Climax / Absorption – minimum Relative Volume required to classify a candle as potential absorption.
• Max Normalized Efficiency – maximum allowed price move efficiency. Lower values result in more selective absorption detection.
• Max Candle Range relative to ATR – prevents large impulsive candles from being marked as absorption by limiting their maximum range relative to ATR.
Weis Wave – Oscillator Background
• Highlight background by Weis Wave direction – colors the pane background according to the direction of the current Weis Wave.
• ATR Length – ATR period used to determine the minimum move required to change wave direction.
• ATR Multiplier – determines how large a price move is required to reverse the Weis Wave direction.
• Highlight Transparency – transparency of the Weis Wave background.
• Highlight Height – height of the highlighted area above the overbought level or below the oversold level.
Divergence Settings
• Enable Divergence Detection – activates detection of divergences between price and the Delta oscillator.
• Pivot Length (Left / Right) – number of bars required to confirm local pivots used when searching for divergences.
Threshold Levels
• Overbought Threshold – defines the Delta oscillator level considered market overbought.
• Oversold Threshold – defines the Delta oscillator level considered market oversold.
• OB/OS Line Width – thickness of the overbought and oversold level lines.
• OB/OS Gradient Transparency – Close to Level – sets line visibility when the oscillator is near the level.
• OB/OS Gradient Transparency – Far From Level – sets line visibility when the oscillator is far from the level.
Flow Confluence
• Show Flow Confluence Table – displays the table summarizing all modules participating in the scoring.
• Table Position – sets the position of the table on the chart.
• Table Text Size – sets the font size.
Flow Confluence – Weights
Each module can receive its own weight that determines its influence on the final point score.
• Weight: Delta Oscillator – points awarded for the oscillator position relative to the zero level.
• Weight: Delta Direction – points awarded for the rise or fall of the Delta oscillator.
• Weight: RVOL – points awarded when Relative Volume exceeds the medium threshold in line with candle direction.
• Weight: CMF Level – points awarded for confirmation of positive or negative capital flow.
• Weight: CMF Direction – points awarded for accelerating or weakening capital flow.
• Weight: Weis Wave – points awarded for agreement with the direction of the current Weis Wave.
Flow Confluence – Signals
• Enable Flow Confluence Signal – displays BUY and SELL diamonds after the score exceeds the defined threshold.
Signals appear while the candle is still forming, but due to price fluctuations they may also disappear during that time. The signal becomes permanent and does not disappear only after the candle closes.
• Minimum score for a signal – minimum number of points required to generate a signal.
• Signal only on first occurrence – prevents multiple signals from being displayed while the same condition remains active.
• Buy Signal Color – color of the bullish diamonds.
• Sell Signal Color – color of the bearish diamonds.
Colors
• Zero Line – color of the Delta oscillator zero level.
• Bullish Color – main color used by all positive elements of the indicator.
• Bearish Color – main color used by all negative elements of the indicator.
█ APPLICATIONS
Assessing the quality of market moves
The primary use of the indicator is to evaluate whether the current price move is truly supported by volume. By analyzing several independent metrics the user receives a much more complete picture than when using a single volume indicator.
Filtering weak impulses
Not every dynamic price move is backed by adequate volume. Volume Forge helps distinguish impulses supported by real market activity from moves that occur with weak volume confirmation.
Detecting volume absorption
The Climax module identifies situations in which very high volume does not translate into a correspondingly large price move. This may indicate order absorption by larger market participants, profit-taking or gradual exhaustion of the impulse.
Confirming trend direction
Simultaneous analysis of Delta, CMF and Weis Wave makes it possible to determine whether the dominant market direction is confirmed by different aspects of volume flow.
Detecting potential reversals
Divergences between price and the Delta oscillator can signal weakening buying or selling pressure even before a clear trend change appears.
Building a custom volume analysis model
Thanks to the ability to individually weight each module, the user can create their own market assessment model. For example, one trader may place greater emphasis on Delta and RVOL, while another may consider CMF and Weis Wave more important elements of their strategy.
█ NOTES
• Hiding a given module affects only its display. Calculations continue to run in the background and remain available to the Flow Confluence system.
• The Climax / Absorption module is purely informational and does not participate in the final scoring.
• Divergences indicate a discrepancy between price and the Delta oscillator and should be treated as a warning signal, not an automatic reversal signal.
• Flow Confluence signals are best used as a confirming element of market analysis together with structure, price action, support and resistance zones, momentum or other technical analysis tools.
• All module weights are fully configurable, allowing the user to adapt the volume assessment model to their own trading style while retaining the same multi-layered volume flow analysis logic. Indicator

Razor Fractal MirrorHistorical analog projection and market-state intelligence
Razor Fractal Mirror scans the recent history of the current chart for past price structures that resemble what's happening right now, then projects how those historical structures resolved forward in time — as a probabilistic scenario, not a prediction.
What It Does
1. Structure Matching
The indicator normalizes the last Pattern Length bars (log-return or percent-change shape, user's choice) and compares that shape against thousands of historical windows going back up to the configured Historical Search Depth. Each candidate is scored on three components:
• Shape correlation — how closely the normalized price path matches
• Normalized error — RMSE between the current and candidate paths
• Regime compatibility (optional) — whether the candidate occurred in a similar trend/volatility regime, measured via EMA distance and ATR-normalized volatility
These three scores combine into a single composite similarity score, weighted by user-configurable inputs.
2. Analog Selection
The engine keeps the three strongest, non-overlapping matches — minimum spacing is enforced so it isn't just picking adjacent bars of the same move — that clear the minimum similarity threshold.
3. Forward Projection
For each matched analog, the indicator replays what price actually did in the bars after that historical structure, rescaled proportionally to the current price. These are blended into a similarity-weighted consensus path, with the individual analog paths shown as secondary "mirror" lines and a confidence cloud representing the spread between them.
4. Mirror Quality Scoring
A composite 0–100 score (graded A+ through D) built from average similarity, regime match, path stability (agreement between analogs plus cloud compactness), and outcome reliability (historical reward-to-risk and target-hit rates from those same analogs).
5. Decision Layer
Combines Mirror Quality, analog agreement, projected move size (in ATR), and optional multi-timeframe bias fusion (four configurable timeframes) into a state: ACTIONABLE, WATCH, or AVOID. Includes early and confirmation checkpoints plus a calculated invalidation level.
6. Live Lifecycle Tracking
Once a mirror is locked, the indicator tracks price adherence to the projected path bar-by-bar, flags drift or invalidation in real time, and records the eventual outcome into a rolling forecast library. That library feeds an adaptive "analog reputation" score that adjusts future decision scoring based on how this specific setup's projections have actually performed — and reports whether the model is trending IMPROVING, STABLE, or DEGRADING.
7. Projection Anchoring
Three modes control how projections behave once drawn: Locked Snapshot (freezes the projection at capture so it doesn't repaint as price moves), Hybrid (controlled refresh), and Live Projection (recalculates continuously).
Why It's Useful
Most "pattern matching" tools just eyeball similar-looking chart shapes. This engine quantifies similarity mathematically (correlation, error, and regime fit), requires multiple independent historical analogs to agree before calling a setup actionable, and — critically — tracks its own projections against real subsequent price action so traders can see adherence, drift, and invalidation as they happen rather than only in hindsight.
Why It's Unique
• Analog selection uses a three-factor composite score, not simple pattern-shape correlation alone.
• Self-tracking forecasts: locked projections are graded against real outcomes and feed an adaptive reputation score — the tool has a memory of its own track record.
• Snapshot anchoring prevents repainting of the displayed projection, addressing a common criticism of analog and projection-style indicators.
• Multi-timeframe fusion cross-checks the projected direction against bias and confidence readings from four additional timeframes before flagging a setup actionable.
Important Notes
Historical similarity does not guarantee a repeated outcome. Projections are analytical scenarios derived from historical analog behavior, not financial advice or a guarantee of future price action. Always combine with proper risk management and a trade plan.
Indicator

Indicator

TF: VCMA Trend (VCT)TradingFlow: VCMA Trend (VCT)
TradingFlow: VCMA Trend (VCT) is a trend-visualization indicator built on the Vector Coherence Moving Average (VCMA). It changes speed according to the directional consistency of recent price movement, then adds a confirmed low-coherence state, two display modes, and optional low-coherence visuals. The default Dual VCMA Lines mode shows separate Fast and Slow averages, while VCMA Trend Line mode presents one adaptive line with slope colors.
The purpose of VCMA Trend is to make the adaptive line easier to use as trend context without giving every price shock the same importance as a sustained move. When recent vectors point in a consistent direction and several price changes contribute to that result, the VCMA core becomes more responsive. When the path is irregular, oscillatory, or dominated by too little supporting movement, it slows down. A final WMA softens residual movement before the trend visuals are applied.
How the VCMA Core Is Calculated
1. Delay-Coordinate Price Path
VCMA begins with the bar-to-bar change in the selected Source:
d(t) = Source(t) - Source(t-1)
It then represents price as a point on a two-dimensional delay-coordinate path:
X(t) =
Moving from X(t-1) to X(t) creates the lag vector:
z(t) = X(t) - X(t-1) =
Magnitude(t) = sqrt
This representation contains information about both the current price increment and the immediately preceding increment. Persistent movement tends to produce vectors pointing in a similar direction. Back-and-forth movement produces vectors whose directions disagree and cancel when added together.
2. Vector Coherence
Over the selected Coherence Length, VCMA compares the straight-line displacement of this path with the total distance it traveled. Equivalently, it compares the length of the summed vector with the sum of all individual vector lengths:
Sum Vector =
Vector Coherence (rho) = Length of Sum Vector / Sum Magnitude(t)
In expanded form:
rho = sqrt / Sum sqrt
In this form, rho is a two-dimensional path-efficiency, or straightness, ratio.
The triangle inequality keeps rho between 0 and 1. A reading near 1 means the lag vectors are strongly aligned. A reading near 0 means their directions largely cancel. Because both parts of the ratio scale with price movement, the measurement is scale-free and can be used across instruments with different price levels.
3. Effective-Move Support
A coherence ratio alone can become high after one isolated jump because a single large vector has nothing opposing it. VCMA addresses this with an effective-move calculation based on vector magnitudes:
Effective Moves = (Sum Magnitude)^2 / Sum Magnitude^2
This is an effective sample-size measure, not a literal count of bars. It is low when one move dominates the window and increases when several moves make meaningful contributions.
Support = Clamp
The Effective Moves for Full Speed setting controls the target. With the default value of 3, one dominant move receives little support, while a direction backed by several contributing moves can use the full coherence signal. This reduces the tendency to jump immediately to maximum speed after an isolated gap or wick.
4. Coherence-Adaptive Smoothing
The Fast and Slow periods define VCMA's fastest and slowest available EMA-style responses. If the inputs are reversed, the script automatically treats the shorter period as Fast and the longer period as Slow:
Fast Alpha = 2 / (Fast Period + 1)
Slow Alpha = 2 / (Slow Period + 1)
Speed Gate = rho^Coherence Power x Support
Adaptive Alpha = Slow Alpha + (Fast Alpha - Slow Alpha) x Speed Gate
Raw VCMA = Previous Raw VCMA + Adaptive Alpha x (Source - Previous Raw VCMA)
When vector coherence and support are high, Adaptive Alpha moves toward Fast Alpha. When either component is weak, it remains closer to Slow Alpha. Coherence Power controls how demanding this transition is. Higher values reserve fast responses for stronger coherence.
5. Final Output Smoothing
VCMA applies a weighted moving average to the raw adaptive line:
VCMA = WMA(Raw VCMA, Output WMA Length)
The default 3-period WMA gives more weight to recent values and removes small residual turns with modest added lag. Set Output WMA Length to 1 to use the unsmoothed adaptive output.
6. Low-Coherence State
The chart state uses a supported coherence score:
Coherence Score = rho x Support
The main VCMA enters its low-coherence state when this score falls below the Low-Coherence Threshold. It leaves only after the score rises above Threshold x Exit Multiplier. This hysteresis reduces rapid switching near the boundary. State changes occur on confirmed bars.
This state is always calculated from the main VCMA coherence score, including when Dual VCMA Lines is selected. It controls the optional gray Trend Line color, the gray fill between the Dual VCMA Lines, and background shading in either mode.
The low-coherence state describes the structure of recent price movement. It does not simply mean that a plotted line has zero slope. When gray coloring is enabled, a gray VCMA can still drift while the underlying vector evidence remains weak.
The Mathematical Idea Behind the VCMA Core
VCMA introduces a distinctive adaptive-moving-average construction that extends one-dimensional price-path efficiency into a two-dimensional delay-coordinate path and adds an effective-move gate to reduce acceleration caused by isolated shocks.
The delayed price points X(t) = form a path whose steps are the vectors . The coherence ratio is the path's net displacement divided by its total traveled distance. It therefore measures how straight and directionally consistent the recent delayed path has been. Unlike a one-dimensional ratio, it can also respond to irregular relationships between adjacent price changes, even when those changes share the same sign.
The second part of the design is the effective-move support gate. Vector alignment answers, "Do the recent moves point together?" Effective-move support asks, "Is that alignment backed by several meaningful moves, or mostly by one event?" Alpha accelerates only when both tests provide support.
This produces a causal and bounded adaptive core. Alpha remains between the selected Slow and Fast values, while the final WMA uses positive weights and does not introduce projection-based overshoot. VCMA is still a moving average and therefore retains lag; the goal is to allocate that lag according to the quality of the observed path.
Why Use VCT?
VCMA Trend is designed for traders who want the VCMA mathematics combined with direct chart interpretation. Its practical characteristics include:
• Scale-free measurement of directional vector alignment
• Adaptive speed bounded by interpretable Fast and Slow periods
• Reduced maximum-speed reactions to isolated price shocks
• Smoother output through a short final WMA
• Confirmed low-coherence states with hysteresis
• VCMA Trend Line and Dual VCMA Lines display modes
• Optional low-coherence line color, dual-line fill, and background shading
How to Read VCT
VCMA Trend Line
This mode displays the main VCMA with colors derived from slope and, optionally, its confirmed low-coherence state.
Green Line - Rising VCT
In VCMA Trend Line mode, green means the smoothed VCMA is rising and is not currently in its low-coherence state. Price holding above a rising green VCMA supports a bullish trend interpretation. Pullbacks toward the line may provide an adaptive reference when price structure remains constructive.
Red Line - Falling VCT
Red means the smoothed VCMA is falling and is not currently in its low-coherence state. Price holding below a falling red VCMA supports a bearish trend interpretation. Rallies toward the line may help frame bearish continuation when market structure agrees.
Gray Line - Low Vector Coherence
When Gray Trend Line in Low-Coherence Regimes is enabled, gray means supported vector coherence is below the active threshold. This commonly appears during sideways movement, irregular transitions, compression, or periods where a recent move lacks broader participation. Gray is a warning that directional evidence is weak; it is not automatically a reversal signal.
Slope, Price Position, and Distance
A steeper VCMA indicates that its adaptive baseline is changing more quickly. A flattening line suggests that directional progress is weakening. Price staying on one side of a consistently sloped VCMA is more informative than a single touch or crossover.
A rapidly widening distance between price and VCMA can reflect strong momentum, but it can also indicate extension from the adaptive baseline. Repeated crossings usually point to unsettled or range-bound conditions.
Price Crossings as Entry and Exit References
During an established trend, a confirmed crossing between price and the VCMA Trend Line, or between price and the Fast VCMA in Dual VCMA Lines mode, can provide a rule-based entry or exit reference. In a rising trend, price reclaiming the line after a pullback can mark an entry or re-entry, while a confirmed cross below it can mark a reduction or exit. In a falling trend, the interpretation is reversed: price falling back below the line after a rally can mark an entry or re-entry, while a confirmed cross above it can mark a reduction or exit.
Dual VCMA Lines
This mode replaces the color-changing Trend Line with two clean reference lines:
• Cyan - Fast VCMA
• Orange - Slow VCMA
Fast VCMA above Slow VCMA indicates that the shorter adaptive structure is leading the longer one. Fast below Slow indicates the opposite. Expanding separation suggests strengthening directional structure; convergence suggests that the difference between short- and longer-horizon estimates is narrowing. Crossovers mark a change in their relative ordering, not a complete trade signal by themselves.
When Fill Between Dual Lines in Low-Coherence Regimes is enabled, a light transparent gray fill appears between the two lines during the confirmed low-coherence state. The fill is based on the main VCMA coherence score, not on a separate low-coherence calculation for the Fast or Slow line.
Data Window Diagnostics
VCMA Trend exposes four values from its underlying VCMA core in PulseWire's Data Window:
• VCMA Coherence Score - raw coherence multiplied by effective-move support
• VCMA Raw Vector Coherence - vector alignment before the support gate
• VCMA Effective-Move Support - how broadly recent vector magnitude is distributed
• VCMA Adaptive Alpha - the smoothing coefficient used by the raw VCMA core
These values help explain why the adaptive core is moving quickly, slowly, or entering its low-coherence state. For example, high raw coherence with low support often means that one dominant move has not yet received enough confirmation from other moves.
Understanding the Settings
Mode
Selects Dual VCMA Lines or VCMA Trend Line. The default is Dual VCMA Lines.
Low-Coherence Display Options
• Fill Between Dual Lines in Low-Coherence Regimes - enabled by default and visible only in Dual VCMA Lines mode
• Gray Trend Line in Low-Coherence Regimes - enabled by default and visible only in VCMA Trend Line mode
• Shade Background in Low-Coherence Regimes - disabled by default and available in either mode
All three options use the same confirmed low-coherence state derived from the main VCMA coherence score.
Source
Selects the price series used by all VCMA calculations. The default is Close.
Coherence Length
The Coherence Length under VCMA Trend Line controls the main VCMA and the low-coherence state used by all display options. Shorter values respond more quickly to changes in vector alignment. Longer values evaluate the path over a broader sample and usually change more gradually. Fast VCMA and Slow VCMA have separate Coherence Length settings under Dual VCMA Lines.
Fast Period and Slow Period
Define the fastest and slowest EMA-style responses available to the adaptive core. Shorter Fast values increase maximum responsiveness. Longer Slow values make VCMA more conservative when coherence or support is weak.
Coherence Power
Shapes how raw coherence affects speed. Higher values suppress medium coherence more strongly and require rho to move closer to 1 before alpha accelerates substantially. Lower values create a softer and earlier response.
Effective Moves for Full Speed
Controls how much participation is required before the support gate reaches 1. Higher values demand broader support and reject isolated movement more strongly, but they can delay acceleration at the beginning of a genuine trend.
Output WMA Length
Controls final line smoothing. Higher values create a steadier line with more lag. A value of 1 disables this stage.
Low-Coherence Threshold and Exit Multiplier
The threshold determines when the main VCMA enters its low-coherence state. The multiplier sets the higher level required to leave it. A larger gap between the entry and exit levels produces more stable but slower regime transitions.
Alerts
VCMA Trend Line mode provides confirmed-bar alerts for VCT turning up, turning down, entering low coherence, and leaving low coherence. Dual VCMA Lines mode is intended as a visual fast/slow framework and does not issue those main-line alerts.
Practical Use
VCMA Trend can be used as a directional-bias filter, an adaptive pullback reference, a trend-management baseline, or a way to separate coherent movement from less organized price action. It is most useful when read together with price structure, support and resistance, volatility, volume, and higher-timeframe context.
---
TradingFlow:VCMA Trend (VCT)
TradingFlow:VCMA Trend (VCT) 是以向量一致性移動平均線 ( VCMA ) 為核心的趨勢視覺指標。它會根據近期價格移動的方向一致性調整反應速度,再加入經確認的低一致性狀態、兩種顯示模式,以及可選的低一致性視覺效果。預設的 Dual VCMA Lines 模式會顯示獨立的 Fast 與 Slow 平均線;VCMA Trend Line 模式則以斜率顏色顯示一條自適應線。
VCMA Trend 的用途,是把自適應數學轉化成較容易閱讀的趨勢背景,同時避免把單一價格衝擊誤當成已獲持續支持的走勢。當近期向量方向一致,而且有多個價格變化共同支持該結果時,VCMA 核心會提高反應速度;當路徑反覆、雜亂,或主要由少數變化主導時,它會放慢。最後一層 WMA 先整理細微波動,然後才套用趨勢視覺。
VCMA 核心如何計算
1. 延遲座標價格路徑
VCMA 先計算所選 Source 每根 K 線的價格變化:
d(t) = Source(t) - Source(t-1)
然後把價格表示為二維延遲座標路徑上的一個點:
X(t) =
由 X(t-1) 移動至 X(t) 時,便會形成滯後向量:
z(t) = X(t) - X(t-1) =
Magnitude(t) = sqrt
持續的方向移動通常會產生方向相近的向量。來回震盪時,向量方向互相矛盾,相加後便會抵消。
2. 向量一致性
在 Coherence Length 所設定的週期內,VCMA 比較這條路徑的直線位移與實際行走總距離。等價地說,就是比較「向量總和的長度」與「所有個別向量長度的總和」:
Sum Vector =
Vector Coherence(rho)= Sum Vector 的長度 / Sum Magnitude(t)
完整公式為:
rho = sqrt / Sum sqrt
以這種形式理解,rho 就是二維路徑效率,亦即路徑直線度的比率。
根據三角不等式,rho 會保持在 0 至 1 之間。接近 1 表示滯後向量大致朝向相同方向;接近 0 表示它們大部分互相抵消。分子與分母都會隨價格變化幅度按比例改變,因此這個比率不受商品價格尺度影響。
3. 有效移動支持度
單靠一致性比率仍有一個問題:如果視窗內只有一次孤立的大幅移動,由於沒有其他向量與它抵消,rho 也可能偏高。VCMA 使用向量幅度計算有效移動數,以減少這種情況:
Effective Moves = (Sum Magnitude)^2 / Sum Magnitude^2
這是有效樣本數的概念,不是 K 線數量的直接計數。當一個移動佔據大部分向量幅度時,數值會偏低;當多個移動都有實質貢獻時,數值便會上升。
Support = Clamp
Effective Moves for Full Speed 設定支持度達到 1 所需的目標。預設值為 3,因此單一主導移動只會得到有限支持;當同一方向獲得多個價格變化配合後,完整的一致性訊號才會投入速度計算。這可減少 VCMA 因單一裂口或影線而立即切換至最高速度的情況。
4. 一致性自適應平滑
Fast 與 Slow 週期定義 VCMA 可使用的最快及最慢 EMA 式反應。即使輸入次序相反,程式仍會把較短週期視為 Fast,較長週期視為 Slow:
Fast Alpha = 2 / (Fast Period + 1)
Slow Alpha = 2 / (Slow Period + 1)
Speed Gate = rho^Coherence Power x Support
Adaptive Alpha = Slow Alpha + (Fast Alpha - Slow Alpha) x Speed Gate
Raw VCMA = Previous Raw VCMA + Adaptive Alpha x (Source - Previous Raw VCMA)
當向量一致性與支持度同時偏高,Adaptive Alpha 會接近 Fast Alpha;任何一項偏弱,Alpha 便會靠近 Slow Alpha。Coherence Power 控制速度轉換的要求。數值越高,VCMA 越需要接近完整一致性才會明顯加速。
5. 最終輸出平滑
VCMA 會對原始自適應線套用一層加權移動平均:
VCMA = WMA(Raw VCMA, Output WMA Length)
預設的 3 週期 WMA 對近期數值給予較高權重,可減少細微轉折,同時只增加有限延遲。把 Output WMA Length 設為 1,即可停用這層平滑。
6. 低一致性狀態
圖表狀態使用經支持度調整的一致性分數:
Coherence Score = rho x Support
當分數低於 Low-Coherence Threshold,主 VCMA 會進入低一致性狀態。分數其後必須升穿 Threshold x Exit Multiplier,低一致性狀態才會結束。兩個不同門檻形成遲滯,可減少狀態在邊界附近反覆切換。狀態只會在 K 線確認後更新。
即使選擇 Dual VCMA Lines,這個狀態仍然由主 VCMA 的一致性分數計算。它會控制可選的 Trend Line 灰色顯示、Dual VCMA Lines 之間的灰色填充,以及兩種模式都可使用的背景陰影。
低一致性描述的是近期價格路徑結構,不等於圖表線條的斜率必須為零。啟用灰色顯示後,灰色 VCMA 仍可能緩慢上升或下降,但其背後的向量證據仍然偏弱。
VCMA 核心的數學設計
VCMA 採用一種具辨識度的自適應移動平均線結構:把一維價格路徑效率延伸為二維延遲座標路徑,並加入有效移動閘門,以降低孤立價格衝擊造成的加速。
延遲價格點 X(t) = 形成一條路徑,而 就是路徑上的每一步。向量一致性比率等於路徑的淨位移除以實際行走總距離,因此可衡量近期延遲路徑有多筆直,以及方向有多一致。與一維比率不同,即使價格變化方向相同,若相鄰變化之間的關係反覆而不規則,這個二維比率仍可作出區分。
第二部分是有效移動支持閘門。向量一致性回答「近期移動是否大致朝向同一方向」;有效移動支持度則判斷「這個結果是否有多個具實質幅度的移動支持,還是主要來自單一事件」。只有兩項條件同時成立,Alpha 才會明顯提高。
這個自適應核心只使用當前及過往資料,而且 Alpha 保持在所選的 Slow 與 Fast 範圍內。最後的 WMA 只使用正權重,不會加入價格投射造成的過衝。VCMA 仍然是移動平均線,因此一定存在延遲;它的目標是根據已觀察到的路徑品質分配反應速度。
為何使用 VCT?
VCMA Trend 適合希望把 VCMA 數學與直接圖表判讀結合的交易者。它有以下實用特點:
• 以不受價格尺度影響的比率衡量向量方向一致性
• 反應速度受具體的 Fast 與 Slow 週期限制
• 降低單一價格衝擊觸發最高速度的機會
• 使用短週期 WMA 整理最終輸出
• 以確認 K 線及遲滯機制管理低一致性狀態
• 提供 VCMA Trend Line 與 Dual VCMA Lines 兩種顯示模式
• 可選用低一致性線條顏色、雙線填充及背景陰影
如何閱讀 VCT
VCMA Trend Line
此模式會顯示主 VCMA,線條顏色由斜率及可選的經確認低一致性狀態決定。
綠線 - VCT 上升
在 VCMA Trend Line 模式下,綠色表示平滑後的 VCMA 正在上升,而且目前不處於低一致性狀態。價格維持在上升綠線之上,可支持多頭趨勢判斷。若價格結構仍然穩健,回調至 VCMA 附近可作為觀察趨勢延續的自適應參考。
紅線 - VCT 下跌
紅色表示平滑後的 VCMA 正在下降,而且目前不處於低一致性狀態。價格維持在下降紅線之下,可支持空頭趨勢判斷。若市場結構同樣偏弱,反彈至 VCMA 附近可作為觀察空頭延續的參考。
灰線 - 向量一致性偏低
啟用 Gray Trend Line in Low-Coherence Regimes 後,灰色表示經支持度調整的向量一致性低於有效門檻。這種情況常見於橫行、方向轉換、波幅壓縮,或近期移動尚未得到較廣泛支持的階段。灰色代表方向證據偏弱,並不等於趨勢必然反轉。
斜率、價格位置與距離
VCMA 越陡,表示自適應基準變化越快;線條逐漸走平,則代表方向進展正在減弱。相比一次觸碰或穿越,價格持續位於有明確斜率的 VCMA 同一側更具參考價值。
價格與 VCMA 的距離快速擴大,可能反映動能增強,也可能表示價格已偏離自適應基準。價格反覆穿越 VCMA,通常代表市況仍然反覆或缺乏穩定方向。
價格交叉作為進出場依據
在趨勢已建立時,價格與 VCMA Trend Line 的確認交叉,或在 Dual VCMA Lines 模式下價格與 Fast VCMA 的確認交叉,可作為規則化的進出場依據。在上升趨勢中,價格回調後重新升穿線條,可視為入場或重新入場參考;確認跌穿線條,則可作為減倉或離場依據。在下跌趨勢中,邏輯相反:價格反彈後重新跌穿線條,可作為入場或重新入場參考;確認升穿線條,則可作為減倉或離場依據。
Dual VCMA Lines
此模式會以兩條固定顏色的參考線取代會轉色的 Trend Line:
• 青色 - Fast VCMA
• 橙色 - Slow VCMA
Fast VCMA 位於 Slow VCMA 之上,表示較短期的自適應結構領先較長期結構;Fast 位於 Slow 之下則相反。兩線距離擴大,代表短期與較長期估算的方向差異正在增強;兩線收窄,代表差異正在減少。交叉只表示兩者的相對次序改變,不能單獨視為完整交易訊號。
啟用 Fill Between Dual Lines in Low-Coherence Regimes 後,在經確認的低一致性狀態期間,兩線之間會出現淺灰色半透明填充。填充以主 VCMA 的一致性分數為基礎,不會分別根據 Fast 或 Slow 線計算低一致性狀態。
Data Window 診斷數值
VCMA Trend 在 PulseWire 的 Data Window 提供四項底層 VCMA 核心數值:
• VCMA Coherence Score - 原始一致性乘以有效移動支持度
• VCMA Raw Vector Coherence - 未加入支持閘門前的向量一致性
• VCMA Effective-Move Support - 近期向量幅度的分布廣度
• VCMA Adaptive Alpha - 原始 VCMA 核心實際使用的平滑係數
這些數值可解釋自適應核心為何加快、減慢或進入低一致性狀態。例如,Raw Vector Coherence 偏高但 Support 偏低,通常代表一次主導移動尚未獲得其他移動充分配合。
設定說明
Mode
選擇 Dual VCMA Lines 或 VCMA Trend Line。預設為 Dual VCMA Lines。
低一致性顯示選項
• Fill Between Dual Lines in Low-Coherence Regimes - 預設啟用,只會在 Dual VCMA Lines 模式顯示
• Gray Trend Line in Low-Coherence Regimes - 預設啟用,只會在 VCMA Trend Line 模式顯示
• Shade Background in Low-Coherence Regimes - 預設停用,兩種模式都可使用
三個選項均使用主 VCMA 一致性分數所產生的同一個經確認低一致性狀態。
Source
選擇所有 VCMA 計算使用的價格序列,預設為 Close。
Coherence Length
VCMA Trend Line 下的 Coherence Length 會控制主 VCMA,以及所有顯示選項使用的低一致性狀態。較短數值能更快反映向量方向變化;較長數值會在較廣的樣本內評估價格路徑,變化通常較慢。Fast VCMA 與 Slow VCMA 在 Dual VCMA Lines 下各有獨立的 Coherence Length 設定。
Fast Period 與 Slow Period
定義自適應核心可使用的最快及最慢 EMA 式反應。較短的 Fast Period 會提高最大靈敏度;較長的 Slow Period 則會在一致性或支持度偏弱時令 VCMA 更保守。
Coherence Power
控制原始一致性如何影響速度。較高數值會更強地壓低中等一致性的作用,要求 rho 更接近 1 才明顯加速;較低數值則會較早及較平順地提高反應速度。
Effective Moves for Full Speed
控制支持度達到 1 所需的參與程度。較高數值要求更廣泛支持,能更強地抑制孤立移動,但也可能延遲真實趨勢初段的加速。
Output WMA Length
控制最終線條的平滑程度。數值越高,線條越穩定,但延遲亦會增加。設為 1 可停用這一層。
Low-Coherence Threshold 與 Exit Multiplier
Threshold 決定主 VCMA 何時進入低一致性狀態;Multiplier 設定離開該狀態所需的較高門檻。進出門檻距離越大,狀態越穩定,但轉換也會較慢。
警報功能
VCMA Trend Line 模式提供 K 線確認後的警報,包括 VCT 轉為上升、轉為下降、進入低一致性,以及離開低一致性。Dual VCMA Lines 模式主要用作快慢線視覺框架,不會發出上述主線警報。
實際應用
VCMA Trend 可作為方向偏向過濾器、自適應回調參考、趨勢管理基準,亦可協助區分方向一致的走勢與較欠組織的價格行為。使用時可配合價格結構、支撐阻力、波動性、成交量及較高時間週期背景。
Indicator
