MTF Trend Agreement Map [AGPro Series]MTF Trend Agreement Map
🔹 **Overview**
MTF Trend Agreement Map is a multi-timeframe alignment engine that reads the trend across five timeframes at once and distills the result into a single transparent agreement score. Instead of forcing you to flip between charts, the map tells you, on every bar, how many timeframes agree, which side wins, and whether the market is in a locked regime, a forming trend, or a conflict phase. It is built for swing traders, HTF-bias scalpers, position traders, and anyone who uses top-down analysis as part of their process.
🔸 **What Makes It Different**
Most MTF indicators show a single method (usually a moving-average cross) repeated across timeframes, which means five rows that all agree with each other by construction. This map does something different: for each timeframe it runs three independent methods — an EMA regime filter, a pivot-based market-structure read (HH/HL vs LH/LL), and a normalized momentum slope — and blends their individual votes into the final score. You see not only the agreement across timeframes but also the agreement across methods, which exposes weak or borderline regimes that a single-method tool would quietly hide.
🔺 **Methodology**
• EMA Trend: a timeframe is bullish when EMA50 is above EMA200 and price is above EMA50; bearish on the mirror condition; neutral otherwise.
• Market Structure: confirmed pivots are tracked in real time. A timeframe is bullish while the last two confirmed swings form higher highs and higher lows, bearish on lower highs and lower lows.
• Momentum Slope: the change in linear regression across a configurable lookback, normalized by ATR so that fast and slow assets are comparable.
• Consensus per timeframe: each active method casts a vote; bulls minus bears determines the row's net direction and strength.
• Overall alignment: bull and bear votes are summed across all active timeframes; the dominant side's share defines the agreement percentage.
◆ **Three-State Regime Engine**
• **LOCKED** — agreement above the strong threshold (default 80%). High-conviction regime, continuation-friendly, background tint activates.
• **TRENDING** — agreement between 50% and the strong threshold. Directional bias forming but not yet fully aligned. Trade with reduced size or wait for confirmation.
• **SPLIT** — agreement below 50%. Timeframes are in conflict, no majority side. Classic chop phase, favors mean-reversion strategies or standing aside.
🔔 **Signals & Alerts**
• Regime Lock (Bull or Bear): fires the first bar agreement crosses above the strong threshold while one side dominates. Designed as a continuation trigger, not a reversal signal.
• Chop / Conflict: fires when no side holds the majority, a classic filter for mean-reversion systems or a stand-aside cue for trend traders.
• Both generic and directional alertcondition() hooks are exposed so you can wire the map into automations.
⚙️ **Key Inputs**
• Core Engine: toggle any of the three methods on or off, and tune the pivot length and momentum lookback independently.
• Timeframes: four user-selected timeframes plus an optional Current row that auto-adapts to the chart TF. If the chart TF matches any selected TF, the Current row is hidden automatically to avoid double-counting.
• Panel: six location presets, four text sizes (default Normal), dark or light theme, optional per-method breakdown row.
• Background Tint: enable or disable, set the strong-alignment threshold (50–95%) and control transparency (70–99) to keep the chart premium.
📖 **How to Use**
• Top-down confirmation: take trades on your execution timeframe only when the higher rows in the map agree with your thesis.
• Regime filter: enable Regime Lock alerts to catch moments when the full map snaps into alignment — these are typical continuation windows.
• Conflict filter: when the map prints SPLIT, widen stops, reduce size, or step aside; trend strategies historically underperform during these phases.
• Method debugging: turn on the per-method breakdown to see which methods are driving the score and which are fighting it.
⚠️ **Limitations & Transparency**
• All timeframe values are non-repainting at bar close (lookahead is disabled), but intrabar values can update until the parent bar closes — this is expected MTF behavior.
• Market Structure requires enough history on each timeframe to confirm two swings; on very young assets or short charts the structure vote may be neutral until pivots print.
• The map is a context tool, not a standalone entry system — combine it with your own execution logic, risk management, and bias.
📌 **Risk Disclosure**
This script is provided for educational and analytical purposes only. It does not constitute financial advice, a recommendation, or a solicitation to trade any instrument. Markets involve substantial risk and past behavior does not guarantee future results. Always do your own research and manage risk responsibly. Indicator

Risk Reward Visualizer [AGPro Series]Risk Reward Visualizer
🔹 Overview
Risk Reward Visualizer is a professional trade-planning indicator that transforms every setup into a clean visual framework: entry, stop-loss, and up to three take-profit targets displayed as long rectangular R-multiple zones. Beyond basic visualization, it adds three features rarely found together in one tool — a breakeven probability calculator, live MFE/MAE excursion tracking, and an automatic trail-to-breakeven workflow.
The indicator is built for traders who think in R-multiples: swing traders, prop-firm candidates, day traders, and anyone who wants to answer the question "does this setup actually make mathematical sense?" before committing capital.
🔹 What Makes It Different
Most risk/reward scripts stop at drawing levels and a position-size table. This one goes further:
• Breakeven Probability Math — For every R target, the panel displays the minimum win rate required to break even, adjusted for round-trip fees. A 3R target needs only 25% wins; a 1R target needs 50%. Seeing this side-by-side reframes how you evaluate setups.
• Live MFE / MAE Tracking — Maximum Favorable Excursion and Maximum Adverse Excursion are tracked in real time from the moment the setup becomes valid. Labels mark the exact bar of each peak in R-multiples, with leader lines connecting the label to the wick, so you can grade trade quality after the fact.
• Trail-to-Breakeven Visualization — When TP1 is hit, the original stop fades and a new breakeven line is drawn at entry, making the risk management discipline visible on the chart.
• Hybrid Auto-Detect — Leave Entry and Stop at zero and the script fills them using the current close and the most recent swing pivot plus an ATR buffer. Provide one manually and the other auto-completes. Everything can be overridden.
🔹 Methodology
Levels are calculated from the standard R-multiple framework:
• Risk per unit = |Entry − Stop|
• Take-profit N = Entry ± (N × Risk per unit), signed by trade direction
• Breakeven win rate = (1 + fees_R) / (1 + R target)
Direction is auto-inferred from the relationship between Entry and Stop (Long when Stop is below Entry, Short otherwise), and can be forced. Auto-detect uses a pivot lookback to locate the most recent swing high or low, then offsets the stop by a user-defined ATR multiple to reduce wick-out risk.
MFE and MAE reset whenever Entry or Stop changes, so editing inputs restarts tracking cleanly. Hit detection uses bar high or low against each level and fires alerts only on the rising edge of each event.
🔹 Visuals & Signals
• Risk zone rendered as a pink rectangle between Entry and Stop
• TP1, TP2 and TP3 zones rendered as stacked teal rectangles with graded opacity
• Entry line in indigo, stop in pink, take-profits in teal
• Labels anchor to the right edge of the zone so they never hide candles
• MFE label on the favorable excursion peak, MAE on the adverse peak, each offset 1.5 ATR with a dotted leader line
• Alerts: TP1 hit, TP2 hit, TP3 hit, Stop Loss hit, Breakeven reached
🔹 Key Inputs
• Setup Mode — Manual, Auto-Detect, or Hybrid
• Trade Side — Auto, Long, or Short
• Entry and Stop — leave at zero to auto-detect
• Swing Lookback and ATR Buffer — for auto-detected stops
• TP1, TP2, TP3 multipliers with individual show/hide toggles
• Trail Stop to Breakeven After TP1 — toggle
• Round-Trip Fees (%) — folded into breakeven math
• Enable Position Size Calculator — optional; account size and risk percentage
• Panel location, panel font size, label font size, zone length, zone transparency
🔹 How To Use
Step 1 — Add the script to any symbol and timeframe. By default, Hybrid mode uses the current close as entry and the most recent swing plus an ATR buffer as stop.
Step 2 — Override Entry or Stop with your planned levels if you have a specific setup in mind.
Step 3 — Check the Breakeven Analysis section of the panel. Confirm the minimum win rate required for your chosen R target is realistic for your strategy.
Step 4 — Set alerts for the targets you want to be notified on. If Trail-to-Breakeven is enabled, you will also receive a notification when TP1 hits so you can move your stop in your broker.
Step 5 — After the trade, review MFE and MAE to grade execution. Did price reach favorable excursion that you missed? Did it dip deep into risk before resolving?
🔹 Limitations & Transparency
• This is a planning and visualization tool. It does not place orders and does not produce buy or sell signals.
• The breakeven calculation treats fees as a percentage of entry price converted into R-units. It is a useful approximation, not a tax or slippage model.
• Auto-detected stops depend on recent swing structure. On very low-liquidity symbols or during strong trends without pullbacks, recent swings may be stale. Verify visually before using.
• MFE and MAE tracking uses bar high or low and resets when inputs change.
• Position sizing assumes a linear contract value and does not account for margin, leverage, or instrument-specific tick rules. Always cross-check with your broker.
🔹 Risk Disclosure
Trading carries risk of loss. This indicator is provided for educational and analytical purposes only and is not financial advice. Past behavior of any tool does not guarantee future performance. Use proper position sizing and never risk more than you can afford to lose. Indicator

Head & Shoulders Auto Detector [AGPro Series]Head & Shoulders Auto Detector
🎯 **Overview**
Head & Shoulders Auto Detector is a precision pattern recognition tool that automatically identifies classic Head & Shoulders (bearish) and Inverse Head & Shoulders (bullish) reversal formations across any market and timeframe. Built from the ground up for traders who want the full lifecycle of a pattern tracked on-chart — not just a label and a line, but forming → confirmation → target/stop outcome — with a transparent, quality-scored framework that filters low-probability setups before they clutter the chart.
Every pattern carries a composite quality score, a symmetry percentage, an ATR-adaptive neckline, two projection targets, and a live status label that evolves through the pattern's lifespan.
🔹 **Unique Edge**
Most H&S indicators stop at detection. This one goes further:
• **Full lifecycle state machine** — every pattern moves through four explicit states (Forming → Confirmed → Target Hit / Stopped / Invalidated / Expired), and the visuals update in real time at each transition.
• **Dead pattern hygiene** — once a pattern fails or hits target, orphan TP and stop lines are removed, the neckline freezes at the decision bar, and the status label grays out. The chart never accumulates stale clutter.
• **Quality-driven visual hierarchy** — high-quality patterns (Q≥75) are rendered with a star marker and full saturation, mid-tier patterns get standard treatment, and low-tier patterns (Q<60) fade into the background so the trader's eye is guided to what matters.
• **Dual-target projection with R:R** — every confirmation displays both a classic measured-move TP1 and an extended 1.618× TP2, each labeled with the exact reward-to-risk ratio calculated at entry.
• **ATR-adaptive everything** — shoulder tolerance, neckline flatness, head prominence, stop buffer, and label offsets all scale with volatility, so the same settings work across BTC 4H, gold daily, or small-cap stocks.
🔹 **Methodology**
Patterns are detected from confirmed pivot highs and lows using a configurable pivot length. For a valid Head & Shoulders, three same-side pivots (Left Shoulder → Head → Right Shoulder) must satisfy:
• Head extends beyond both shoulders by at least the configured ATR multiple (prominence test).
• Shoulder heights differ by less than the shoulder tolerance in ATR units (symmetry test).
• Two opposite-side pivots between LS-Head and Head-RS define the neckline; their vertical distance must be within the neckline tolerance.
• Composite symmetry score (50% time symmetry, 50% price symmetry) must exceed the minimum threshold.
Quality score combines four weighted components:
• Symmetry (45%) — time + price balance between shoulders
• Neckline flatness (25%) — how horizontal the neckline is
• Volume profile (15%) — head-bar volume relative to shoulder average
• Head prominence (15%) — how clearly the head dominates
Confirmation triggers when price closes beyond the neckline level (interpolated for sloped necklines). Stop is placed at the head level plus an ATR buffer to avoid wick stop-outs. TP1 uses the standard head-to-neckline measured move; TP2 extends to 1.618× that projection.
🔹 **Signals & Alerts**
Four alert events available:
• **Pattern Forming** — a valid H&S or Inverse H&S structure has been detected but not yet confirmed.
• **Pattern Confirmed** — close has broken the neckline; entry is live with TP/Stop drawn.
• **Target Hit** — TP1 has been reached on a confirmed pattern.
• **Neckline Retest** — after confirmation, price has returned to touch the neckline (common high-probability re-entry zone).
🔹 **Key Inputs**
• **Pivot Length** — controls swing-point sensitivity
• **Min Symmetry Score** — minimum shoulder symmetry percentage to accept a pattern (default 60, balanced)
• **Neckline Tolerance (ATR)** — how sloped a neckline is allowed to be
• **Shoulder Height Tolerance (ATR)** — how different the two shoulders can be
• **Head Prominence (ATR)** — minimum head extension beyond shoulders
• **Volume Soft Confirmation** — toggle volume influence on quality score
• **TP1 Method** — Classic (horizontal neckline reference) or Measured Move (slope-aware)
• **Stop Buffer (ATR)** — extra room beyond the head level (default 0.35)
• **Max Pattern Lifetime** — bars after which an unconfirmed pattern expires
• Full visual controls: font size, panel position, theme, zone display, label offset, color palette
🔹 **How to Use**
1. Apply the indicator to any liquid market and timeframe. 4H and higher tend to produce the most reliable formations; intraday works but expects more noise.
2. Watch for patterns labeled with a ⭐ and bright color (Q≥75) — these are the highest-confidence setups.
3. Wait for the ✓ Confirmed status to appear before entering; the ⚡ breakout marker pinpoints the exact confirmation bar.
4. Use the TP1 / TP2 R:R labels to size the trade. Stop is pre-calculated at head level + ATR buffer.
5. Monitor the panel stats over time to understand the indicator's behavior on your specific market — Win Rate, Avg Quality, and Last Signal all update live.
6. Consider combining with trend context (a bearish H&S is far more powerful at resistance in a downtrend than in the middle of a strong uptrend).
🔹 **Limitations & Transparency**
• Pattern detection uses confirmed pivots, so signals appear with a natural delay equal to the Pivot Length setting. This is intrinsic to pivot-based logic, not a flaw.
• Quality score and historical win rate are chart-native calculations based on the loaded history; they are descriptive, not predictive.
• The script does not include multi-timeframe confluence or trend filters — these are deliberate design choices to keep the tool focused and composable with other indicators.
• Volume confirmation is a soft scoring input, not a hard filter, since many crypto pairs and indices have volume data of variable reliability.
• Pattern state transitions use close-based confirmation; intrabar wicks do not trigger state changes except for stop/target hits, which are high/low based as expected.
🔹 **Risk Disclosure**
This indicator is an analytical tool, not a trading recommendation or financial advice. Pattern recognition describes what has formed on a chart; it does not predict future price movement with certainty. Always use proper risk management, position sizing, and confirm signals with your own analysis. Past pattern statistics shown on the panel are descriptive of the visible history and do not guarantee future performance. Trading involves substantial risk of loss. Indicator

Trendline Confluence Map [AGPro Series]Trendline Confluence Map
Overview
Trendline Confluence Map automatically draws ascending and descending trendlines from major and minor swing pivots, then maps the zones where two or more of these trendlines intersect with each other or with key horizontal support and resistance levels. Every confluence zone is scored from 0 to 100 based on touch count, line age, trendline angle and volume, so traders can instantly see which reaction levels are backed by the most structural weight. Drawn as long rectangular zones in the classic S/R style, the map stays anchored to current price and hides old, irrelevant levels automatically.
Unique Edge
Most trendline tools either draw a single line or flood the chart with dozens of low-quality lines that never interact with each other. This indicator is built around the opposite idea: confluence is the signal, single lines are just noise. Its three design choices make the difference. First, the script maintains a disciplined pool of only the trendlines whose current projection is on-chart, so a zero-visibility clutter problem cannot happen — the panel count always equals what you actually see. Second, horizontal S/R levels participate as first-class confluence sources alongside trendlines, with a guard requiring at least one real trendline per zone so the tool remains true to its name. Third, every zone label shows a source breakdown such as "2 TL" or "1 TL + 1 SR", giving you immediate insight into why a zone was considered high-probability.
Methodology
Swing pivots are detected at two depths (major and minor) using pivot-high and pivot-low structures, with configurable lookback lengths. Each valid consecutive pivot pair spawns a trendline, and every subsequent bar that wicks into the projected line within an ATR-based tolerance increments its touch count, raising its structural validity. Horizontal S/R levels are extracted from recent major pivots and merged when they fall within 0.4 ATR of each other. On each confirmed bar, the detector builds a combined pool of all on-chart trendline projections plus horizontal levels, then runs a greedy clustering pass using a zone-width-sized tolerance window. Candidate clusters that contain at least one trendline and meet the minimum source count are scored by combining touch strength, line age, slope quality, a rolling volume component and a horizontal S/R bonus. The highest-scoring cluster becomes a confluence zone, drawn as a rectangle whose right edge extends dynamically to the current bar so every active zone stays visually anchored to price. Zones are deduplicated by price and direction, and expire automatically after a configurable age.
Signals and Alerts
Every new confluence zone is announced with a descriptive alert that carries its mid-price, score and source breakdown. A second alert fires when price first crosses into an active zone from outside, helping traders react to the moment a level is tested. Zone colors encode directional bias: green zones indicate support-favored confluence while pink zones indicate resistance-favored confluence, with the bias derived from the dominant trendline direction in the cluster. Labels on the right edge of each zone show the current score, the source breakdown and the bias tag, so at a glance the trader knows which level is strongest and why.
Key Inputs
Major Pivot Length and Minor Pivot Length define the swing-detection depth of the two pivot streams. Max Active Trendlines caps the internal pool, while Min Touches to Validate filters out unconfirmed trendlines from the confluence pass. Touch Tolerance in ATR units controls how generously the script counts interactions. Min Sources for Zone sets the confluence requirement, Zone Width in ATR units determines rectangle thickness, and Zone Forward Extension controls how far each zone reaches to the right. Max Active Zones and Max Zone Age in bars keep the map focused on currently relevant structure. Panel Theme, Panel Location and Font Size cover the full visual customization layer.
How to Use
Start on the timeframe you trade and leave the defaults — they are tuned for 4H crypto and major FX on equivalent timeframes. Scan for zones with a score above 60 in a direction aligned with the higher-timeframe bias. Use the green support-biased zones as pullback entry areas in uptrends and the pink resistance-biased zones as fade or short entry areas in downtrends. Break-and-retest traders can wait for price to pierce a high-score zone and return to its edge; mean-reversion traders can watch for rejection at zones where the source breakdown includes both a trendline and a horizontal level, as those tend to hold more strongly. The panel at the top shows a quick summary of the current map state and the distance to the nearest zone in ATR units, which is useful for position sizing and stop placement.
Limitations and Transparency
This is not a strategy and not a complete trading system. It does not predict price and does not generate buy or sell instructions. Confluence zones are structural context, not entries, and their score is an internal quality estimate derived from visible price action, not a probability of success. The script needs a reasonable amount of historical bars to build a stable trendline pool. Very low timeframes and very illiquid symbols can produce erratic pivot structures and are not the intended use case. Like all pivot-based tools, the indicator reflects past structure, and levels can weaken or become stale as market regimes change. Zones older than the configured age are removed automatically to reduce this risk.
Risk Disclosure
Trading involves substantial risk of loss and is not suitable for every investor. Past performance is not indicative of future results. This indicator is provided for educational and analytical purposes only and should not be interpreted as financial advice, an investment recommendation or a solicitation to trade. Always combine multiple forms of analysis, manage position size responsibly, and never risk capital you cannot afford to lose.
Indicator

Breaker Block Engine [AGPro Series]Breaker Block Engine
Overview
Breaker Block Engine is a dedicated detection and tracking tool for one of the
most misunderstood concepts in Smart Money trading: the Breaker Block. A
breaker block is an order block that has failed and flipped role — a bearish
order block broken upward now behaves as bullish support, and a bullish order
block broken downward now behaves as bearish resistance. The engine does not
just draw them; it validates each break with displacement strength, tracks
every retest, scores how well each breaker has held its role, and surfaces the
dominant bullish and bearish breakers through a clean info panel.
Unique Edge
Most breaker block scripts stop at drawing a flipped zone. This engine goes
further:
- Each break is validated using an ATR-scaled close-based displacement filter,
optionally combined with above-average volume confirmation, to reject weak
wick-based breaks.
- Every retest of a breaker is counted and evaluated as Held or Lost, and the
state label on the chart shows a live retest hold percentage for each
breaker (for example "Bull Breaker | Held x6 (100%)").
- An invalidation buffer prevents single-wick noise from prematurely killing
otherwise healthy breakers, while genuinely violated zones fade into a gray
"Lost" state and are removed from tracking shortly after.
- Intra-side and cross-side confluence grouping automatically clean up
overlapping labels so the chart stays readable even when several breakers
cluster within half an ATR.
- The info panel summarises the whole picture in one glance: dominant side,
active counts per side, nearest breaker distance in both price and ATR
multiples, and overall retest hold percentage.
Methodology
1. Swing Detection. Confirmed pivot highs and pivot lows are identified using
a configurable pivot length. These pivots anchor the search for order
block candidates.
2. Order Block Candidate. For each confirmed pivot high, the script walks
back up to ten bars looking for the last bearish candle — this is the
bearish order block candidate. The symmetrical process identifies bullish
order block candidates around pivot lows.
3. Break Validation. A candidate is promoted to a breaker only when price
closes past the opposite edge of the order block by at least a
user-defined ATR multiple (default 0.75 × ATR). An optional volume
confirmation filter can additionally require the break candle to trade
above its volume moving average.
4. Retest & Hold Scoring. After formation, each breaker is checked every bar.
If price re-enters the zone and the close respects the breaker's intended
direction, a Hold is recorded; otherwise the retest is counted but not
held. A minimum bar spacing prevents consecutive bars of a sustained
retest from inflating the counter.
5. Invalidation. If price closes past the far edge of the breaker by more
than the invalidation buffer (in ATR), the breaker is marked Lost,
visually faded, and removed from active tracking after a short grace
period.
6. Confluence Grouping. On the most recent bar, breakers whose mid-points
sit within max(0.5 × ATR, 0.5 % of price) of each other have their
overlapping state labels resolved: dead labels yield to alive labels,
older labels yield to newer ones. A cross-side pass prevents stale
opposite-side labels from sitting on top of active ones.
Signals & Alerts
The script provides three alert events:
- New Breaker: fires on the bar a bullish or bearish breaker is confirmed.
- Retest Hold: fires when price retests an active breaker and the close
respects the zone direction.
- Invalidation: fires when an active breaker is broken in the opposite
direction beyond the invalidation buffer.
On-chart signals include the zone itself (coloured by side), a small
directional triangle at the break point, and a dynamic state label on the
right edge showing the breaker's test count and hold percentage.
Key Inputs
- Swing Pivot Length: bars on each side used to confirm swings. Higher values
produce fewer but structurally stronger swings.
- Max Active Breakers per Side: hard cap on simultaneously tracked bullish
and bearish breakers; oldest are pruned when the limit is reached.
- Displacement Strength: ATR multiple required for a close-based break to
validate. Higher values produce fewer, stronger breakers.
- Require Volume Confirmation: when enabled, the break candle must trade
above its volume moving average.
- Invalidation Buffer: ATR buffer added beyond the breaker edge before the
breaker is considered invalidated. Prevents wick-based noise kills.
- Min Bars Between Retests: minimum bar spacing between consecutive retests
of the same breaker, keeping counters from inflating on sustained visits.
- Zone Transparency, Colours, Label & Panel Sizes: full visual control.
- Panel Location, Theme, Far Zone Threshold: the info panel can be placed in
any of six positions, switched between Dark and Light theme, and the
threshold for labelling distant zones as "Far" is user-configurable.
How to Use
- On mid-to-high timeframes (15m and up), leave the defaults. The engine is
tuned for 15m to 4h out of the box but works on any timeframe and
instrument.
- Use the state label hold percentage as a quality gauge. A breaker with a
long history of holds (for example "Held x6 (100%)") has demonstrated
institutional interest at that level; a breaker with mixed results deserves
more caution.
- Use the panel to orient quickly. If the dominant side is Bullish and the
nearest bullish breaker sits within a fraction of an ATR, the chart is in
a supportive regime for long bias; if both nearest values show "Far",
price is floating between structures and caution is warranted.
- Combine with higher-timeframe context. A bullish breaker on the 1h that
aligns with a bullish breaker on the 4h is a stronger zone than either
alone.
Limitations & Transparency
- This is an indicator, not a strategy. It draws zones and tracks their
behaviour; it does not generate buy or sell orders, manage positions, or
calculate performance statistics against a price series.
- Pivot-based detection is inherently lagging by the pivot length: a swing
is only confirmed once the configured number of bars have printed past it.
- Results depend on input choices. Different displacement multipliers, pivot
lengths, and retest gaps will produce different breaker sets. The defaults
are a starting point, not a recommendation.
- No indicator can guarantee future behaviour. A breaker that has held ten
times in the past can fail the next time it is tested.
Risk Disclosure
This script is provided for educational and research purposes only. It is not
financial advice and does not constitute a recommendation to buy, sell, or
hold any instrument. Trading carries substantial risk of loss. Users are
solely responsible for their own trading decisions and risk management. Past
behaviour of a breaker, or of any zone shown by this script, does not
guarantee future results. Indicator

Mitigation Block Quality [AGPro Series]OVERVIEW
Mitigation Block Quality grades every order-block retest as A, B, or C based on
the strength, speed, and follow-through of the bounce after price returns to
the block. Instead of just drawing order blocks and leaving you to guess
which ones matter, the script measures each mitigation objectively and keeps
a live scoreboard of how those reactions have been performing.
The result is an order block tool that tells you two things at once: where
the zones are, and how well price has historically respected them on the
symbol and timeframe you are looking at.
UNIQUE EDGE
Most order-block indicators end at detection. This one begins there. Each
time a block is mitigated, the script measures the reaction over a fixed
window and grades the bounce by its ATR-normalized magnitude. That grade
is then reflected everywhere: on the block border, in the on-chart label,
in the dashboard, and in the historical success-rate statistics.
You also get multi-timeframe context, confluence detection, streak tracking,
and a dynamic setup banner that describes the current price-block
relationship in plain English.
METHODOLOGY
1. Detection. Swing pivots are identified using a configurable pivot length.
The last opposite-colored candle before the pivot forms the order block.
2. Mitigation. A block is mitigated when price re-enters the zone.
3. Grading. After a fixed reaction window, the script measures the peak of
the bounce and normalizes it to ATR. Grade A is a strong bounce, B is
solid, C is weak.
4. Invalidation. A body close beyond the block marks it as invalidated.
Invalidated blocks can be hidden or shown as a dotted reference.
5. Retirement. Blocks retire by age, by distance from price, or when the
per-side cap is exceeded.
FEATURES
- A, B, or C grade assigned to every mitigation (ATR-normalized reaction)
- Reaction trail line on Grade A mitigations showing the bounce extent
- Entry marker (diamond) at the exact mitigation bar of Grade A bounces
- Confluence glow when two or more blocks overlap within 0.5 ATR
- Time-based opacity decay so older blocks recede and fresh ones pop
- Optional pulse animation on A/B blocks while price is inside them
- Price-scale labels tagging each active block's grade and side
- Higher-timeframe alignment check against a configurable HTF structural bias
- Dashboard panel with: active count, tested count, success (current),
nearest-block state (Inside / Touching / distance in ATR), all-time
success rate with stacked distribution bar, last-20 success, health
progress bar, current Win/Loss streak, HTF alignment, and a dynamic
setup banner
SIGNALS & ALERTS
Three alert conditions are provided:
- Grade A Mitigation — a premium-quality bounce has been detected
- Grade B Mitigation — a solid bounce has been detected
- Block Invalidation — an active block has been broken
These are alertconditions and can be configured from the PulseWire
Create Alert dialog in the usual way.
KEY INPUTS
- Pivot Length and Lookback: control how blocks are detected and how long
they stay on the chart
- Reaction Window and Grade Thresholds (A, B in ATR units): define what
counts as a premium, solid, or weak bounce
- Invalidation Mode: choose between body close or wick pierce
- Retire Block Beyond (xATR): automatic cleanup when price moves far away
- Max Active Blocks per Side and Max Visible Labels: keep the chart premium
- Premium Visuals toggles: Reaction Trail, Entry Marker, Confluence Glow,
Quality Heatmap row, Setup Banner, Pulse, Time Decay, Price Scale Labels,
HTF Alignment, Streak row
- HTF for Alignment: the higher timeframe used for multi-timeframe confluence
- Panel location and theme
HOW TO USE
1. Add the script to any chart and timeframe.
2. Read the panel top-down:
- Last 20 breakdown tells you the recent quality regime
- Nearest Block tells you how close the closest active zone is
- All-time and Last 20 success tell you how reliable those zones have been
- Streak gives you momentum context
- HTF Alignment tells you if the bigger picture agrees
- Setup banner describes what is happening right now
3. Look at the chart:
- A/B/C labels on mitigated blocks tell you how those tests resolved
- Reaction trails and diamonds highlight the premium Grade A mitigations
- Confluence glows mark zones where multiple blocks agree
4. Use alerts to get notified when a fresh Grade A or Grade B mitigation
occurs, or when an active block is invalidated.
The tool is designed to help with discretionary analysis. It is not a
trading system and does not generate buy or sell signals on its own.
LIMITATIONS & TRANSPARENCY
- Pivots are confirmed after the swing length completes, so block detection
has a small structural lag. This is inherent to any pivot-based method.
- Grades are assigned after the reaction window closes. A very fresh
mitigation will briefly show "Active" before its grade appears.
- HTF Alignment uses a 50-period simple moving average on the chosen higher
timeframe as a structural bias proxy. It is a context filter, not a
predictive signal.
- All metrics are computed from the visible historical data on the current
chart. Loading more bars will change the all-time statistics.
- The script uses Pine Script v6 drawing objects. Extremely long histories
on very low timeframes may hit PulseWire object limits; the built-in
per-side cap and distance-based retire keep this under control in normal
use.
RISK DISCLOSURE
This script is an analysis aid, not financial advice. It does not predict
future price movement and does not generate trade recommendations. Any
decision to enter or exit a position is the responsibility of the user.
Historical grade distributions are descriptive, not predictive. Past
mitigation behavior on a symbol does not guarantee future behavior.
Trade with risk capital you can afford to lose and use appropriate
position sizing and stop placement.
LICENSE
Released under the Mozilla Public License 2.0. The full source is available
on PulseWire via the Open-Source badge. You are free to study and modify
the code subject to the terms of the license. Indicator

BTC Valuation Cycle [Alpha Extract]A sophisticated multi-metric Bitcoin valuation framework that synthesizes on-chain analytics including SOPR, MVRV, Price-to-Realized, and Mayer Multiple into a unified 0-100 cycle oscillator with six-tier zone classification for market cycle identification. Utilizing logistic transformation with configurable weighting and z-score normalization, this indicator delivers institutional-grade Bitcoin-specific valuation assessment with pivot-based extreme detection and comprehensive alert system. The system's weighted composite architecture combined with adaptive curve intensity enables precise calibration of cycle sensitivity while maintaining statistical validity across Bitcoin's multi-year market cycles.
🔶 Advanced Multi-Metric Synthesis Engine
Implements sophisticated composite calculation combining four distinct Bitcoin valuation metrics with configurable weighting and normalization framework. The system retrieves SOPR (Spent Output Profit Ratio), MVRV (Market Value to Realized Value), Price-to-Realized ratio, and Mayer Multiple from on-chain sources, applies z-score normalization to each metric over configurable periods, transforms via logistic function for 0-100 scaling, and generates weighted average creating unified cycle score.
// Component Score Calculation
SOPR_Centered = SOPR - 1.0
SOPR_Z = z_score(SOPR_Centered, Normalization_Length)
SOPR_Score = logistic_100(SOPR_Z, Curve_Intensity)
Price_to_Realized_Z = z_score(Price / Realized_Price, Normalization_Length)
PR_Score = logistic_100(Price_to_Realized_Z, Curve_Intensity)
MVRV_Z = z_score(Market_Cap / Realized_Cap, Normalization_Length)
MVRV_Score = logistic_100(MVRV_Z, Curve_Intensity)
Mayer_Z = z_score(Mayer_Multiple, Normalization_Length)
Mayer_Score = logistic_100(Mayer_Z, Curve_Intensity)
// Weighted Composite
Cycle = (SOPR_Score × W_SOPR + PR_Score × W_PR + MVRV_Score × W_MVRV + Mayer_Score × W_Mayer) / (W_SOPR + W_PR + W_MVRV + W_Mayer)
🔶 Understanding Bitcoin Valuation Metrics
SOPR (Spent Output Profit Ratio) measures the degree of profit for coins moved on-chain, calculated as value sold divided by value paid. Values above 1.0 indicate profitable selling (distribution), below 1.0 indicate loss-taking (capitulation). The system centers SOPR around 1.0 for normalization.
MVRV (Market Value to Realized Value) compares current market cap to realized cap (aggregate cost basis). High MVRV signals overvaluation as price exceeds average acquisition cost; low
MVRV suggests undervaluation. The system offers Ratio mode (raw MVRV), Z-Score mode (statistical deviation), or Blend mode (average of both).
Price-to-Realized Ratio directly compares current BTC price to realized price (realized cap divided by circulating supply), providing cleaner valuation signal than MVRV by removing market cap distortions.
Mayer Multiple measures price relative to 200-day moving average. Values above 2.4 historically mark tops; values near or below 1.0 mark bottoms. The system normalizes this classic technical indicator alongside on-chain metrics.
🔶 Logistic Transformation Framework
Features sophisticated logistic function application converting unbounded z-scores into bounded 0-100 range with configurable curve intensity controlling sensitivity. The system applies formula: 100 / (1 + exp(-z × k)) where z is z-score and k is curve intensity (default 0.90), creates S-curve transformation preserving relative relationships while preventing extreme outliers, and enables smooth gradient visualization across entire cycle range.
🔶 Six-Tier Cycle Zone Classification
Implements comprehensive market cycle framework dividing 0-100 range into six distinct zones with configurable thresholds representing Bitcoin's characteristic bubble and bust patterns. The system defines Bottom Extreme (default <10, accumulation zone), Cold Zone (10-25, early recovery), Lower Mid (25-40, neutral to bullish), Upper Mid (40-60, bullish), Hot Zone (60-75, late bull market), and Top Extreme (>75, euphoria/distribution) with dynamic color coding.
🔶 Pivot-Based Extreme Detection System
Provides intelligent local extreme identification using pivot high/low detection with zone threshold filtering and visual capsule markers. The system detects pivot highs above Hot Zone threshold and pivot lows below Cold Zone threshold using configurable left/right bars, creates horizontal capsule visualizations at exact extreme values with color-coded centers (red for tops, cyan for bottoms), and maintains rolling array limited to maximum capsule count for clean chart presentation.
🔶 MVRV Calculation Mode Selection
Offers three distinct MVRV calculation approaches optimizing for different market conditions and analytical preferences. Ratio mode uses raw Market Cap / Realized Cap for direct valuation comparison, Z-Score mode applies statistical normalization emphasizing deviations from historical mean, and Blend mode (default) averages both approaches balancing absolute valuation with statistical context for robust signal generation.
🔶 Configurable Metric Weighting System
Features flexible weight allocation enabling traders to emphasize preferred metrics or disable unreliable components during specific market regimes. The system accepts 0.0-N weight values for each metric (default 1.0 all equal), automatically handles missing data by excluding NA metrics from composite, recalculates weighted average dynamically, and enables custom cycle calibration based on trader's confidence in different on-chain signals.
🔶 Confirmed HTF Data Integration
Implements rigorous anti-repaint methodology using confirmed higher-timeframe values with offset preventing live bar distortion. The system retrieves all on-chain metrics from daily timeframe with 1-bar offset ensuring only completed daily candle data influences cycle score, applies identical offset to Mayer Multiple calculation, and maintains signal stability across real-time updates preventing false extreme alerts.
🔶 Comprehensive Alert Framework
Provides five distinct alert conditions covering critical cycle events and threshold breaches with descriptive messages. The system triggers Top Extreme alert on crossover above top threshold (default 90), Bottom Extreme alert on crossunder below bottom threshold (default 10), Hot Rejection alert when cycle falls from Hot Zone, Cold Reclaim alert when cycle rises from Cold Zone, and Mayer Threshold breach alert for traditional technical confirmation.
🔶 Gradient Zone Visualization Architecture
Creates intuitive color-coded area plot with six distinct color zones reflecting current cycle position through visual spectrum from cyan (extreme bottom) through purple/orange to red (extreme top). The system applies dynamic zone coloring to both area fill and cycle value display, implements configurable area transparency (default opaque), and maintains consistent color scheme across oscillator pane, table values, and capsule markers.
🔶 Real-Time Diagnostics System
Features comprehensive data availability monitoring with missing metric labels and detailed value table showing all component metrics. The system detects NA values in SOPR, Realized Price, MVRV, or Mayer Multiple, displays warning label listing unavailable metrics, and provides table overlay showing current values for Cycle score, all four components, MVRV-Z, Mayer MA, and threshold with color-coded formatting.
🔶 Performance Optimization Framework
Employs efficient calculation methods with null-safe division functions, optimized array management for capsule storage, and conditional plotting minimizing unnecessary rendering. The system includes streamlined weighted average calculation skipping NA metrics, smart capsule cleanup maintaining maximum limit through oldest-first deletion, and minimal recalculation overhead through var declarations and confirmed bar logic.
This indicator delivers sophisticated Bitcoin-specific valuation analysis through multi-metric on-chain synthesis unavailable in traditional technical indicators. By combining SOPR (profit/loss behavior), MVRV (cost basis valuation), Price-to-Realized (pure valuation), and Mayer Multiple (technical context) into unified cycle framework with statistical normalization, it provides comprehensive market cycle assessment grounded in blockchain fundamentals. The six-tier zone system maps directly to Bitcoin's characteristic 4-year halving cycles with Bottom Extreme zones historically marking generational buying opportunities and Top Extreme zones marking distribution phases. Perfect for long-term Bitcoin investors seeking data-driven cycle timing, position sizing based on valuation extremes (increase allocation in Cold/Bottom zones, reduce in Hot/Top zones), and objective framework for navigating Bitcoin's volatile multi-year cycles with alerts providing advance warning of major cycle transitions requiring portfolio reassessment. Indicator

Multirange Indicator Highlighter: Days, Timezone, ColorMultirange Indicator Highlighter: Days, Timezone, Color
This indicator allows you to highlight up to 3 custom time ranges for every single day of the week (Monday–Sunday). It is perfect for marking Killzones, session opens, or specific volatility windows.
Key Features:
Daily Control: Separate toggles and settings for each day (Mon–Sun).
3 Ranges per Day: Independent start/end times and colors for each slot.
Flexible Format: Supports HH:MM input (e.g., 09:30-11:00).
Smart Timezones: Enter city names (e.g., America/New_York) or offsets (e.g., GMT+2) directly.
Compact UI: Clean, one-line settings for easy configuration.
How to use:
Set your timezone first, then enable the days and ranges you need. Adjust colors and transparency to keep your chart readable. Indicator

Discipline Guard [CrestAlgo]Discipline Guard
🔍 What This Indicator Does
Every trader has sessions they should avoid. The post-lunch chop. The pre-market noise. The late-night revenge trade window. You know these windows exist because your journal proves it. The problem is remembering in the moment.
Discipline Guard is a behavioral guardrail that visually obscures the chart during user-defined time windows where you have identified that you tend to underperform. It serves as a pattern-interrupt: a deliberate visual barrier between you and a trade you should not be taking.
This is not a signal indicator. It does not tell you what to trade. It tells you when to stop.
🛑 How It Works — The Four Stages
The indicator uses a progressive warning system so you are never caught off guard mid-position:
Stage 1 — Early Warning (15 minutes before window)
A subtle amber tint appears on the chart background. This is your cue to begin winding down any open positions and stop scanning for new setups.
Stage 2 — Approaching (5 minutes before window)
The amber tint deepens and a warning label appears above the current bar showing the window name. Final warning before the blackout begins.
Stage 3 — Active Block (during the window)
The chart is covered with a configurable-opacity dark overlay and a centered message. The default reads "NO-TRADE ZONE — SCHEDULED PAUSE" but you can customize it to anything. This is the core of the indicator — making it psychologically harder to enter a trade during your known bad window.
Stage 4 — Recovery (5 minutes after window ends)
The overlay fades gradually back to a clean chart. This gives you a moment to recalibrate before re-engaging.
The progressive ramp can be toggled off if you prefer an instant blackout with no lead-in.
🌍 Per-Window Timezone Support
Each window has its own timezone selector with 14 options covering all major trading sessions:
America/New_York (default), America/Chicago, America/Los_Angeles, Europe/London, Europe/Amsterdam, Europe/Frankfurt, Asia/Tokyo, Asia/Hong_Kong, Asia/Singapore, Asia/Shanghai, Asia/Dubai, Australia/Sydney, UTC, and Chart (uses the symbol's exchange timezone).
This means you can configure one window for the NY lunch chop in Eastern time and another for the London close in GMT on the same chart. Each window resolves its own day-of-week and time-of-day independently.
⚙️ Configuration
Up to 5 independent no-trade windows can be configured. Each window has:
Enable/Disable toggle
Custom label (e.g., "Post-Lunch Slump", "Pre-FOMC", "Revenge Trade Zone")
Timezone selector (14 options)
Day-of-week checkboxes (Mon through Sun)
Start and end time in 24-hour HHMM-HHMM format
Visual settings (global):
Blackout color (default: near-black #0A0A0A)
Blackout opacity (40-95%, default 70%)
Warning tint color (default: amber)
Warning symbol (🛑 🚫 ⛔ ❌ 🔒 ⚠️)
Custom blackout message text
Message font size (Small / Medium / Large / Huge)
Progressive ramp toggle (on/off)
Historical display:
Show Historical Windows toggle (off by default — keeps your chart clean)
Realtime Range (how many bars back from current to shade, default 48)
🔔 Alerts
Two alert conditions are available:
Window approaching (fires when Stage 2 begins, 5 minutes before the blackout)
Window active (fires when Stage 3 begins)
To set an alert: right-click the indicator name on your chart → "Add alert on Discipline Guard."
🕐 Timeframe Compatibility
This indicator works on all timeframes and all markets (futures, stocks, forex, crypto, commodities, indices).
For the full four-stage progressive warning to render correctly, use on timeframes of 15 minutes or less. On higher timeframes (1H, 4H, Daily), the warning stages may collapse onto a single bar since each bar spans more time than the 15-minute lead-in window. The blackout itself works correctly on all timeframes.
Practical guidance:
1m to 5m: Full progressive ramp renders smoothly. Ideal for day traders and scalpers.
15m: Warning stages may render on only 1 bar each. Still functional.
1H and above: Use with progressive ramp disabled (instant blackout mode). The blackout still activates at the correct time.
📐 Default Configuration
Window 1 is enabled out of the box:
Label: "NY Post-Lunch Slump"
Timezone: America/New_York
Time: 13:00 – 13:30 ET
Days: Monday through Friday
This targets the well-known low-volume, choppy lunch period in US equity index futures trading. Adjust or disable it to match your own trading journal findings.
Windows 2-5 are pre-configured with common session labels (NY Pre-Open, London Lunch, Tokyo Fix, Custom) but disabled by default. Enable and adjust them to fit your own discipline rules.
⚠️ Limitations
This indicator enforces time-based discipline rules. It does not analyze price action, volume, or any market data beyond the current bar's timestamp.
The timing logic is derived from bar timestamps, not a separate wall clock. On inactive symbols where bars do not print continuously, the warning stages may not appear if no bar falls within the warning window.
Windows that cross midnight in their configured timezone (e.g., 23:30 to 00:30) require both days to be enabled in the day-of-week settings. Each day is evaluated independently.
The blackout is a visual overlay only. It does not prevent order execution or interact with your broker in any way. You can still place trades during a blackout if you choose to. The decision is always yours.
⚖️ Disclaimer
This indicator is a behavioral visualization tool for educational and informational purposes only. It does not constitute financial, investment, or trading advice. It does not generate trade signals, recommendations, or any form of market analysis.
No representation is made that using this tool will improve trading performance, reduce losses, or produce any specific result. Trading discipline is a personal responsibility. This tool provides a visual reminder; it does not guarantee behavioral change.
Trading futures, options, and other financial instruments involves substantial risk of loss and is not appropriate for all investors. Past performance is not indicative of future results. Indicator

Legende [Tradeuminati]The " Legende " indicator
is a simple yet highly practical tool designed to bring clarity and structure to your PulseWire watchlist workflow.
It displays a customizable legend in the bottom-right corner of your chart, allowing you to clearly define the meaning behind your watchlist flag colors. Each color (Green, Red, Orange, Blue, Purple, Turquoise, Pink) can be individually configured:
- Enable or disable each color row
- Assign a custom label (e.g. Long, Short, Watchlist, etc.)
The legend automatically adjusts itself:
Only active colors are displayed, ensuring a clean and compact layout without empty rows.
Additionally, the indicator uses PulseWire’s native flag color palette, so your legend perfectly matches the colors used in your watchlist.
Key Features:
- Clean legend displayed directly on the chart
- Fully customizable color labels
- Individual on/off toggle per color
- Compact layout with no empty gaps
- Matching PulseWire watchlist flag colors
- Minimalistic and distraction-free design
This tool is ideal for traders who use color-coded watchlists and want a clear, consistent reference directly on their chart. Indicator

Indicator

[ A L P H A X ] Impulse Bands - Adaptive Trend EngineAlphaX Impulse Bands — ATR-Normalized Adaptive Trend Engine, Impulse Freshness System, Multi-Confluence Confidence Scoring & Smart Retest Detection
AlphaX Impulse Bands is a professional-grade adaptive trend following system built on a proprietary ATR-normalized impulse detection engine that continuously measures the strength, direction, and freshness of every price move. It delivers dynamic bands that physically breathe with volatility — tightening during fresh, high-conviction impulses and expanding during stale, uncertain market conditions. Three visual layers — the Trend Cloud, entry labels, and precision retest lines — work together with a multi-factor confidence scoring system and a triple-timeframe Williams %R confirmation gate to produce only the highest-quality signals. Designed for active traders across crypto, forex, indices, and commodities on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The Impulse Engine — How It Works
At the core of AlphaX Impulse Bands is the ATR-Normalized Impulse Engine — a proprietary system that measures momentum in a way that is consistent and comparable across all instruments and timeframes.
Most adaptive band systems measure impulse by dividing price movement against MAD (Mean Absolute Deviation), which produces readings that vary wildly between low-volatility forex and high-volatility crypto. AlphaX Impulse Bands solves this by normalizing against ATR (Average True Range) instead — the same unit every professional volatility model uses. The result is an impulse score that means the same thing whether you are trading XAUUSD on M1 or BTC on H4.
How the impulse is calculated:
Raw Impulse — measures how far price has moved over the Impulse Lookback period, divided by ATR. If this movement exceeds the threshold (1.0×ATR), a new impulse event is registered.
Impulse Direction — records whether the detected impulse is bullish or bearish, held in state until the next impulse event fires.
Impulse Decay — once registered, the impulse strength decays each bar at the configured Decay Rate. This creates a natural fade — recent moves carry full weight, older moves gradually lose influence.
Impulse Freshness — a normalized 0–100% score derived from current impulse strength. Fresh = high confidence. Stale = caution.
Impulse Momentum — the rate of change of freshness across the last 3 bars. Used by the confidence scoring system to distinguish an impulse that is building from one that has already peaked and is fading.
This multi-layer approach means the indicator is not just reacting to where price is — it is continuously answering the question: how energetic is the current move, and is that energy rising or falling?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 The Adaptive Bands — Breathing With Volatility
The bands are not fixed-width channels. They are living boundaries that respond to both market volatility and impulse freshness simultaneously.
Band structure:
Basis EMA — a trend-length EMA of close, forming the center reference line plotted as a subtle gray line
MAD (Mean Absolute Deviation) — the volatility engine. Unlike ATR, MAD measures the average deviation of closes from their recent mean — capturing the texture of price noise directly
Band Multiplier — dynamically calculated each bar as a blend between Band Min and Band Max, weighted by current Impulse Freshness
The key relationship:
When a fresh impulse fires → Freshness = high → Multiplier moves toward Band Min → Bands tighten — price is in a high-conviction directional move, the bands hug it closely
As the impulse decays → Freshness falls → Multiplier moves toward Band Max → Bands expand — uncertainty is rising, the bands widen to reflect the broader range of possible outcomes
A very stale market with no active impulse → Freshness near zero → Full Band Max width → Maximum caution zone
This means the bands are effectively a real-time confidence visualizer . A trader glancing at the chart immediately understands: tight bands = strong move in progress, wide bands = market searching for direction.
Band Squeeze Detection:
The dashboard continuously displays band width as a percentage of price. When this drops below 2%, the dashboard flags SQUEEZE — a powerful pre-breakout warning that a large directional move is loading. Wider than 7% is flagged as WIDE — indicating elevated uncertainty or a post-impulse cool-down.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
☁ The Trend Cloud
The Trend Cloud is a gradient-filled area plotted around price that provides instant visual identification of trend direction and structural support/resistance.
How the cloud is constructed:
Cloud Outer — the outer boundary of the cloud, positioned at the lower band during a bull trend and the upper band during a bear trend
Cloud Inner — the inner boundary, sitting 45% of MAD inside the outer boundary — this inner line is the key level the Retest Engine watches
Cloud Fill — gradient-shaded between inner and outer: yellow-green for bullish trend, red for bearish trend, opacity-graded for visual depth
Reading the cloud:
Price riding above an expanding yellow-green cloud → strong bull trend, cloud is acting as dynamic support
Price riding below an expanding red cloud → strong bear trend, cloud is acting as dynamic resistance
Cloud thin or collapsed → no meaningful impulse active, potential consolidation or trend transition zone
Cloud color switching rapidly → choppy market, reduce position size or stand aside
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Signal System — Three Layers
AlphaX Impulse Bands produces three distinct signal types, each serving a specific role in the trade lifecycle:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1 ─ Entry Labels ( ▲ S/A/B % / ▼ S/A/B % )
Entry labels fire when the indicator detects a confirmed trend flip — price breaking through the outer band with sufficient impulse and WPR confirmation. Each label carries two pieces of information:
Tier — S, A, or B. Determined by the confidence score at signal time (S = 70%+, A = 55–69%, B = 25–54%)
Confidence % — the raw score from the confidence engine, printed directly on the label
Label colors reflect tier quality:
S-Tier — brightest yellow-green (bull) or bright red (bear) — highest conviction setup
A-Tier — primary yellow-green or primary red — strong setup
B-Tier — dimmer shades — valid but lower conviction, consider smaller size
A Signal Cooldown prevents multiple labels firing on the same trend flip during fast, multi-bar breakouts. Only signals that pass the minimum confidence threshold, the WPR confirmation gate, and the cooldown check are displayed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2 ─ Retest Lines ( ✦ )
After a trend flip is confirmed and the Signal Buffer period has passed, the Retest Engine activates. It watches for price to pull back into the Cloud Inner boundary — the institutional re-entry zone where trends historically find continuation.
When a valid retest is detected:
A ✦ diamond marker appears at the retest bar — yellow-green for bull retests, red for bear retests
A horizontal retest line is drawn from the retest bar extending forward by the configured number of bars — giving you a clear price level to watch for re-entry or stop placement
A Retest Cooldown prevents line spam — minimum 55 bars between consecutive retest lines by default
Retest signals represent the continuation trade opportunity — where traders who missed the initial flip can enter at a structurally superior price, with the cloud now acting as confirmed support or resistance behind them.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3 ─ Exit Markers ( ✕ )
Exit markers appear when one of two conditions is met:
Trend Flip Exit — the opposite trend signal fires, indicating the trend has definitively reversed
WPR Exhaustion Exit — the Fast WPR crosses through the configured exit level (default: above -15 for longs, below -85 for shorts), indicating momentum exhaustion in the direction of the trade. A minimum bars-in-trade requirement prevents premature WPR exits on the opening bars of a position.
Exit markers are not necessarily a signal that the trend is over. They indicate that the current momentum leg is likely complete . Use them to:
Take partial or full profit at the exhaustion point
Tighten stop loss to protect gains
Wait for the next ✦ retest signal before re-entering if the trend remains intact
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 Multi-Confluence Confidence Scoring
Every entry signal is evaluated in real time by the AlphaX Confidence Engine — a multi-factor scoring system that produces a score from 0 to 100 and assigns it a tier. Only signals meeting your configured minimum threshold are displayed.
Bull Confidence Factors:
Trend Flip Freshness (up to 25 points)
Maximum score awarded only when the signal fires on the exact bar of the trend flip — confirming you are at the very beginning of the move, not chasing it
Impulse Freshness (up to 20 points)
The higher the current freshness reading, the more points awarded. A fully fresh impulse (80%+) scores 20 points; a stale impulse (below 20%) scores zero
Impulse Direction Alignment (up to 10 points)
Full points when the internal impulse direction agrees with the signal direction. Zero when it conflicts — a powerful cross-check that catches whipsaw moves where price crossed the band but momentum is still against you
WPR Oversold Depth (up to 15 points)
How deeply the Fast WPR penetrated oversold territory. Deeper = higher spring-loaded reversal potential = more points. WPR below -95 scores the maximum; WPR above -80 scores zero
WPR Cross Timing (up to 10 points)
A confirmed WPR cross back above the oversold level scores 10 points. Fast upward velocity scores 7. General bullish recovery scores 4
WPR Multi-Timeframe (up to 8 points)
Triple WPR convergence (all three timeframes in oversold) scores 8 points. Medium WPR alone in oversold scores 5
WPR Slow Alignment (up to 5 points)
When the Slow WPR confirms the macro trend direction, additional points are awarded
Candle Quality (up to 5 points)
A bullish close with body ratio above 50% scores 5 points. Any bullish close scores 2. Bearish closes score zero
Volume Surge (up to 5 points)
Volume 1.5× or more above the 20-bar SMA scores 5 points. Volume above the SMA scores 2
Impulse Momentum (up to 5 points)
When impulse strength is actively building (positive momentum) additional points are awarded — distinguishing a move that is accelerating from one that is about to stall
Penalty Deductions:
Slow WPR in extreme overbought territory → -8 points (macro trend fighting the signal)
Fast WPR still in overbought zone → -5 points
Impulse nearly completely stale (freshness below 10%) → -10 points
Extreme WPR velocity (likely spike or wick move) → -5 points
The bear confidence scoring system mirrors this structure in reverse, with all conditions flipped for short setups.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📡 Triple WPR Confirmation Gate
All signals pass through the WPR Confirmation Gate before being displayed. This is a separate binary filter — independent of the confidence score — that blocks signals when the oscillator context fundamentally disagrees with the signal direction.
The gate requires at least one of the following to be true before a bull signal can fire:
Fast WPR is in oversold territory
Fast WPR has just crossed back above the oversold level
Fast WPR is in a bullish recovery pattern (rising for 2+ bars)
WPR Slow and Medium are both in the bullish alignment zone
The same logic applies in reverse for bear signals. This gate can be toggled off in settings for traders who want band crossings alone to trigger signals, but it is on by default — and is one of the primary reasons AlphaX Impulse Bands produces significantly fewer false signals than typical adaptive band systems.
Three WPR timeframes run simultaneously and feed both the gate and the confidence scoring:
WPR Fast (8) — the primary signal oscillator, reacts immediately to price action
WPR Medium (21) — the intermediate trend filter, confirms the broader momentum context
WPR Slow (55) — the macro trend anchor, determines whether the overall market structure supports the signal
Triple WPR Convergence — when all three timeframes simultaneously reach extreme levels — is flagged on the dashboard as ALL OVERSOLD or ALL OVERBOUGHT and awarded maximum bonus points in the confidence engine. This is the highest-quality WPR condition the system can detect.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The real-time dashboard displays the complete internal state of the indicator across five sections, updated on every bar close.
IMPULSE ENGINE
Impulse Strength — qualitative label (EXTREME / STRONG / MODERATE / WEAK / FADING) based on the raw impulse value
Freshness — current freshness percentage with qualitative state (FRESH / ACTIVE / FADING / STALE). Highlighted in yellow-green when above 70% — the highest-confidence zone
Impulse Direction — the direction of the most recent registered impulse (BULLISH / BEARISH)
Band Width — current band width as a percentage of price, with SQUEEZE or WIDE flags when applicable
OSCILLATORS
WPR Fast / Med / Slow — current values with zone labels (OB / OS / MID for fast and medium, BULL / BEAR / NEUT for slow)
WPR Velocity — the rate of change of Fast WPR (FAST UP / RISING / FLAT / FALLING / FAST DOWN) — critical for timing entries within a move
WPR Alignment — whether Slow and Medium WPR are in the bull zone, bear zone, or neutral
Triple WPR — flags ALL OVERSOLD or ALL OVERBOUGHT when all three timeframes converge, with background color highlight
TREND STATE
Trend — current trend direction (BULLISH / BEARISH / UNDEFINED) with background color highlight
Trend Bars — the number of consecutive bars the current trend direction has been active
Price vs EMA — how far the current close is from the Basis EMA as a percentage, with directional color coding
CONFIDENCE
Bull Conf / Bear Conf — current confidence scores with tier labels (S-TIER / A-TIER / B-TIER / BELOW MIN)
Volume — current volume state (SPIKE / HIGH / NORMAL / DRY) with the volume ratio multiplier
TRADE STATUS
Position — current tracked position (LONG / SHORT / FLAT) with background highlight
Entry Price — the close price at which the active signal fired
Open P&L — live unrealized profit and loss in both price and percentage terms, color-coded green/red
WPR Exit Watch — warns ⚠ NEAR BULL EXIT or ⚠ NEAR BEAR EXIT when the Fast WPR is approaching the configured exhaustion level — giving you advance notice before the exit trigger fires
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Choppy / Low-Quality Market Conditions
Knowing when not to trade is just as valuable as knowing when to enter. AlphaX Impulse Bands gives you multiple clear visual and dashboard cues that the market is in a low-quality state:
Visual cues to stand aside:
Bands are very wide and expanding — the dashboard Band Width reading is high and climbing. No active impulse is driving direction — the market is searching, not trending
Trend Cloud is thin or collapsing — when the cloud inner and outer converge, there is no structural trend backing any move. Wait for the cloud to separate and take on clear color
Freshness dashboard shows STALE — the last impulse has fully decayed and no new one has fired. Any price movement is low-energy and likely to reverse or stall
WPR Alignment shows NEUTRAL — neither the slow nor medium WPR are confirming a directional bias. Signals firing in this environment carry the lowest reliability
Rapid trend color switching — if candles are alternating rapidly between yellow-green and red, the system is detecting micro-trend flips. The cooldown will block most signals, but the underlying message is clear: this is a range, not a trend
No entry labels appearing despite trend flips — when the bands are crossing but no labels appear, the confidence engine and WPR gate are filtering them out. This is the system explicitly telling you: these setups do not meet the quality threshold
What to do:
Do not force entries — wait for a fresh impulse to register (Freshness dashboard turns FRESH with yellow-green highlight)
Wait for Band Width to compress into SQUEEZE territory — this signals energy is coiling for a directional move
Look for Triple WPR convergence on the dashboard — ALL OVERSOLD or ALL OVERBOUGHT are the highest-conviction pre-signal states
After a trend flip label, wait for the first ✦ retest signal before committing capital — the retest confirms the trend has real momentum behind it and is not a false start
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Impulse Bands — Step by Step
Step 1 — Read the Dashboard
Check Freshness: is the market FRESH or STALE?
Check Band Width: is it squeezing or expanding?
Check WPR Alignment: do the oscillators agree on direction?
If all three are neutral or negative → do not trade. Wait for setup conditions to develop.
Step 2 — Wait for a Trend Flip Label
A ▲ label below the bar (bull) or ▼ label above the bar (bear) sets your directional bias
Read the tier and confidence printed on the label. S-Tier is the strongest; B-Tier warrants smaller size
Do not enter directly on the label — the optimal entry comes next
Step 3 — Enter on Retest ( ✦ )
After the Signal Buffer period passes, watch for price to pull back into the Cloud Inner zone
When a ✦ diamond appears, this is the structured re-entry — a continuation setup at a technically superior price with the cloud now acting as confirmed dynamic support or resistance behind you
Place your stop loss beyond the retest level or just outside the opposite cloud boundary
Step 4 — Monitor with the Dashboard
Watch the WPR Exit Watch row — when it flashes ⚠ NEAR EXIT, begin preparing your exit
Watch Freshness — if it drops to FADING or STALE during your trade, the momentum behind the move is diminishing
Additional ✦ retest signals during the same trend are opportunities to add to your position or re-enter after a partial take-profit
Step 5 — Exit on ✕ Mark
A gray ✕ marker indicates either a confirmed trend flip or WPR exhaustion
Take partial or full profit
If no opposing trend label has appeared, wait for the next ✦ retest to confirm the trend is continuing before re-entering
Step 6 — Trend Ends
An opposing trend label (e.g., a ▼ label after you were long) confirms the trend has reversed
Close any remaining position from the prior trend
The new label resets the cycle — the dashboard Trade Status updates to the new position, and the Retest Engine resets its buffer for the new direction
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔬 ATR-normalized impulse engine — consistent behavior across all instruments and timeframes, no manual recalibration needed
📈 Dual-layer volatility model — MAD for band texture, ATR for impulse normalization, combined into a single adaptive system
🌊 Freshness decay system — impulse strength and confidence degrade naturally over time, preventing stale signals from carrying full weight
☁ Adaptive Trend Cloud — breathes with volatility, tightens during fresh impulses, expands during uncertainty
📡 Triple WPR confirmation gate — Fast (8), Medium (21), and Slow (55) Williams %R must agree before signals fire
🏷 Tiered entry labels (S / A / B) with live confidence % — know the quality of every signal at a glance
✦ Intelligent retest engine — configurable buffer, cooldown, line extension, and width. Draws only meaningful retest levels, never spams
🧠 10-factor confidence scoring engine — freshness, impulse direction, WPR depth, timing, multi-timeframe, candle quality, volume, momentum, and penalty deductions
📊 26-row live dashboard — Impulse Engine, Oscillators, Trend State, Confidence, and Trade Status sections updated in real time
💹 Live Open P&L tracking — entry price and unrealized P&L displayed directly on the dashboard in price and percentage
⚠ WPR Exit Watch — advance warning before exhaustion exits fire, so you are never caught off guard
🎨 Cohesive dual-tone color theme — yellow-green for all bullish elements, red for all bearish elements, gray for neutral and exits
🔔 15 alert conditions — tiered entries, combined entries, exits, retests, Triple WPR states, freshness fade, and trend flips
⚙ Fully configurable — all periods, thresholds, multipliers, display toggles, colors, and filter modes are adjustable from the settings panel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Core Engine
Trend Length — EMA period for the basis line and cloud anchor (default: 19)
Impulse Lookback — bars over which the raw impulse move is measured (default: 5). Lower = more reactive
Impulse Decay — per-bar decay multiplier for impulse freshness (default: 0.97). Higher = impulses stay fresh longer
MAD Length — lookback for Mean Absolute Deviation calculation, controls band volatility sensitivity (default: 20)
Adaptive Bands
Band Min (Fresh Impulse) — tightest band multiplier applied during a fully fresh impulse (default: 1.5)
Band Max (Stale Impulse) — widest band multiplier applied when impulse has fully decayed (default: 2.2)
ATR Period — lookback for ATR-based impulse normalization (default: 14)
WPR Context
WPR Fast / Medium / Slow — three independent Williams %R periods (defaults: 8 / 21 / 55)
WPR Oversold / Overbought — extreme zone thresholds used by the gate and confidence engine (defaults: -82 / -18)
Signal Filters
Min Confidence % — minimum score required for a signal to be displayed (default: 25%)
Signal Cooldown — minimum bars between consecutive entry labels (default: 3)
Require Volume Confirm — when enabled, signals are blocked if current volume is below the Min Volume Ratio threshold
Min Volume Ratio — minimum volume relative to 20-bar average required when volume filter is active (default: 0.7×)
Require WPR Confirmation — when enabled, signals only fire when WPR agrees with the trend direction. On by default — this is the primary noise gate
Retest Engine
Show Retest Levels — toggle retest lines and ✦ markers on or off
Signal Buffer — bars to wait after a trend flip before the retest engine activates (default: 10)
Retest Cooldown — minimum bars between consecutive retest line draws (default: 55)
Retest Line Width — thickness of the horizontal retest lines (default: 2)
Retest Line Extend — how many bars forward the retest line projects (default: 60)
Exits
Exit on Trend Flip — when enabled, an opposing signal triggers an immediate exit marker
Exit on WPR Exhaustion — when enabled, WPR crossing the exit level triggers an exit marker
WPR Exit Bull (above) — Fast WPR level above which a long exit fires (default: -15)
WPR Exit Bear (below) — Fast WPR level below which a short exit fires (default: -85)
Min Bars Before Exit — minimum bars in trade before a WPR exhaustion exit can trigger (default: 3)
Display
Show Trend Cloud / Show Outer Bands / Color Bars / Show Entry Labels / Show Freshness Indicator — individually toggle each visual layer
Label Size — Tiny / Small / Normal
Dashboard
Show Dashboard — toggle the entire dashboard panel
Position — Top Left / Top Right / Bottom Left / Bottom Right
Dashboard Text — Tiny / Small / Normal
Colors
Bull Primary / Bright / Dim — the yellow-green family for all bullish elements
Bear Primary / Bright / Dim — the red family for all bearish elements
Neutral / Neutral Light — gray shades for exits, inactive states, and neutral conditions
Text Light / Dashboard BG — dashboard typography and background colors
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (15 total)
Tiered Entry Alerts
S-Tier Bull Impulse — bull signal with confidence 70%+
A-Tier Bull Impulse — bull signal with confidence 55–69%
B-Tier Bull Impulse — bull signal with confidence 35–54%
S-Tier Bear Impulse — bear signal with confidence 70%+
A-Tier Bear Impulse — bear signal with confidence 55–69%
B-Tier Bear Impulse — bear signal with confidence 35–54%
Combined Entry Alerts
Any Bull Impulse — any bull signal regardless of tier
Any Bear Impulse — any bear signal regardless of tier
Any Impulse Signal — any signal in either direction
Exit Alerts
Bull Exit — long position exit triggered
Bear Exit — short position exit triggered
Any Exit — exit in either direction
Retest Alerts
Bull Retest Level — a bullish retest level has been drawn
Bear Retest Level — a bearish retest level has been drawn
Any Retest — retest in either direction
Special State Alerts
Triple WPR Oversold — all three WPR timeframes simultaneously in oversold territory
Triple WPR Overbought — all three WPR timeframes simultaneously in overbought territory
Impulse Freshness Fading — freshness drops below 50%, signaling momentum decay
Trend Flip — a trend direction change has been detected
All alert messages include {{ticker}} and {{interval}} placeholders and are formatted for clean webhook integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD and major forex pairs on M1–M15 :
Confidence threshold at 25% captures valid setups while filtering genuine noise at fast timeframes
WPR Confirmation Gate on by default — the primary protection against choppy market signals
Decay Rate at 0.97 — impulses fade over approximately 30 bars, suitable for intraday momentum moves
Band Min/Max at 1.5/2.2 — calibrated for gold and forex intraday volatility profiles
For other instruments or timeframes, adjust:
Higher timeframes (H1, H4, Daily) — increase Trend Length to 25–35, increase Confidence to 35–50%, increase Retest Cooldown to 100–150
Crypto (BTC, ETH) — increase Band Max to 2.8–3.5 to accommodate wider swings, increase ATR Period to 20
Indices (NAS100, US30, SPX500) — use defaults or slightly increase Impulse Lookback to 7–8 for smoother detection
More signals — reduce Min Confidence %, disable Require WPR Confirmation, reduce Cooldown
Fewer, cleaner signals — increase Min Confidence % to 40–55%, increase Signal Cooldown to 5–10, reduce Band Min to tighten the entry zone
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
📉 Trend traders and momentum followers — the adaptive band and freshness system is built specifically for riding directional moves with precision
🥇 Gold (XAUUSD) and forex scalpers — default settings tuned for intraday volatility on fast-moving instruments
📊 Index and crypto traders — the ATR normalization ensures the system adapts without manual recalibration across instruments
🧠 Systematic traders — the confidence scoring system provides a quantitative signal quality metric, not just visual arrows
📈 Traders who value clean charts — no indicator soup, no overlapping clutter. Every visual element serves a specific purpose
⚠ Traders who struggle with overtrading — the confidence filters, WPR gate, cooldown system, and freshness tracking physically prevent low-quality setups from appearing on the chart
🔄 Pullback traders — the retest engine was specifically designed to surface structured continuation entries within confirmed trends, not just initial breakout signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design
The ATR normalization means the impulse threshold (1.0×ATR) is instrument-agnostic — no adjustment needed when switching between gold, forex, crypto, or indices
Maximum 500 labels and 500 lines are used — on very low timeframes with extended chart history, the oldest labels and retest lines may be automatically removed by PulseWire's rendering limits
The Band Width squeeze detection in the dashboard is a leading indicator of volatility expansion — SQUEEZE conditions frequently precede the strongest impulse moves
WPR Velocity displayed in the dashboard is particularly useful for timing exits within a move — FAST UP or FAST DOWN readings often precede exhaustion reversals
The Trade Status section tracks position direction from signal to exit within a single chart session — it does not connect to your broker or brokerage account
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who need to know not just where the market is going — but how much energy is behind the move. Indicator

Liquidity sweep divergence (SMT) This script implements a refined version of SMT (Smart Money Technique) divergence, focused specifically on liquidity sweeps between correlated assets rather than simple structural divergence.
Use it on one market:
FOREX: EURUSD + DXY (or GBPUSD + DXY)
CRYPTO: BTC+ETH (BTC + TOTAL3, ETH + TOTAL3)
INDICES: ES + NQ
COMMODITIVES: XAU + XAG (GOLD+SILVER)
Unlike traditional SMT indicators that rely on comparing consecutive swing highs/lows (HH/LL logic), this script detects true liquidity events, where one asset takes liquidity (sweeps a previous swing) while the other fails to do so.
🔍 Core Concept
SMT divergence in this script is defined as:
Bearish SMT
The main chart sweeps a previous swing high (liquidity taken)
The second asset fails to sweep its corresponding swing high
Bullish SMT
The main chart sweeps a previous swing low
The second asset fails to do the same
This reflects asymmetry in liquidity behavior, often interpreted as a sign of weakening trend continuation and potential reversal.
⚙️ How It Works
The script uses:
1. Pivot-based swing detection
Uses confirmed pivots (ta.pivothigh / ta.pivotlow)
Eliminates noise and repaint issues from naive fractal logic
2. Cross-asset synchronization
Swings between assets are matched using a configurable bar offset tolerance
Ensures meaningful comparison between structurally aligned points
3. Liquidity sweep detection
Detects when price:
Breaks a previous swing level (high/low)
Optionally closes back inside (ICT-style wick sweep)
4. Signal filtering
To reduce false SMT signals, the script includes:
ATR-based minimum move filter
Optional wick confirmation (true liquidity grab)
No multi-swing brute-force scanning (only relevant structure is used)
🎯 What Makes This Script Unique
Focuses on liquidity sweeps, not just HH/LL divergence
Avoids common SMT noise from weak structural comparisons
Uses minimal and efficient logic (O(1)), no heavy loops
Produces clean and trade-relevant signals, not visual clutter
Designed with algorithmic trading compatibility in mind
📊 Visual Features
Clean SMT labels (Bullish / Bearish)
Optional connecting lines showing the sweep move
Background highlighting for quick contextual awareness
Transparent styling to avoid chart obstruction
⚙️ Inputs
Second Asset – symbol used for SMT comparison
Pivot Length – controls swing sensitivity
Max Sync Offset – allowed mismatch between swing points (in bars)
Wick Sweep Filter – require close back inside level (ICT-style)
ATR Filter – minimum sweep strength
Show Lines – toggle visual connections
🧠 How to Use
This indicator is best used in:
Reversal zones
Liquidity pools (equal highs/lows, prior highs/lows)
Session highs/lows (London / NY)
Typical workflow:
Identify SMT signal
Wait for confirmation:
Break of structure (BOS)
Displacement move
Execute entry in direction of SMT
⚠️ Notes
Signals appear at the moment of liquidity sweep, not at pivot formation
This script is non-repainting, as it uses confirmed pivots
SMT is not a standalone strategy — use with market structure
🌍 Дополнительно (RU — для твоей аудитории)
Этот индикатор реализует правильный SMT, основанный не на HH/LL, а на снятии ликвидности.
Ключевая идея:
Один актив забирает ликвидность (пробивает свинг)
Второй — нет
→ это и есть настоящий SMT
В отличие от большинства индикаторов:
нет мусорных сигналов
нет перебора всех свингов
используется только актуальная структура
Лучше всего работает:
на хаях/лоу сессий
на уровнях ликвидности
в связке с BOS / FVG Indicator

Indicator

Stage 2 Trend Qualifier 8-Criteria Trend Template with RS scoreA compact on-chart dashboard that evaluates whether a stock qualifies as a Stage 2 uptrend using an 8-criteria trend template based on moving average alignment and price position relative to key benchmarks. Includes relative strength scoring, outperformance day tracking, and RS line analysis.
█ WHAT IT DOES
This indicator runs 8 mechanical checks on every bar and displays pass/fail status in a clean overlay table:
1. Price above 150-day SMA
2. Price above 200-day SMA
3. 50-day SMA above 150-day SMA
4. 50-day SMA above 200-day SMA
5. 200-day SMA trending up for at least 1 month
6. Price at least 25% above its 52-week low
7. Price within 25% of its 52-week high
8. Price not more than 10% below the 50-day SMA
When all 8 pass → STAGE 2 (confirmed uptrend). Otherwise the indicator classifies the stock as Stage 1 (basing), Stage 3 (topping), or Stage 4 (decline) based on moving average relationships.
█ RS SCORE (1–99)
Relative strength versus a user-selected benchmark (default: SPY) displayed as a normalized score from 1 to 99 across four timeframes: 1M, 3M, 6M, and 12M.
50 = matching the benchmark. Above 50 = outperforming. Below 50 = underperforming. Each timeframe uses a calibrated scale so scores are comparable across periods.
Color coding:
≥80 → bright green (strong leader)
60–79 → green (outperformer)
40–59 → gray (average)
<40 → red (laggard)
█ RS DAYS
Counts how many trading days the stock outperformed the benchmark over rolling windows of 15, 30, and 60 days. Displayed as: count (win-rate%). For example, "9 (60%)" means the stock beat the benchmark on 9 out of 15 days.
A high RS Score with a low RS Days % means the stock had a few big winning days but isn't consistently leading — less reliable strength. Consistent outperformance (>60%) across all windows is the strongest signal.
█ RS LINE STATUS
Evaluates the relative strength line (stock price ÷ benchmark price) versus its own 52-week high:
NEW HIGH → RS line at its 52-week peak. Strongest relative performance in a year. Often leads price breakouts.
NEAR HIGH → Within 3% of 52-week high. Relative strength building toward leadership.
NEUTRAL → 3–15% below 52-week high. Average relative performance, no clear edge.
WEAK → More than 15% below 52-week high. Relative strength deteriorating. Market rotating away.
█ ALERTS
Three built-in alert conditions:
- Stage 2 Qualified — stock transitions from <8/8 to 8/8 criteria met
- Stage 2 Lost — stock drops from 8/8 to fewer criteria met
- RS Line New High — relative strength line hits a new 52-week high
█ SETTINGS
- Toggle sections: Trend Template, RS Score & Days (on/off independently)
- Table position: any corner or middle edge
- Text size: tiny, small, normal
- Theme: Dark or Light (match your chart background)
- Benchmark symbol: default SPY, changeable to any index or ETF
█ USAGE NOTES
- Designed for the DAILY timeframe. On intraday or weekly charts, the bar-based lookbacks (252 bars for 52-week, 21 bars for 1 month) represent chart bars, not calendar days.
- Stage 2 identification is mechanically precise — all 8 criteria must pass. Stages 1, 3, and 4 use approximate moving average relationship logic.
- RS Score normalizes relative performance to a 1–99 scale. This is NOT a percentile rank across a stock universe — it measures magnitude of outperformance vs your selected benchmark.
- This indicator is an educational and analytical tool. It does not generate buy or sell signals. Indicator

Automate on Hyperliquid - Strategy Webhook Template [HYPR-run]DESCRIPTION
You define the entry signal. The system manages everything after the fill. This is a production-grade trade system for automating strategies on Hyperliquid using PulseWire webhooks. Five-level priority chain trade system. Four ATR trailing architectures including volume-weighted ATR with Efficiency Ratio scaling and ratchet floor. Smart stops that exit when a trade is invalidated. Pyramid scaling into winners and a redundant failsafe stop.
Three signal systems are included ready to backtest and deploy (EMA crossover, Turtle breakout, SFP - Swing Failure Pattern) that you can toggle on/off independently; replace or extend them with your own logic in three places: the input toggle, the signal condition, and the priority chain entry call. There are clear landmarks in the code to make it as straightforward as possible.
This strategy is built for you to hit the ground running backtesting or automating with a systematic framework to execute around your entry logic or the example signals provided. All signals fire on confirmed bar closes only. Entries, exits, pyramids, and stops are evaluated at close, not during the bar, so intrabar wick spikes do not trigger the system. This is by design. No lookahead bias: all highest/lowest references use prior-bar offsets, LinReg is calculated with offset=1, and no security() calls are used. The script does not repaint or compound returns.
WHAT THE STRATEGY SYSTEMIZES
1. Five-Level Priority Action Chain
Entries fire first. Pyramids fire second and block exits on the same bar. Trailing exits ride winners. Smart stops catch failing trades early. Failsafe stop is the absolute floor. The if/else order is intentional and prevents conflicts so that every action occurs only when it should.
2. Four ATR Trailing Stop Modes
Select from a dropdown. All use separate long/short look backs and multipliers because drops are faster than rallies; the defaults reflect this asymmetry.
• A3.1: LinReg + plain ATR, no ratchet. Baseline for comparison.
• A4.0 (default): LinReg + volume-weighted ATR + Efficiency Ratio + ratchet. VWATR discounts low-volume bars. ER tightens in chop (0.8x), widens in trend (1.2x). Ratchet means the stop only moves in your favor.
• A4.1: Chandelier + VWATR + ratchet + first-bar multiplier for tighter initial protection.
• A4.2: LinReg + VWATR, no ratchet or ER. Stop moves freely with projection.
***The multipliers determine how much room the stop gives price before triggering. They have the greatest influence on overall system performance and must be tuned to the asset and timeframe being traded. Default values are a starting point, not final settings.
• L Multi: 4.0 (long stop distance). Wider because uptrends are slower and require more room.
• S Multi: 2.0 (short stop distance). Tighter because drops are faster and corrections are sharper.
• Long LB: 14 bars. ATR lookback for long stops.
• Short LB: 26 bars. ATR lookback for short stops; longer lookback smooths volatile short-side moves.
• LinReg LB: 10 bars. LinReg projection window (A3.1, A4.0, A4.2).
• First Bar Mult: 1.5x (A4.1 only). Tighter stop on the entry bar; expands to standard multiplier after.
3. Smart Stops
Two trigger paths, both requiring open P&L below threshold (default -3.5%): (1) price crosses under the trailing stop while losing, or (2) price breaks the entry bar’s structure while losing. Either path exits the trade before the failsafe would trigger. The P&L condition on both paths prevents exits on noise when the trade is still within normal range.
4. Pyramid Entries
Scales into winning trades on 5-bar extremes. Requires full bar confirmation and must be within 13 bars of the initial entry.
5. Basic Entry Quality Filters
Applied automatically to every entry:
• Wick nullification: bars with wicks > 38.2% of range block entries in that direction
• SFP nullification: active reversal patterns block opposing entries
• Full bar filter: candle body must be >= 66.6% of total range
• Bar confirmation: entries only fire on confirmed bars
THREE SIGNALS INCLUDED (replace or extend)
• XO/XU: EMA crossover with four configurable pairs (5/13, 9/26, 12/25, 26/128). Requires price above swing high (longs) or below swing low (shorts) plus volume spike (Dropdown Selection).
• Turtle: 13/26 bar breakout with Lost Trade System logic. First breakout after an opposing signal gets priority.
• SFP: Swing Failure Pattern. Longs fire on either 5/5 with full-body confirmation or 5/2 with bullish candle confirmation and strong volume spike (1.618x average). Shorts fire on 5/5 with full-body or 13/3 with bearish candle confirmation. Dual-path per direction allows the signal to catch both high-conviction structure failures and high-volume reversals. The function accepts any left/right look back combination, making it straightforward to adapt. (#/# refers to pivot look back left and right)
Each has its own toggle. Enable one, combine them, or swap in your own signals.
WEBHOOK AUTOMATION
Every fill event fires through PulseWire’s built-in webhook system when enabled: entries, exits, pyramids, smart stops, and failsafe closes. To execute those webhooks on Hyperliquid, an intermediary service (execution layer) that accepts PulseWire webhooks and routes orders to Hyperliquid's API is required.
Setup:
1. Create an alert on this strategy
2. Set trigger to "Order fills only"
3. Check Webhook URL, paste your endpoint
4. Message box: {"ticker":"{{ticker}}","position":"{{strategy.market_position}}"}
5. Set expiration to Open-ended
The snippet will most likely require customization depending on your execution layer. The {{ticker}} and {{strategy.market_position}} fields are PulseWire placeholders that auto-populate when a strategy signal fires.
We recommend referencing PulseWire’s Strategy Alerts documentation to fully understand placeholder use and function when setting up your snippet for your execution layer: www.pulsewire.com
BUILDING WITH YOUR OWN SIGNALS
The most straightforward path is adding your own entry logic. The ATR module, smart stops, and pyramids can also be edited to preferred logic while still leveraging the systemized structure for clean execution when automating on an exchange.
Option 1: Replace an existing signal. Find its section under the SIGNALS header (look for "EXAMPLE 1", "EXAMPLE 2", or "EXAMPLE 3"). Delete the example code and write your condition in its place. Find the matching entry in the STRATEGY CALLS priority chain and swap the condition variable. The toggle still works; rename its label in the input line. Everything downstream works automatically.
Option 2: Add a new signal. Three places to touch:
1. Copy a strategy toggle line from the STRATEGIES input group, change the variable name and label
2. Add your signal logic in the SIGNALS section as a boolean
3. Add an else-if block in the STRATEGY CALLS priority chain using your toggle as the gate
Two test switches (Tsw1, Tsw2) are reserved in Settings for custom signals.
READING THE CHART
Candles are colored by direction: black bodies up, gray bodies down (Quant Filter toggle).
The trailing stop draws as a colored line following your position: green below price when long, red/orange above price when short. A gradient fill shades the zone between price and the stop; it intensifies as price approaches the exit level.
Green dots on the long stop line and red dots on the short stop line are ratchet markers (A4.0 and A4.1 only). Each dot means the stop locked in a new level and will not pull back.
Entry labels appear at each fill: "xoL" (EMA long), "xuS" (EMA short), "tL" (Turtle long), "tS" (Turtle short), "sfpL"/"sfpS" (SFP entries), "pyrL"/"pyrS" (pyramid adds). Exit labels: "Cl"/"Cs" (trailing close long/short), "smrtstp" (smart stop), "fstp" (failsafe).
SFP candle wicks are color-coded by lookback: 5/5 bull wick = bright green, 5/2 bull wick = dark green, 5/5 bear wick = bright red, 13/3 bear wick = dark red. The shade tells you which configuration triggered — brighter means the more common 5/5 detection, darker means the secondary lookback fired.
Horizontal lines extending from entry price are the Late Entry Window: white solid line is entry price, green dashed line is entry + ATR window, red dashed line is entry - ATR window. Visual reference only; does not affect trade logic. Useful when away from the screen to quickly see if a missed entry is still within a safe ATR range.
Market structure labels (HH, LH, HL, LL) appear at swing pivots when the Structure toggle is enabled.
RISK MATH
Order size is fixed at $5,000 (50% of starting capital). That means it's always a flat $5k order, no compounding. With the failsafe at -5.25%, maximum loss per trade is $262.50, or 2.625% of the $10,000 starting balance.
*Because order size is fixed in dollars while equity grows, risk as a percentage of equity decreases over time: 2.625% at start, 2.1% at $12,500, 1.75% at $15,000. The smart stop triggers before the failsafe in most cases, reducing average realized loss further.
STRATEGY PROPERTIES (What's used in the chart published here)
Strategies (all off by default - toggle on to activate):
• XO/XU: on
• Turtle: on
• SFP: on
Settings:
• Mode: Historical (switch to Bot Mode for live automation - limits calculation depth for speed)
• EMA Pair: 9/26
Risk Management:
• Smart Stop: on | -3.5%
• Failsafe Stop: on | -5.25%
• Mech TP/Cls: on
ATR Trailing Exits:
• Mode: A4.0
• L Multi: 4.0 | S Multi: 2.0
• Lng LB: 14 | Shrt LB: 26
• LinReg: 10 | First Bar: 1.5 (A4.1 only)
Backtest Properties:
• Initial capital: $10,000
• Commission: 0.05%
• Slippage: 2 ticks
• Order size: $5,000 (cash, fixed)
• Fill limit assumption: 5 ticks
• Max risk per trade: $262.50 (2.625% of starting equity)
CREDITS
ATR: J. Welles Wilder (1978).
Efficiency Ratio: Perry Kaufman.
Turtle breakout concept: Richard Donchian. Strategy

AG Pro Pivot Cluster Survival Map [AGPro Series]AG Pro Pivot Cluster Survival Map
Overview / What it does
AG Pro Pivot Cluster Survival Map is an overlay tool that evaluates the durability of nearby pivot clusters rather than focusing on a single pivot reaction. The script groups Daily, Weekly, and Monthly Classic Pivot levels when they compress into the same price neighborhood, then measures how well that cluster has held up under repeated interaction.
The goal is not to label every pivot touch as strong or weak. The goal is to show whether a pivot-derived zone has continued to absorb pressure, remain structurally relevant, or lose stability over time. This makes the script suitable for users who want to monitor confluence-based pivot structure instead of isolated one-bar reactions.
The visual model is intentionally compact. The script highlights the nearest upper cluster and the nearest lower cluster, assigns a survival score to each side, and displays a pressure readout for the dominant active zone. The result is a map of pivot-cluster durability, not a generic support/resistance overlay and not a simple reaction detector.
Unique Edge
The distinguishing feature of this script is its focus on pivot-cluster survival.
Many pivot tools concentrate on one level at a time. Many reaction tools classify the immediate response after a touch, reclaim, or rejection. This script approaches the problem differently. It asks whether multiple pivot levels from different higher timeframes are compressing into the same zone, and whether that zone is still surviving repeated market interaction.
That difference matters.
This script does not score a single bounce. It does not try to predict a reversal from one isolated pivot event. It evaluates whether a pivot cluster remains durable after tests, inside-zone pressure, breaches, and time spent without structural failure.
Within the AG Pro catalog, this script is materially different from AG Pro Pivot Points Reaction Map. Pivot Points Reaction Map is centered on reaction quality at pivot levels. Pivot Cluster Survival Map is centered on cluster durability, confluence density, and survival under pressure. In other words, one evaluates the response; the other evaluates the staying power of the pivot cluster itself.
It is also different from broader level-survival or support/resistance tools because the source engine here is explicitly pivot-derived. The script is built around Daily, Weekly, and Monthly Classic Pivot families, then transformed into a confluence-survival framework.
Methodology
The current version uses Classic Pivot calculations from higher timeframes.
1. Daily, Weekly, and Monthly pivot levels are collected.
2. Nearby pivot levels are grouped into clusters when they fall within the active cluster width.
3. The script selects the nearest upper cluster and the nearest lower cluster relative to current price.
4. Each selected cluster is evaluated with a survival model.
The survival model is based on factors such as:
- cluster density
- higher-timeframe participation
- repeated tests
- rejection behavior
- inside-zone pressure
- breach frequency
- time since structural failure
A higher survival score suggests that the cluster has remained more durable under recent interaction. A higher pressure reading suggests that the cluster is experiencing more structural stress.
The chart display is intentionally selective. Instead of plotting every pivot line independently, the script concentrates on the nearest relevant clusters and presents them as zones with a backbone line and state label. This is designed to keep the structure readable.
States / Signals
The script uses state-based interpretation rather than directional promises.
Typical state classifications include:
- Stable
- Strengthening
- Balanced
- Under Stress
- Fragile
- Failed
These states are derived from the relationship between survival and pressure. They are meant to describe the condition of the cluster, not to issue a guaranteed trading outcome.
The panel summarizes:
- nearest upper cluster
- nearest lower cluster
- dominant survival side
- cluster pressure
- pivot mix currently included in the model
The script can also generate alert conditions for:
- cluster strengthening
- cluster failure
- cluster reclaim behavior
These alerts are deterministic conditions derived from the script logic. They are informational and should be interpreted within a broader market workflow.
Key Inputs
Pivot Formula
This version is intentionally limited to Classic Pivots in order to keep the clustering and scoring model consistent.
Include Daily / Weekly / Monthly
These settings control which higher-timeframe pivot families are included in the cluster engine.
Cluster ATR Width
Controls how aggressively nearby pivot levels are merged into the same cluster using ATR-based spacing.
Cluster Percent Width
Adds a percentage-based width floor so clusters remain practical across different price scales.
Minimum Levels Per Cluster
Controls how many pivot levels are required before a true cluster is recognized.
Survival Lookback
Defines the observation window used for the durability calculations.
Visual Controls
The script includes settings for cluster visibility, labels, backbone lines, panel location, and font sizes.
Limitations & Transparency
This script is a structural reading tool. It is not a prediction engine.
A high survival score does not guarantee that price will reverse, hold, or trend from that area. A low survival score does not guarantee immediate failure. The values should be read as condition metrics for pivot-derived zones.
Because the script groups pivot levels into clusters, output can vary depending on volatility, symbol characteristics, and timeframe context. On some symbols, one side may show a stronger cluster than the other. On some charts, one side may temporarily rely on a weaker fallback anchor when cluster density is limited.
This script does not attempt to replace market structure analysis, higher-timeframe context, liquidity analysis, or risk management. It is intended to organize pivot confluence into a readable survival framework.
What this script is not:
- not a buy/sell signal engine
- not a guarantee of support or resistance
- not a standalone trade system
- not a future-price prediction model
Risk Disclosure
This script is for chart analysis and decision support only. It does not provide financial, investment, or trading advice. Markets can move unpredictably, and no indicator can eliminate risk.
Users should evaluate signals, states, and cluster conditions together with their own process, timeframe alignment, and risk controls before making any decision.
Indicator

Volume Bubble Levels [BackQuant]Volume Bubble Levels
Overview
Volume Bubble Levels is a volume-expansion and liquidity-mapping tool designed to identify statistically significant participation events and project them forward as actionable structural levels.
Instead of treating volume as a secondary confirmation metric, this indicator treats volume spikes as primary events and builds a framework around them:
Detect abnormal volume relative to a rolling baseline.
Classify those events into tiers based on intensity.
Visualize them directly on price using scalable “bubble” markers.
Project their high and low as forward levels (“naked levels”).
Track whether those levels remain untouched, get retested, or are invalidated.
The result is a system that highlights where meaningful participation occurred , and more importantly, whether the market has returned to those areas .
This shifts the focus from “what price did” to “where size traded and what has or hasn’t been revisited since.”
Core idea
Markets move through phases of normal participation and abnormal participation . Most bars are noise. Occasionally, a bar prints with volume significantly above its baseline, indicating:
Aggressive positioning,
Large order execution,
Liquidity events,
Absorption or distribution,
Forced flows (liquidations, stops, news reactions).
These events often leave behind structural footprints.
Volume Bubble Levels captures those footprints and answers:
Where did abnormal participation occur?
How strong was it relative to recent history?
Have those levels been revisited?
Are there still “untouched” zones where liquidity may remain?
Volume baseline and normalization
The first step is establishing what “normal” volume looks like.
The script computes a rolling moving average of volume:
volMa = MA(volume, volMaLen, volMaType)
You can choose the type:
SMA for stable baseline,
EMA for faster adaptation,
RMA for smoother response,
WMA for weighted emphasis on recent bars.
Then the script computes a ratio:
volRatio = volume / volMa
This is the key metric.
Interpretation:
volRatio ≈ 1 → normal participation.
volRatio > 1 → above-average participation.
volRatio >> 1 → abnormal participation.
Everything in the script is built off this ratio.
Tiered volume classification
Instead of treating all volume spikes equally, the script classifies them into three tiers:
Tier 1 — Elevated : moderate expansion above baseline.
Tier 2 — High : strong participation.
Tier 3 — Extreme : major volume event.
Defined as:
Tier 1: volRatio ≥ t1Mult
Tier 2: volRatio ≥ t2Mult
Tier 3: volRatio ≥ t3Mult
Each higher tier overrides the lower:
Tier 3 > Tier 2 > Tier 1
This creates a hierarchy of importance:
Tier 1 = “noticeable”
Tier 2 = “significant”
Tier 3 = “structural”
Directional context (bull vs bear volume)
Each volume event is also classified directionally:
Bull = close ≥ open
Bear = close < open
This matters because:
Bull volume spikes often represent aggressive buying or short covering.
Bear volume spikes often represent aggressive selling or long liquidation.
So every event carries two dimensions:
Magnitude (Tier 1 / 2 / 3)
Direction (bull / bear)
Bubble visualization (what the circles mean)
Volume events are plotted directly on price as circular “bubbles.”
Key properties:
Position: plotted at the closing price of the bar.
Color: determined by tier and direction.
Size: determined by how far the volume exceeds the threshold within its tier.
Size bucketing within tiers
Each tier is subdivided into five size buckets:
Tiny
Small
Normal
Large
Huge
This is done by splitting each tier’s range into equal steps.
Example:
Tier 1 spans from t1Mult → t2Mult.
That range is divided into 5 segments.
Higher volRatio within that tier = larger bubble.
So a large Tier 1 bubble may still be smaller than a small Tier 2 bubble, preserving hierarchy.
What bubbles represent in practice
Each bubble is a localized participation event .
Interpretation:
Cluster of bubbles → sustained participation.
Single large bubble → isolated liquidity event.
Tier 3 bubble → major structural event, often worth tracking.
They are not signals by themselves. They are markers of where something important happened .
Naked levels: projecting volume events forward
The core feature of this script is not the bubbles themselves, but what happens after them.
For every qualifying volume event, the script creates:
A horizontal line at the bar’s high.
A horizontal line at the bar’s low.
These are called naked levels .
Why both high and low:
High captures the upper boundary of the event.
Low captures the lower boundary.
Together, they define the full price range where abnormal volume occurred.
What “naked” means
A level is “naked” if:
Price has not yet traded back through it.
These are important because:
They represent unresolved areas.
Liquidity may still be resting there.
Market participants involved in the original event may still be positioned around that level.
Level lifecycle
1) Creation
On a volume event:
High line and low line are created.
Stored with metadata:
- price
- tier
- direction
- creation bar
2) Extension
Each level extends forward in time:
Updated every bar.
Projected to the right until resolved.
3) Takeout (resolution)
A level is considered “taken” when price trades through it:
High level taken when: high > level price
Low level taken when: low < level price
Once taken:
The line is terminated.
Removed from active tracking.
4) Expiry
Levels also expire after a fixed number of bars:
If (current bar - birth bar) > extendBars → level is removed.
This prevents infinite clutter and ensures relevance.
Why naked levels matter
These levels act like:
Liquidity magnets,
Revisit zones,
Areas of unfinished business.
In practice:
Price often returns to high-volume zones.
Untouched levels can act as targets.
Revisits can trigger reactions, pauses, or reversals.
This aligns with auction market theory:
Markets seek to revisit areas of high participation.
Unfinished auctions tend to get completed.
Tier-aware level significance
Not all levels are equal:
Tier 1 levels = weaker, more frequent.
Tier 2 levels = meaningful.
Tier 3 levels = major structural zones.
The script reflects this visually:
Tier 3 lines are thicker.
Colors differ by tier and direction.
So you can quickly identify:
Which levels matter most.
Color system
Each tier has separate bull/bear colors.
This allows:
Bullish volume zones vs bearish volume zones.
Visual distinction between accumulation-type and distribution-type activity.
Because:
A high-volume bullish bar and a high-volume bearish bar represent very different order flow contexts.
Line styling
You can choose:
Dotted
Dashed
Solid
This does not affect logic, only readability.
What this indicator is NOT
It is important to understand what this tool is not doing:
It is not a volume profile.
It does not aggregate volume by price level.
It does not measure cumulative delta.
It does not predict direction directly.
Instead, it is:
Event-based , not distribution-based.
Forward-projecting , not historical summarizing.
Structure-focused , not signal-focused.
How to use it
1) Identify important zones
Focus on:
Tier 2 and Tier 3 bubbles.
Clusters of bubbles.
These represent areas of significant participation.
2) Track naked levels
Watch:
Untouched levels ahead of price.
Levels near current price.
These often act as:
Targets,
Reaction zones,
Liquidity pools.
3) Watch level interactions
When price approaches a level:
Rejection → confirms level relevance.
Clean break → invalidates it.
Chop around level → absorption.
4) Combine with structure
This tool works best with:
Trend context,
Support/resistance,
Market structure,
Other flow indicators.
Example interpretations
Scenario 1: Strong bullish bubble cluster
Multiple Tier 2–3 bullish bubbles form.
Price moves away without revisiting.
Interpretation:
Strong accumulation zone.
Untouched lows may act as future support or targets.
Scenario 2: Price returns to naked level
Price revisits a previously untested level.
Interpretation:
Liquidity is being re-engaged.
Potential reaction point.
Scenario 3: Level invalidation
Price blows through a level with strong continuation.
Interpretation:
That level no longer holds structural significance.
Market has repriced beyond that participation zone.
Strengths
Highlights meaningful participation events.
Projects actionable forward levels.
Separates noise from structural volume.
Works across assets and timeframes.
Limitations
Depends on volume quality (less reliable on low-liquidity assets).
Does not indicate direction by itself.
Can produce many levels in volatile environments.
Requires interpretation, not plug-and-play signals.
Summary
Volume Bubble Levels transforms abnormal volume events into forward-projected structural levels. By measuring volume relative to its own baseline, classifying it into tiers, and projecting both the high and low of those events, the indicator builds a dynamic map of where meaningful participation occurred and whether those areas remain unresolved. The bubbles highlight the event, but the real value comes from the naked levels, which act as evolving liquidity zones that can influence future price behavior. Indicator

AlphaX News Filter with Webhook AlertsAlphaX News Filter — Pre-Scheduled Economic Event Blocker with Webhook Alerts
Block trading during high-impact news events automatically. Get real-time alerts to any webhook, Telegram bot, or automation service the moment a news window opens or clears.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔍 What This Indicator Does
Pre-schedule up to 4 economic news events (NFP, CPI, FOMC, PCE or any custom label) directly on your chart. Around each event, a configurable block window fires structured JSON alerts and shades your chart red so you never accidentally enter a trade into a volatile news spike.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🗓️ Pre-Scheduled Events
Enter the exact date and time of any economic release. Each event has its own enable/disable toggle, custom label, and timestamp. Times display in your chart's local timezone with no UTC confusion.
⏱️ Configurable Block Window
Set a symmetric buffer (5–120 minutes, default 18 min) applied both before and after each event. Covers the pre-release positioning freeze and the post-release volatility tail in one setting.
🔔 Structured JSON Alerts — Webhook Ready
Two alert types fire automatically on state transitions:
Block entered: {"action":"NEWS_BLOCK","mins":18,"event":"NFP"}
Block cleared: {"action":"NEWS_CLEAR"}
These JSON payloads plug directly into 3Commas, Alertatron, WunderTrading, Telegram bots, n8n, Make, Zapier, or any custom webhook endpoint to pause and resume your bots automatically.
📊 Visual Chart Overlays
🔴 Red background shading covers the entire block window on the chart
📍 A dashed vertical line marks the exact moment of each scheduled event
🏷️ A label tag drops from the candle high so you spot events instantly on historical review
🖥️ Live Status Table — Dark Theme, Bottom Right
A persistent HUD shows all 4 events at a glance with label, date/time in chart timezone, and live status:
✅ CLEAR — no news window active
🔴 BLOCKED — inside a news block window
🟡 WAITING — event scheduled, not yet triggered
⚫ OFF — event disabled
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🤖 Algo and bot traders — send NEWS_BLOCK to pause strategies, resume on NEWS_CLEAR
📈 Semi-manual traders — visual and alert reminder so you never trade blindly into NFP or CPI
📢 Telegram signal groups — auto-broadcast news warnings to your subscribers
🛡️ Risk managers — enforce a rule-based news blackout across a session
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Use
Add the indicator to any chart and timeframe
Set your block window (minutes before and after each event)
Enter each upcoming news event's date, time, and label in the inputs
Enable or disable individual events with the toggle
Create a PulseWire alert on this indicator and set your webhook URL
The alert message is pre-filled as JSON — point it at your endpoint
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
Supports up to 4 simultaneous events
Alert fires once per bar on state transition — no alert spam
All times render in chart timezone — no manual UTC conversion needed
Compatible with all asset classes: Forex, Futures, Crypto, Indices
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who take news risk seriously. Indicator

AG Pro Ichimoku Cloud Equilibrium Map [AGPro Series]AG Pro Ichimoku Cloud Equilibrium Map
Overview / What it does
AG Pro Ichimoku Cloud Equilibrium Map is an Ichimoku-based overlay designed to map balance, displacement, and return-to-balance behavior around a dynamic equilibrium core. Instead of using Ichimoku primarily as a traditional bullish/bearish checklist, this script reorganizes the framework around one structural question: where is price trading relative to its current equilibrium, and is that position balanced, expanding, overstretched, or reclaiming balance?
The script blends Kijun-Sen with the cloud midpoint to build an equilibrium core, then expands that core into an adaptive equilibrium band using ATR and cloud thickness. From there, it classifies how price is behaving around that band and displays the result through chart states, optional labels, and a compact information panel.
This script is intended as a chart analysis tool. It is built to help users read structure more efficiently, especially when standard Ichimoku layouts feel visually dense or interpretation-heavy.
Unique Edge
The main difference is that this script does not treat Ichimoku as a simple trend confirmation overlay. It converts the Ichimoku framework into an equilibrium map.
Rather than focusing only on whether price is above or below the cloud, this script asks:
- Is price still near structural balance?
- Is price moving away from equilibrium in a controlled way?
- Has the move become stretched?
- Is price returning back into equilibrium after displacement?
That makes it different from a standard Ichimoku presentation, where the raw components are visible but the user must do most of the structural interpretation manually.
It is also different from other AG Pro scripts built around breakout quality, oscillator pressure, compression behavior, or reversion frameworks. This tool is specifically centered on equilibrium, extension, and reclaim behavior using an Ichimoku-derived structure model.
Methodology
The script uses the following structure:
1. Kijun-Sen
Kijun-Sen is used as one of the main balance anchors.
2. Cloud midpoint
The midpoint between Span A and Span B is used as a second structural reference.
3. Equilibrium core
The script combines Kijun-Sen and the cloud midpoint into a dynamic equilibrium core.
4. Equilibrium band
An adaptive band is built around the equilibrium core using ATR and cloud thickness. This allows the model to respond differently in quieter and more volatile conditions.
5. Stretch zones
Beyond the equilibrium band, the script defines stretch areas that help distinguish normal directional expansion from more extended displacement.
6. Reclaim logic
When price moves back into the equilibrium region after being outside it, the script can classify that transition as a reclaim state.
This methodology is designed to make Ichimoku structure more explicit without removing the original context of the cloud framework.
States / Signals & Alerts
The script classifies chart behavior into the following states:
Balanced
Price is trading inside the equilibrium band.
Bullish Expansion
Price is trading above the equilibrium band with supportive directional structure.
Bearish Expansion
Price is trading below the equilibrium band with supportive directional structure.
Overstretched Bullish
Price is extended above the stretch threshold.
Overstretched Bearish
Price is extended below the stretch threshold.
Bullish Reclaim
Price has returned into the equilibrium region after trading below it.
Bearish Reclaim
Price has returned into the equilibrium region after trading above it.
Available alert conditions:
- Bullish Expansion
- Bearish Expansion
- Overstretched Bullish
- Overstretched Bearish
- Bullish Reclaim
- Bearish Reclaim
These states and alerts are descriptive tools for chart analysis. They are not a complete trade plan and should be interpreted in context.
Key Inputs
Ichimoku settings
Users can adjust Tenkan length, Kijun length, Senkou Span B length, and displacement.
Equilibrium engine settings
Users can control ATR length, equilibrium band sensitivity, cloud-thickness contribution, stretch sensitivity, and chop lookback.
Visual settings
Users can control cloud visibility, Kijun visibility, equilibrium band visibility, stretch zones, state labels, label density, and panel appearance.
These inputs allow the script to be tuned for different symbols, volatility conditions, and chart preferences.
Limitations & Transparency
This script is an indicator, not a strategy.
It does not place trades, manage positions, calculate performance, or guarantee outcomes.
The Equilibrium Score is an internal structure summary built from distance, alignment, cloud thickness, Tenkan/Kijun spread, reclaim contribution, and chop penalty. It is not a probability model, not a forecast, and not a standalone decision engine.
Overstretched conditions do not automatically imply reversal.
Reclaim conditions do not automatically imply continuation.
Expansion conditions do not automatically imply strength will persist.
As with any chart tool, interpretation depends on market regime, timeframe, volatility, and the user’s broader workflow. In noisy environments, state changes can occur more frequently. The script includes filters to reduce clutter, but no indicator removes uncertainty completely.
Risk Disclosure
This script is provided for research and chart analysis only.
It is not financial advice. Users should evaluate any signal, state change, or alert within their own process, risk framework, and market context before making decisions.
Indicator

[ A L P H A X ] Order Blocks Institutional Supply & Demand ZoneAlphaX Order Blocks – Institutional Supply & Demand Zone Intelligence, Strength Scoring & Flip Detection
AlphaX Order Blocks is a professional-grade supply and demand zone detection system built on a proprietary multi-factor zone strength scoring engine. It identifies institutional order block zones where smart money has left footprints, tracks zone freshness through multi-touch degradation, detects flip zones when broken levels reverse polarity, and delivers confidence-scored entry signals at the highest-probability reaction points. Designed for traders who want to see where the institutions are positioned on instruments like XAUUSD, indices, forex majors, and crypto.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The Order Block Engine — How It Works
At the core of AlphaX Order Blocks is an institutional zone detection algorithm that identifies price levels where aggressive buying or selling originated. Unlike simple support and resistance lines, these zones represent areas where large orders were placed — and where unfilled orders may still be waiting.
The detection process follows three steps:
Step 1 — Impulse Move Detection
The engine scans for consecutive same-direction candles (configurable from 2 to 5) that confirm a strong directional impulse
At least one candle in the sequence must have above-average volume (measured against a configurable Volume SMA)
This combination of directional conviction plus volume commitment identifies moves driven by institutional participation, not retail noise
Step 2 — Origin Candle Identification
Once an impulse is detected, the engine looks back up to 6 bars (configurable) for the origin candle — the opposite-color candle where the move started
For supply zones, this is the last bullish candle before the bearish impulse — the level where sellers overwhelmed buyers
For demand zones, this is the last bearish candle before the bullish impulse — the level where buyers overwhelmed sellers
The origin candle's high and low define the zone boundaries, expanded by an ATR-based padding for robustness
Step 3 — Volume Delta Calculation
During the origin-to-impulse sequence, the engine calculates the net volume delta — total buying volume minus total selling volume
This delta is displayed on each zone and used in the strength scoring system
A large negative delta on a supply zone confirms strong selling pressure at that level
A large positive delta on a demand zone confirms strong buying pressure at that level
Fresh zones appear with bold borders and bright colors. As they get tested, they visually degrade — giving you an instant read on zone quality without checking any numbers.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Six Core Features
AlphaX Order Blocks combines six independent analysis layers into a single cohesive system:
1 ─ Supply Zones (Red Boxes)
Supply zones mark price levels where institutional selling originated. Each zone box displays:
Tier Rating — S, A, B, or C based on the 6-factor strength score
Touch Count — How many times price has tested this zone (×0, ×1, ×2, etc.)
Volume Delta — Net selling pressure at the zone origin
Strength Percentage — The composite score from 0 to 100
Visual styling degrades automatically as zones weaken:
Fresh (0 touches) — Bold solid border, bright color, full opacity
Tested (1 touch) — Solid border, slightly reduced opacity
Multi-tested (2+ touches) — Dashed border, reduced opacity
Weak (max touches reached) — Dotted border, heavily faded — zone is nearly exhausted
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2 ─ Demand Zones (Green Boxes)
Demand zones following the same tier/touch/delta/strength display format
Demand zones mark price levels where institutional buying originated. They follow the identical visual degradation system as supply zones but in the green color family.
Green Bold Box — Fresh, untested demand zone with highest reaction probability
Green Dashed Box — Tested zone, still valid but weakening
Green Dotted Box — Heavily tested zone, likely to break on next visit
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3 ─ Flip Zone Detection (Purple Boxes)
One of the most powerful concepts in institutional trading is polarity reversal — when a broken support level becomes resistance, or a broken resistance level becomes support. AlphaX Order Blocks automates this:
When price closes above a supply zone, the zone is deleted and a new demand zone is created at the same level with a purple color
When price closes below a demand zone, the zone is deleted and a new supply zone is created at the same level with a purple color
Flip zones receive a +10 point bonus in the strength scoring system because institutional traders frequently use broken levels as new entry points
This feature can be toggled on/off independently
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4 ─ Confidence-Scored Entry Signals (▲ / ▼)
Entry signal labels with S/A/B tier classification and strength percentage
When price enters a high-quality zone and produces a confirmation candle, the signal engine fires a scored entry:
▲ Green Label (Demand Signal) — Dark text on green background. Price entered a demand zone and closed with a bullish candle.
▼ Red Label (Supply Signal) — White text on red background. Price entered a supply zone and closed with a bearish candle.
Signals only fire when the zone's strength score meets your configured minimum threshold (default 40%). This prevents signals at weak, over-tested zones.
Each signal is classified into tiers:
S-Tier (75%+) — Highest probability. Fresh zone, high volume, strong departure, EMA confluence.
A-Tier (55–74%) — High probability. Most factors aligned.
B-Tier (40–54%) — Moderate probability. Basic conditions met.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5 ─ Risk/Reward Projection
Dotted projection lines from entry to nearest opposite zone with R:R ratio displayed
When an entry signal fires, the system automatically projects a take-profit target to the nearest opposite zone :
Demand signal → Target projects to the nearest supply zone above
Supply signal → Target projects to the nearest demand zone below
The R:R ratio is calculated and displayed (e.g., "TP 2.3R")
This gives you an instant read on whether the trade offers sufficient reward relative to risk
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
6 ─ Proximity Warnings
Orange warning label appearing when price approaches a zone — time to prepare
The proximity engine continuously monitors the distance between current price and all active zones. When price comes within the configurable ATR distance of a zone:
An orange ⚠ warning label appears showing the zone type and distance percentage
This gives you advance notice to prepare for a potential reaction — set alerts, tighten stops, or prepare entries
Works for both supply zones above and demand zones below
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 6-Factor Zone Strength Scoring
Every zone is continuously scored from 0 to 100 based on six independent factors. This score determines the tier rating, visual styling, and signal eligibility.
Freshness — Untested Zones Score Highest (up to 25 points)
0 touches = 25 points — Fresh zone, never tested, highest probability
1 touch = 18 points — Tested once, still strong
2 touches = 10 points — Multi-tested, weakening
3 touches = 4 points — Nearly exhausted
4+ touches = 0 points — Weak zone, likely to break
Volume at Origin (up to 20 points)
Compares the volume at the origin candle to the volume SMA
Volume ratio > 3.0× = 20 points (institutional-grade volume)
Volume ratio > 2.0× = 16 points
Volume ratio > 1.5× = 12 points
Volume ratio > 1.0× = 7 points (above average)
Departure Velocity (up to 20 points)
Measures how aggressively price left the zone (in ATR units)
Fast departures indicate strong institutional commitment — they want to get filled and move price away quickly
Velocity > 3 ATR = 20 points
Velocity > 2 ATR = 15 points
Velocity > 1 ATR = 10 points
Zone Age (up to 15 points)
Younger zones score higher — they are more relevant to current market conditions
Under 20 bars old = 15 points
Under 50 bars old = 12 points
Under 100 bars old = 8 points
Under 200 bars old = 4 points
Over 200 bars old = 1 point
EMA Confluence (up to 10 points)
Demand zones score higher when price is below the 200 EMA (buying into weakness)
Supply zones score higher when price is above the 200 EMA (selling into strength)
This adds structural trend context to zone quality
Flip Zone Bonus (up to 10 points)
Zones created from polarity reversal receive a flat 10-point bonus
Broken support becoming resistance (or vice versa) is one of the most reliable patterns in institutional trading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Dashboard Intelligence
A comprehensive AlphaX-branded dashboard provides real-time zone analytics organized into four sections:
Zone Inventory
Active supply and demand zone counts
Breakdown by status: F (Fresh), T (Tested), W (Weak)
Total flip zone count
Market Bias
Strength-weighted zone bias — shows whether demand or supply zones dominate the current price area
EMA trend direction (Strong Bull / Bull / Bear / Strong Bear / Cross)
RSI with zone classification (OB / OS / HIGH / LOW / MID)
Nearest Zones
Nearest supply zone above current price — with price level, strength score, and distance percentage
Nearest demand zone below current price — with price level, strength score, and distance percentage
Position indicator — shows whether price is closer to supply or demand
Signal Status
Last signal type and how many bars ago it fired
Current volume status relative to the SMA (Spike / High / Normal / Dry)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Order Blocks — Step by Step
Step 1 — Identify the Zone Landscape
Look at the chart for active supply (red) and demand (green) zones
Check the Dashboard: Which zones are fresh (F)? Which are tested (T)?
Note any purple flip zones — these are high-probability levels
Step 2 — Wait for Price to Approach a Zone
When the ⚠ proximity warning appears, prepare for a potential reaction
Check the zone's tier rating — S and A tier zones have the highest reaction probability
Ignore C-tier zones unless other confluence is present
Complete trade flow: Zone detection → Proximity warning → Price enters zone → Entry signal → Risk/Reward projection
Step 3 — Enter on Confirmed Signal
Wait for a scored entry label (▲ or ▼) to appear
Confirm the tier — S-Tier and A-Tier signals have the highest probability
Place your stop loss beyond the opposite side of the zone
Step 4 — Set Target Using R:R Projection
The system automatically projects a dotted line to the nearest opposite zone
The R:R ratio is displayed — only take trades offering at least 1.5R or better
Use the projected target as your primary take-profit level
Step 5 — Monitor Zone Degradation
If you are in a trade and the target zone changes from solid to dashed border, it may break — consider tightening your take-profit
If your entry zone starts getting tested from the wrong side, the thesis may be failing — consider a stop adjustment
Step 6 — Understand Zone Breaks
When a zone breaks (candle closes through it), the zone is automatically deleted
If flip detection is enabled, a new opposite zone appears at the same level
Zone breaks often indicate a change in institutional bias — respect them
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ When NOT to Trade — Zone Quality Filters
Not all zones are created equal. AlphaX Order Blocks gives you clear visual and numerical cues to avoid low-quality setups:
Avoid these conditions:
C-Tier zones only — If no S, A, or B tier zones are near price, the area lacks institutional interest
All zones heavily tested — If every zone shows ×3 or ×4 touches with dashed/dotted borders, the levels are exhausted
Dashboard shows "BALANCED" bias — When supply and demand strength are equal, there is no clear institutional edge
Volume shows "DRY" — Low volume environments produce unreliable zone reactions
Multiple flip zones clustered — Heavy flip activity indicates a choppy, indecisive market where zones break frequently
What to do:
Wait for new fresh zones to form with strong volume
Look for zones where the departure velocity was high (the market left aggressively)
Switch to a higher timeframe to find larger, more significant zones
Only trade zones that align with the EMA trend direction
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔬 Institutional zone detection using consecutive impulse candles + volume confirmation
🏗 6-factor zone strength scoring (freshness, volume, velocity, age, EMA, flip)
🏷 S/A/B/C tier zone classification with readable labels and strength percentages
👆 Multi-touch tracking with automatic visual degradation (solid → dashed → dotted → faded)
🔄 Automatic flip zone detection — broken supply becomes demand and vice versa (purple zones)
▲▼ Confidence-scored entry signals at high-quality zone reactions
📐 Risk/Reward auto-projection to nearest opposite zone with R:R ratio
⚠ Proximity warnings when price approaches active zones
📊 EMA confluence scoring — zones aligned with trend structure score higher
📈 Comprehensive AlphaX-branded dashboard — zone inventory, market bias, nearest zones, signal status
🎨 Cohesive triple-tone color theme — Green for demand, Red for supply, Purple for flip zones
🔔 15+ alert conditions — zone detection, touches, signals by tier, and combined
⚙ Fully configurable — detection sensitivity, zone behavior, scoring weights, and all visuals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Zone Detection
Consecutive Candles Required — Number of same-direction candles for impulse detection (default: 3)
Origin Candle Lookback — How far back to search for the origin candle (default: 6)
Volume Threshold Multiplier — Volume must exceed SMA × this value (default: 1.0)
Volume SMA Length — Baseline period for volume comparison (default: 50)
Zone Height (ATR Multiple) — Controls the vertical thickness of zone boxes (default: 1.5)
Max Active Zones Per Side — Cap on simultaneous supply and demand zones (default: 8)
Zone Cooldown — Minimum bars between new zones of the same type (default: 10)
Zone Behavior
Max Touches Before Weak — After this many tests, zone is visually degraded (default: 4)
Require Close to Break Zone — Prevents wick-through fake breaks (default: enabled)
Detect Flip Zones — Enable/disable polarity reversal detection (default: enabled)
Confluence
Fast EMA Period — Short-term trend reference (default: 21)
Slow EMA Period — Long-term structural reference (default: 200)
Show EMAs — Toggle EMA plot visibility
Use EMA Confluence in Scoring — Add/remove EMA from strength calculation
Signals
Show Entry Signals — Toggle entry labels
Min Zone Strength for Signal — Minimum score required (default: 40%)
Signal Cooldown — Minimum bars between signals (default: 5)
Show Proximity Warnings — Toggle approach alerts
Proximity Distance — How close price must be to trigger warning (default: 1.5 ATR)
Risk/Reward
Show Risk/Reward Projection — Toggle the dotted target line and R:R label
Dashboard
Show Dashboard — Toggle the information panel
Position — Top Left, Top Right, Bottom Left, Bottom Right
Dashboard Text Size — Tiny, Small, Normal
Colors
Bull / Demand Primary / Bright / Dim — Green family for demand zones
Bear / Supply Primary / Bright / Dim — Red family for supply zones
Flip Zone — Purple for polarity-reversed zones
Proximity Warning — Orange for approach alerts
Neutral / Neutral Light — Gray for structural elements
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions
New Supply Zone Detected — Fires when a fresh supply zone is created
New Demand Zone Detected — Fires when a fresh demand zone is created
Supply Zone Touched — Fires when price enters a supply zone
Demand Zone Touched — Fires when price enters a demand zone
S/A/B-Tier Demand Signal — Confidence-based demand entry alerts
S/A/B-Tier Supply Signal — Confidence-based supply entry alerts
Any Demand / Supply / Zone Signal — Combined alert conditions
All alert messages include {{ticker}} and {{interval}} placeholders for clean webhook integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Default Settings — Optimized For
The default configuration is tuned for XAUUSD (Gold), major forex pairs, and indices on the 5-minute to 1-hour timeframes :
3 consecutive candles strikes the balance between sensitivity and reliability
Volume multiplier at 1.0× captures most institutional moves without over-filtering
Zone cooldown at 10 bars prevents cluster creation in volatile periods
Max 4 touches before weak aligns with institutional order absorption theory
EMA confluence enabled for trend-aligned zone scoring
For other instruments or timeframes, adjust:
Higher timeframes (4H, Daily) — Increase Origin Lookback to 8–10, increase Zone Height to 2.0+ ATR
Scalping (1m, 5m) — Reduce Consecutive Candles to 2, reduce Cooldown to 5–7 bars
Crypto — Increase Zone Height to 2.0–3.0 ATR (higher volatility), increase Volume Multiplier to 1.5×
Forex majors — Use defaults, optionally reduce Volume Multiplier to 0.8× for pairs with lower tick volume
Cleaner zones — Increase Consecutive Candles to 4–5, increase Volume Multiplier to 1.5×
More zones — Decrease Consecutive Candles to 2, decrease Volume Multiplier to 0.7×, increase Max Zones
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🏛 Institutional/Smart Money Traders — Designed to identify where large orders originated and where unfilled orders may remain
📐 Supply & Demand Traders — Automated zone detection with strength scoring replaces manual drawing
🥇 Gold & Forex Traders — Tuned for assets with clear institutional participation patterns
🧠 Systematic Traders — The 6-factor scoring system provides a quantitative framework for zone quality assessment
📊 Breakout Traders — Flip zone detection automatically identifies broken levels as new opportunity zones
📈 Traders who value clean charts — No clutter. Zones auto-degrade and auto-remove. Only relevant levels remain.
⚠ Traders who struggle with zone selection — The tier system physically tells you which zones are worth trading and which to ignore
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All zone detections are confirmed on bar close — zones do not repaint or move after creation
Zone break confirmation uses candle close by default (not wicks) to prevent fake-outs — this can be toggled off for aggressive trading
Flip zones inherit a reduced departure velocity (70% of original) to account for diminished institutional interest at reversed levels
Volume delta uses candle direction (close vs open) as a proxy for buy/sell pressure — this is an approximation, not true order flow
Dashboard updates on the last bar only for performance optimization
Maximum 500 boxes, 500 labels, and 500 lines are used — on very low timeframes with extended history, oldest drawings may be automatically removed by PulseWire's rendering limits
Overlapping zone prevention runs at creation time — if a new zone would overlap an existing one of the same type, it is not created
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals and zone detections are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Supply and demand zones represent areas of historical interest, not guaranteed future reaction points. Past zone behavior does not guarantee future price reactions. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who demand clarity, confidence, and precision from their charts. Indicator

Multi-Factor Regime Scoring & Alerts [HYPR-run]DESCRIPTION:
Composite regime scoring system that fuses eight independent market dimensions into a single normalized Regime Factor (-1 to +1). The sweet spot is the +/-0.2 zone: when the Regime Factor crosses through this zone (dim white circles on chart), the regime just shifted from one side to the other through neutral. That crossover, with the HMA-smoothed Regime Curve sloping in the same direction, is the highest-conviction entry the composite produces. The alerts are built around this: Regime Pivot fires at +/-0.25 with volatility band confirmation.
DISCOVERING EDGE
Pursuing a mechanical edge in entry/exit timing, confirmation and conviction sizing led us to developing an oscillating expression of most of the key criteria we use in building automated strategies. We discovered there is a sweet-spot for higher conviction trades in the +/-0.2 - .+/-0.3 zone. For example if a SFP presents, waiting for the REGIME Factor to enter the zone has a higher probability of trending than if taken earlier. In addition, for earlier reversion trades, XO/XU the outer most levels of +/-0.6 are excellent early entries when following a disciplined sizing methodology.
EIGHT SCORING DIMENSIONS
1. Macro Pivot (+/-10): ROC regime exhaustion into inflection
2. ROC Filter (+/-9): layered rate of change momentum states
3. ADXVMA (+/-9): adaptive trend direction with regime gradient
4. OBVIX (+/-5): on-balance volume, volatility, and trend composite
5. Convergence (+/-7): multi-timeframe alignment across 7 timeframes
6. Mean Reversion (+/-10): blow-off detection and spike revert signals
7. Levels (+/-8): positioning relative to 50d, 200d, 10w moving averages
8. Mechanical Hold (+/-5): price action hold signals with squeeze detection
Macro pivot and mean reversion (+/-10 each) are the heaviest. When both fire in the same direction, they swing the composite by nearly a third of its total range.
HOW TO USE
Add to chart, adjust ADXVMA and Turtle periods to match your setup. Read the Regime Factor, not the price. Above +0.6 = strong bullish; XO/XU these levels for early starter positions. Below -0.6 = strong bearish. The +/-0.2 zone is the sweet spot: crossovers here (dim white circles) mark high-probability entries or confirmation to other set-ups like an SFP. The Regime Curve shows the trend of the regime itself; when the curve slopes against the score, the regime is decelerating.
When the composite is ambiguous (between 0.2 and 0.6), the dashboard tells you why. Macro pivot green but ROC filter yellow = inflection detected, momentum hasn't confirmed. Convergence bright green but ADXVMA yellow = multi-TF aligned but local MA still flat.
CROSS-DIMENSIONAL READS
The power is reading 2-3 dashboard rows together:
- Macro pivot firing while ROC filter still green = earliest warning of trend exhaustion
- "Macro Lc confirmed" + convergence at +5 or higher = highest-conviction reversal entry
- ADXVMA "Early Bull" + convergence at +5 = trend birth signal
- Convergence at +7 = strongest trend confirmation AND trigger for mean reversion detection. Maximum agreement = maximum overextension risk
- "Blow-Off" + "Hodl S" = hold confirmed but reversion loading against you; tighten
- "Legit Squeeze" + "Chopperoni" + convergence +/-5 = compressed energy, directional break coming
- Regime Factor +0.7 but Curve flattening = regime decelerating; leading signal of rollover
ALERTS
Regime Pivot fires when the Regime Factor crosses +/-0.25 with volatility band confirmation; solid arrows on chart. Built around the sweet spot: fires at the regime shift, not after the move has run. Spike Revert fires on mean reversion after blow-off; counter-trend edge from extreme overextension. Toggle each independently. For notifications without webhooks: condition = this indicator, "Any alert() function call", select push/email/popup. For webhook execution: paste endpoint URL, set Open-ended, create.
REGIME FACTOR THRESHOLD ZONES
+0.6 to +1.0 strong bullish (solid green hline)
+0.2 to +0.6 moderate bullish (dotted line)
-0.2 to +0.2 sweet spot entries (dim white circles); XO/XU here
-0.6 to -0.2 moderate bearish (dotted line)
-1.0 to -0.6 strong bearish (solid red hline)
DASHBOARD (9 rows)
1. MACRO PIVOT - Green: Pivoting ↑, Lc ↗ (confirmed), L In Play ↗. Red: inverse. Black: neutral.
2. ROC FILTER - Bright Green: Momentum ↑. Green: Trending ↗ / Rolling Over ↓. Yellow: Continuation / Stage 1 / Reversion. Orange: Exhaustion. White: Sideways. Red/Bright Red: inverse.
3. ADXVMA - Green: D Trend ↗, Trending ↗, Early Bull. Yellow: Pivoting, Consolidation, Chopperoni. Red: inverse.
4. OBVIX - Green: positive. Red: negative. Black: flat.
5. CONVERGENCE - Bright Green: All Lined Up ↑ (7/7). Gradient green: +5 to +6. Dim: +3 to +4. Black: near 0. Red gradient: inverse.
6. MEAN REVERSION - Yellow: Blow-Off, High Potential, Possible. Green: Spike Revert ↑ / MR In Play ↗. Red: inverse.
7. LEVELS - Green: Bouncing key MAs, XO events. Red: Rejecting, XU events. MA combo: above/below 50d, 100d, 200d + 10w anchor.
8. MECHANICAL HOLD - Squeeze gradient: Legit Squeeze / Squeezing. Green: Hodl L. Red: Hodl S. Black: Get Ready / Neutral.
9. REGIME FACTOR - Composite score with gradient color and numeric display.
CREDITS
ADXVMA: Linnsoft
ADX: J. Welles Wilder (1978)
VIDYA: Tushar S. Chande, TASC March 1992
Advance/Decline gradient: LucF
Turtle breakout concept: Richard Donchian Indicator

Adaptive Volatility Bands [AVB]Adaptive Volatility Bands (AVB) is a volatility-aware trend-following overlay indicator built on the Kaufman Adaptive Moving Average (KAMA) and dynamically adjusted Bollinger-style bands.
**Mathematical Foundation:**
The core of AVB is the Kaufman Efficiency Ratio (ER), which measures the ratio of directional price movement to total price movement over a lookback period. An ER near 1.0 indicates a strong trend with minimal noise; an ER near 0.0 indicates choppy, range-bound conditions. The KAMA uses this ratio to automatically adjust its smoothing constant — responding quickly during trends and slowly during consolidation.
The bands around the KAMA are not static standard deviations. Instead, they use an adaptive standard deviation that widens when the Efficiency Ratio is low (noisy markets) and tightens when ER is high (trending markets). This creates bands that contract during consolidation (squeeze) and expand during breakouts.
**Signal Logic:**
Buy signals are generated when price touches the lower band with RSI in oversold territory during an uptrend, or when a squeeze releases with price above the KAMA. Sell signals fire at the upper band with RSI overbought during a downtrend, or at squeeze release below KAMA. Volume confirmation is applied to filter low-conviction signals.
**Features:**
- Kaufman Adaptive Moving Average with adjustable fast/slow smoothing periods
- Adaptive volatility bands that respond to market efficiency
- Volatility squeeze detection with bar coloring
- RSI and volume filters for signal confirmation
- ATR-based stop-loss and take-profit levels
- Real-time dashboard showing efficiency ratio, RSI, volatility regime, and trend direction
- Fully customizable colors and parameters
**Use Cases:**
Suitable for forex, crypto, commodities, and equities across all timeframes. Works well on 15-minute to daily charts.
Indicator
