Helix Lucky MTF Bias and Breakout DashboardHelix Lucky MTF Trend and Breakout Dashboard
📊 Overview
Helix Lucky MTF Trend and Breakout Dashboard is an overlay indicator designed to organize trend, momentum, breakout context, key levels, and multi-timeframe alignment into one chart-based dashboard.
The purpose of the script is not to combine unrelated indicators into a single display. The script separates market analysis into distinct layers so each component has a specific role:
1. Trend structure
2. Momentum confirmation
3. Breakout context
4. Multi-timeframe alignment
5. Key level awareness
6. Setup scoring
7. Optional visual confirmation tools
The result is a confluence-based workflow that helps traders review whether multiple independent conditions are aligned before making a trading decision.
🧩 How the Main Components Work Together
The script uses moving averages, VWAP, MACD, ZLSMA, UT Bot logic, Supertrend, ADX, RSI, and Opening Range Breakout logic as separate inputs within the same framework.
The moving average group provides basic trend structure by comparing shorter-term and longer-term averages. The default structure uses a fast EMA, medium EMA, and long SMA, but users can configure the moving average types and lengths.
VWAP provides session or higher-period price-location context. It can be anchored to the session, day, week, month, quarter, or year and may be displayed with standard deviation or percentage-based bands.
MACD is used as a momentum confirmation layer. The script includes a minimum separation filter so very small MACD differences can be filtered out instead of being treated the same as stronger momentum shifts.
ZLSMA is optional and can be used as an additional trend-direction filter.
The UT Bot component is used as the primary chart label engine. It uses an ATR-based adaptive trailing stop. The script adjusts the trailing distance using volatility, momentum, and volume conditions, then produces Buy or Sell labels when price crosses the trailing stop and the configured filters allow the signal.
Supertrend provides a separate trend-regime layer. This gives the user a second way to compare the UT Bot label against a broader trend condition.
ADX is used to evaluate whether trend strength is above the user-selected threshold. RSI can be used either in a classic 30/70 bias mode or with custom pullback zones.
The Opening Range Breakout component tracks whether price is above, below, or inside the selected opening range window. This helps separate trend-following conditions from range-bound conditions.
🧠 Why This Is More Than a Simple Mashup
Each component is assigned a different purpose. The script is designed so the same tools are not all treated as equal standalone signals.
Trend tools identify direction.
Momentum tools evaluate confirmation.
Volume and relative volume help evaluate participation.
Opening Range Breakout logic identifies range expansion.
The Bias Table compares selected conditions across multiple timeframes.
The Price Point Dashboard displays important reference levels and live context.
The scoring layer organizes these conditions into a rule-based summary.
This structure allows the script to reduce chart clutter while still showing how the underlying conditions agree or disagree.
🕒 Multi-Timeframe Bias Table
The Multi-Timeframe Bias Table displays up to eight selectable timeframes, including 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour, 2 hours, 4 hours, and Daily.
Each row evaluates one condition, such as moving average structure, price relative to VWAP, MACD alignment, Supertrend direction, ZLSMA slope, RSI condition, ADX threshold, Opening Range Breakout status, and longer-period bias.
The table also includes an average agreement reading. This reading is not a prediction and does not represent a win rate. It simply shows how many selected conditions are aligned across the active timeframes.
By default, the script can hide timeframes below the current chart timeframe. This is intended to reduce lower-timeframe noise when viewing higher-timeframe charts.
📍 Price Point Dashboard
The Price Point Dashboard displays reference levels and market context in one location. These can include prior day high, prior day low, prior day close, pivot levels, moving averages, 52-week high, Fibonacci reference levels, VWAP information, Opening Range Breakout status, ATR, gap percentage, relative volume, and other selected dashboard fields.
The dashboard is intended to help users see where price is trading relative to important reference levels without manually adding each level to the chart.
📈 Trend Strength Score
The Trend Strength Score is a rule-based 0 to 100 score that measures how strongly the current bar aligns with selected bullish trend conditions.
The score uses five weighted components:
- EMA alignment
- VWAP location
- MACD alignment
- Supertrend direction
- ADX strength
The score is a summary of internal conditions only. It does not predict future price movement.
🎯 Trade Probability Score
The Trade Probability Score is a rule-based 0 to 100 setup-quality score. It is calculated from twelve weighted factors:
- Multi-timeframe alignment
- EMA stack
- VWAP location
- Price relative to the 200-period moving average
- MACD alignment
- Supertrend direction
- ADX strength
- Relative volume
- Opening Range Breakout status
- Relative strength versus a selected benchmark
- Volatility state
- Position relative to key levels
The score is intended to summarize confluence. A higher score means more of the script’s internal conditions are aligned. It does not mean that a trade will be profitable, and it should not be interpreted as a guaranteed probability of success.
💧 Liquidity Sweep Detection
The script can detect liquidity sweep conditions by checking whether price moves beyond a recent swing high or swing low and then closes back inside that level.
A Sweep High label indicates that price moved above a recent high and then closed back below that level.
A Sweep Low label indicates that price moved below a recent low and then closed back above that level.
These labels are intended to identify possible rejection behavior around recent swing points. They should be used as context, not as standalone trade signals.
⚖️ Relative Strength
The script includes relative strength comparison against configurable benchmark symbols. The default benchmarks are QQQ and SPY.
Relative strength is calculated by comparing the current symbol’s intraday return against the benchmark’s intraday return. A positive value means the current symbol is outperforming the benchmark over that comparison period. A negative value means it is underperforming.
🌡️ Volatility State
The Volatility State feature classifies the current volatility environment as Squeeze, Normal, or Expansion.
This is based on Bollinger Band width compared with Keltner Channel width and recent volatility behavior.
Squeeze indicates compressed volatility.
Normal indicates a standard volatility environment.
Expansion indicates that volatility has increased relative to recent conditions.
This feature is included to help users understand whether price is consolidating, behaving normally, or expanding in volatility.
🕯️ Candlestick Pattern Labels
The script includes optional candlestick pattern labels. These patterns are detected on the same timeframe as the chart. They are not calculated from a separate hidden timeframe.
Optional labels include:
- Bullish Engulfing
- Bearish Engulfing
- Hammer
- Shooting Star
- Morning Star
- Evening Star
- Inside Bar
- Tweezer Top
- Tweezer Bottom
- Doji
- Dragonfly Doji
- Gravestone Doji
- Sweep High
- Sweep Low
These labels are intended as additional context. They should not be treated as standalone entries without reviewing trend, momentum, volatility, and key-level context.
🛑 Suggested Stop Loss and Take Profit Reference Lines
The script can plot suggested stop loss and take profit reference lines after a UT Bot label appears.
The stop line is calculated from internal structure such as the UT Bot stop, Supertrend, VWAP, moving average, Donchian floor, and a minimum ATR-based risk floor depending on settings and context.
Take profit reference lines are based on R-multiple distances from the suggested stop. These are visual planning tools only. They do not place trades, manage positions, or execute orders.
🧭 How to Use the Script
A typical workflow is:
1. Select the chart timeframe and market being reviewed.
2. Review the Multi-Timeframe Bias Table to understand directional alignment.
3. Check whether the chart is trending, ranging, breaking out, or consolidating.
4. Review the Price Point Dashboard for key levels and market context.
5. Watch for a UT Bot Buy or Sell label if labels are enabled.
6. Compare the label direction with Supertrend, MACD, VWAP, ADX, and the Bias Table.
7. Review the Trend Strength Score and Trade Probability Score as confluence summaries.
8. Use the suggested stop and take profit reference lines only as visual planning tools.
9. Apply independent risk management and confirm the setup with your own analysis.
🌍 Timeframes and Markets
The script can be applied to different chart timeframes and TradingView-supported markets. Lower timeframes may produce more signals and more noise. Higher timeframes may produce fewer signals but can provide broader context.
The Multi-Timeframe Bias Table is intended to help users avoid looking at a single timeframe in isolation.
⚠️ Important Limitations
This script is an indicator, not a strategy. It does not place trades, backtest trades, manage orders, or connect to a brokerage account.
The scoring systems are rule-based summaries of current chart conditions. They are not win-rate models, machine-learning predictions, or guarantees of future results.
Signals, labels, and dashboard values can vary by symbol, timeframe, liquidity, volatility, and user settings.
The Bias Table is a live context dashboard and may update while the current bar is forming. This is expected behavior because some values are based on developing bar data.
The “Draw visuals only on bar close” setting gates the UT Bot entry visuals and suggested stop/take-profit drawings to confirmed bars. It does not freeze every live dashboard value while a bar is developing.
Liquidity Sweep labels can be gated to bar close using the Bar Close Only setting.
The script is designed for standard chart analysis. Signals on non-standard chart types may behave differently because those chart types can use synthetic price construction.
No signal, score, table reading, or label should be used as a guarantee of future price movement. Users should apply their own analysis and risk management.
🧾 Credits and Inspiration
This script was inspired by the concept of combining a multi-timeframe bias table, trend labels, and a price-level dashboard into one overlay.
The current script is a ground-up Pine Script v6 implementation with additional architecture, including the rule-based Trade Probability Score, Trend Strength Score, liquidity sweep detection, relative strength comparison, volatility state classification, configurable dashboards, candlestick pattern labels, and suggested risk-reference lines.
The script also uses common technical analysis concepts such as moving averages, VWAP, MACD, RSI, ADX, ATR, Supertrend-style trend logic, and Opening Range Breakout logic. These common concepts are organized into a single decision-support framework rather than presented as separate standalone indicators. 指标

Fibonacci Retracement Channel [FEELS]Stop dragging fib tools around your chart. Fib Channel plots a complete, classic Fibonacci retracement on every major swing, anchored wick to wick, right where you would draw it by hand. It shades the golden pocket, projects extension targets and links the whole history into one flowing channel.
You always know which level the market is trading against right now, and where price goes if that level holds. Instead of a single fib on the latest swing, or a pile of overlapping grids, you read the entire trend as a chain of retracements: where price respected the 0.618, where the golden pocket launched the next leg, and where a retracement failed and the trend flipped.
HOW IT WORKS
- A swing engine based on confirmed pivots finds every move larger than "Min swing size". The threshold is set in ATR, so it adapts to any symbol and timeframe.
- "Merge minor pullbacks" ignores counter-moves smaller than the threshold, so each fib measures the full impulse, not its last leg.
- Every qualifying swing gets the full grid: 0, 0.236, 0.382, 0.5, 0.618, 0.786, 1. The ratio is printed at every level.
- Thin curves connect the grids into a channel, so the history stays readable.
- The golden pocket (0.618-0.786) is shaded on every fib.
- Extension targets -0.272 and -0.618 are projected beyond the extreme of the latest fib.
- Log-scale mode for macro swings, where linear and log fibs diverge a lot.
- Optional reaction dots mark bars that touched a level and closed back on the right side of it.
- Optional "Fade broken fibs": when price closes beyond the 1.0 level, the fib turns grey, stops extending and drops its targets.
HOW TO TRADE IT
1. Golden pocket pullback. In a trend, wait for price to enter the shaded 0.618-0.786 zone of the latest fib and get rejected. The "Golden pocket touch" alert does the waiting for you.
2. Extension targets. Once the retracement holds and price reclaims 0.236, the dashed -0.272 and -0.618 lines are the take-profit map for the next leg.
3. Broken fib. A close beyond 1.0 means the whole move was retraced. That is an early warning the trend may be flipping ("Full retracement break" alert).
REPAINTING
- A fib prints after its pivot confirms, i.e. "Swing length" bars after the extreme. It cannot appear earlier, there is no lookahead.
- While a swing keeps making new extremes, the latest fib follows them, the same way you re-drag a manual fib. Once the next swing confirms, the fib is fixed and never changes again.
- If you want zero intrabar movement, turn on "Bar-close mode" and the live chart will match bar replay exactly.
ALERTS
Ten total: touches of 0.236, 0.382, 0.5, 0.618, 0.786, golden pocket entry, both extension targets, full retracement break, new swing fib.
SETTINGS
Every input has a tooltip. The main ones: "Swing length" and "Min swing size" control how major the swings must be, "Fib history" sets how many fibs stay on the chart. Line widths, number sizes and all colors are adjustable.
ORIGINALITY
Unlike single-fib auto tools, this script renders the complete history of swing retracements as one connected channel, with impulse-merging swing logic, extension targets, reaction dots and an explicit invalidation state. The swing engine and the chained rendering are written from scratch. 指标

ApexSignalPro SMC [ForexCracked]🔵 OVERVIEW
ApexSignalPro SMC is a confluence-scored Smart Money Concepts indicator that fires a signal only when multiple institutional footprints align on the same bar. Every signal carries a live score from 0 to 5 showing how many structural conditions agree — market structure, order blocks, fair value gaps, premium/discount location, and higher-timeframe bias.
Instead of the "every crossover is a signal" approach, it uses a strict confluence gate, a range-regime filter, and forced signal alternation — far fewer signals, much higher conviction. A live dashboard shows the score, active zones, and the last trade plan at a glance.
🔵 WHY THESE COMPONENTS ARE COMBINED
A break of structure alone, an order-block touch alone, or a single fair value gap all fire often and fail often. They become far more reliable when they occur together and agree with the higher-timeframe trend. Rather than overlaying five separate tools and leaving you to judge them, this script quantifies their agreement into one 0–5 score and only trades when enough align. Three principles guide it:
• Direction comes from market structure (BOS / CHoCH), not from price crossing smoothed averages
• Entries require confluence, never a single condition
• Signals alternate (BUY → SELL → BUY), never stacking the same direction in one leg
🔵 THE FIVE SCORED FACTORS (1 point each)
1️⃣ Market structure (BOS / CHoCH) points in the signal direction
2️⃣ Price is inside an unmitigated order block
3️⃣ Price is inside an unmitigated fair value gap
4️⃣ Correct half of the range — discount for longs, premium for shorts
5️⃣ Higher-timeframe EMA bias agrees
🔵 HOW A SIGNAL FIRES A BUY or SELL prints only when ALL of these are true:
• The confluence score meets your minimum (default 3 of 5)
• A strong-bodied candle closes in that direction
• The ADX regime filter confirms trending, not ranging
• The signal is opposite the previous one (forced alternation) Each signal draws Entry, Stop (beyond the nearest order block + ATR buffer), and Take Profit (configurable R:R), with pip labels.
🔵 HOW IT READS THE MARKET
• Market structure — confirmed swing pivots; a close beyond the last pivot is a BOS, the first break against structure is a CHoCH that flips the state
• Order blocks — the last opposing candle before an impulsive displacement (body > 1.2× ATR); tracked until mitigated or aged out
• Fair value gaps — three-candle imbalances filtered by a minimum ATR size; removed when filled
• Premium / discount — the swing-range midpoint splits discount (below) from premium (above) • Regime — ADX must exceed your minimum, suppressing signals in flat ranges
🔵 HOW TO USE
• Favour score 4–5 signals; treat score 3 with extra confirmation
• Require the dashboard HTF bias to match the signal for trend-aligned entries
• Use retests of unmitigated OBs or FVGs in the trend direction as continuation entries
• Size each trade off the drawn stop distance at a fixed account risk
• Raise Min Confluences to 4 for fewer, stronger signals
🔵 RECOMMENDED SETTINGS
• Swing Length: 5
• Higher Timeframe: 240 (H4) on H1 charts, D on H4 charts
• HTF EMA: 50 · OB Max Age: 20 · FVG Min Size: 0.3× ATR
• ADX Min: 22 · Min Confluences: 3 · SL Buffer: 0.5× ATR · R:R: 2.0
🔵 BEST / WEAKEST CONDITIONS ✅ Trending majors, gold, and indices on H1–H4; London / New York overlap ⚠️ Low-volatility ranges, gapped markets, and sub-5-minute noise
⚠️ DISCLAIMER ApexSignalPro SMC structures signals from Smart Money Concepts. It does not predict future price movement. Results depend on market conditions, settings, and your own execution and risk management. Shared for educational and research purposes; not financial advice. 指标

ICT Setup DetectorICT SETUP DETECTOR (ICT-SD)
A mechanical, bias-gated ICT setup scanner for NQ and ES futures intraday
(built and tuned on the 1-minute chart). It marks liquidity, draws the key
daily/session levels, grades directional bias across three timeframes, and
arms four ICT trade setups with fixed targets, stops, and alerts.
This is an INDICATOR, not a strategy — it places no orders. It draws on the
chart and fires alert() messages so you can act (or forward them to a bot).
------------------------------------------------------------
WHAT IT DRAWS
------------------------------------------------------------
LEVELS
- PDH / PDL — previous day high & low
- Overnight H / L — 18:00 to 09:30 ET range
- Midnight Open (00:00 ET) and RTH Open (09:30 ET)
- ORG — Opening Range Gap zone (prior RTH close to today's RTH open)
- Prior Week H / L
BIAS ENGINE (top-right table)
- Reads three timeframes (default 4H / 1H / 15m) plus the ORG gap state
- Modes: Structure (pivot HH/HL), Momentum (EMA 20 vs 50 + close), or Hybrid
- Produces a gate: "Longs OK", "Shorts OK", or "NO TRADE"
- When the gate is on, setups only arm in the permitted direction
KILLZONES (shaded)
- London 03:00-04:00, NY AM 10:00-11:00, NY PM 14:00-15:00 (NY time, DST-aware)
LIQUIDITY SWEEPS
- BSL/SSL grabs of PDH/PDL/ON H/L (breach within N bars + close back through)
- Red "BSL" / green "SSL" triangles
TRADE SETUPS (each has arm -> entry -> exit with TP / SL / time-stop)
- Silver Bullet — sweep, then FVG + displacement inside a killzone
- OTE — 62-79% fib retrace of a swept leg
- OB+FVG — order-block 50% mitigation behind a displacement FVG
- Sweep Reversal (SR) — simple sweep-and-fade scalp (yellow SR-L / SR-S)
15-MINUTE FVG IDENTIFIER
- 3-bar Fair Value Gaps from the 15m timeframe, drawn on your chart
- Non-repainting (only confirmed/closed 15m candles create a box)
- Teal = bullish gap, red = bearish gap, with a dashed CE (mid) line
- Boxes extend right until price fully fills the gap, then freeze/grey
------------------------------------------------------------
HOW TO USE
------------------------------------------------------------
1. Add to an NQ or ES chart on the 1-minute timeframe (point sizing is
auto-detected from the ticker; other symbols fall back to NQ values).
2. Check the bias table (top-right) for the current gate state before acting.
3. Wait for a setup flag/label to arm in the gate-allowed direction. Each
setup shows its FVG/zone box, dashed entry (CE), dotted stop, dotted TP.
4. Targets default to +20 pts (NQ) / +15 pts (ES). Setups auto-skip when the
required stop is wider than the configured max.
5. To get notified: create an alert on this indicator and choose the
"Any alert() function call" condition. Enable the alert types you want
in the Alerts group (armed / entry / exit / bias-flip / new 15m FVG).
------------------------------------------------------------
KEY SETTINGS
------------------------------------------------------------
- Bias gate on/off, and Bias mode (Structure / Momentum / Hybrid)
- Enable/disable each setup individually
- Displacement filter: x ATR(20) and optional volume-spike requirement
- Sweep breach window (how many bars a wick may lead the close-back)
- Targets and "skip if stop >" caps (per NQ / ES)
- Killzone session times, colors, and visualization toggles
- 15m FVG: timeframe, min gap size, CE line, extend-until-mitigated,
remove-vs-grey on fill, max active gaps, and per-direction colors
TUNING
- Too few signals: set Bias mode to Momentum, turn the bias gate off, or
lower the displacement volume multiplier toward 1.0
- Too many signals: raise Displacement x ATR to ~2.0, raise the volume
multiplier to 1.5-2.0, or raise the minimum FVG size
------------------------------------------------------------
NOTES
------------------------------------------------------------
- Designed for NQ/ES on the 1m chart; other symbols/timeframes are untested.
- Live intrabar markers (especially Sweep Reversal) can update until the bar
closes; all alerts fire on bar close, so alerts are stable.
- Educational tool. Not financial advice. Test before trading live.
```
Want me to:
- **Trim it to a short version** (a few lines) for the tooltip/one-liner, or
- **Save it to a file** in the repo (e.g. `pine/ICT-SD-description.txt`) alongside the source? 指标

Key Daily Levels by Flip On DipKey Daily Levels marks the reference points most intraday traders watch: the previous day high and low, and the high and low of a session you choose.
Sessions cover New York, London, Tokyo and Sydney, plus a custom option for any other window. Each preset uses the session's local exchange hours and adjusts for daylight saving on its own, so the times stay correct through the year instead of drifting an hour twice a year.
When a session extreme sits at the same price as the previous day high or low, the two are combined into one line instead of being drawn twice. The label then reads something like PDH (NY High), so both are kept without doubling up on the chart.
Each level is drawn from the bar where it formed and runs until price takes it out. The line stops on the exact bar that crossed it. The wick counts, so it doesn't wait for a close. A level still holding is shown solid; once it gets taken it turns dashed and fades, and a small check is dropped on the bar that swept it. A small table in the corner lists each level and whether it has been swept.
Cross detection accounts for gaps, and the trading day is read from each symbol's own calendar rather than a fixed clock, so levels stay accurate on crypto, futures and stocks, on continuous charts and gapped ones alike.
Colors, line styles and width, label options, the sweep marker and the table are all configurable.
Open source, free to study or extend. 指标

指标

指标

VWAP Confluence Engine | AnonycryptousVWAP Confluence Engine | Anonycryptous
Description & user manual
Why this indicator is different
Most traders run VWAP and RSI as two separate tools. VWAP tells you where price is relative to the volume-weighted average. RSI tells you about momentum. The problem is that these two readings constantly disagree, and when they do, the trader is left guessing which one to trust. Price sits above VWAP while RSI turns down. RSI pushes above its midline while price is still below VWAP. Every one of those moments is a decision made under conflicting information, and that is exactly where most intraday accounts bleed.
The VWAP Confluence Engine removes the guessing. Instead of showing you two panels that argue with each other, it forces agreement before it shows a directional state. Three independent measurements have to point the same way: price relative to VWAP, a volume-weighted RSI, and the Money Flow Index. When all three align bullish, the candle is painted in the bull color. When all three align bearish, it is painted in the bear color. When they disagree, the candle is neutral, and that neutral state is the most important output in the whole system. It is the market telling you it has not decided, and that you should not decide either.
This turns a chart full of conflicting signals into a single color-coded read. One glance tells you direction, momentum, and participation at the same time.
But direction alone is only half of a trade. A signal in the wrong location is a trap, no matter how clean the momentum looks. So the engine also maps support and resistance zones from swing pivots, flips those zones as price reclaims or loses them, and tells you in a dashboard where the nearest level sits above and below. A bull agreement firing directly into a heavy resistance zone is a very different proposition from the same agreement firing off a reclaimed support. The indicator gives you both pieces in one view.
And because a single timeframe is never the whole story, a compact multi-timeframe bar shows the same agreement logic across six timeframes at once. When every timeframe is the same color, the decision is easy. When they are mixed, that is information too.
Important notice
The VWAP Confluence Engine generates visual states based on VWAP position, volume-weighted momentum, money flow, and price structure. These states are not financial advice. They do not predict future price movement. They do not guarantee profitability. All trading decisions are made entirely by the user. Always manage your own risk. Always apply your own judgment.
1. Overview
The VWAP Confluence Engine is an overlay indicator that combines VWAP, a volume-weighted RSI, and the Money Flow Index into a single three-way agreement system, then places that agreement in the context of support and resistance structure and higher timeframe trend.
What it includes:
- Anchored VWAP with selectable reset period (hour, 4 hours, day, week, month)
- Volume-weighted RSI that scales price change by relative volume
- Money Flow Index as an independent confirmation layer
- Three-way agreement candle coloring: bull, bear, and neutral
- Gradient fill between VWAP and price that intensifies with distance
- Support and resistance zones from four independent pivot lengths, with zone flip logic
- Divergence detection with a box drawn on the price chart
- Higher timeframe filter that can gate signals to trade only with the larger trend
- Sentiment transition markers on the exact bar agreement changes
- Two configurable EMAs for optional extra confirmation, independent of the signal engine
- Main dashboard with agreement state, VWAP position, VW RSI, MFI, divergence, nearest levels, and a dedicated higher timeframe section
- Compact multi-timeframe bar across six configurable timeframes
- Optional background coloring
- Alerts for agreement changes and divergence
2. Core logic
2.1 The three-way agreement
Everything in this indicator is built around one question: do all three measurements agree?
The three measurements are:
- VWAP position. Is price above or below the anchored VWAP.
- Volume-weighted RSI. Is momentum above or below its midline.
- Money Flow Index. Is money flow above or below its midline.
A bull state requires price above VWAP, VW RSI above the midline, and MFI above the midline at the same time. A bear state requires all three below. Anything else is neutral.
This is deliberately strict. The indicator does not paint a color unless all three independent readings confirm each other. That is why the neutral state matters so much. It is not a weakness in the signal, it is the signal. It marks the stretches where price is chopping, where momentum and money flow disagree, and where forcing a trade usually ends badly.
2.2 Volume-weighted RSI
Standard RSI treats every bar equally. A move on thin volume and a move on heavy volume produce the same RSI value if the price change is the same. The volume-weighted RSI multiplies each bar's price change by its relative volume, the ratio of that bar's volume to a smoothed average, before the smoothing step. Moves on strong participation push the oscillator harder. Moves on weak participation barely register. The result reflects who was behind the move, not just that a move occurred.
2.3 Money Flow Index
The MFI is calculated from typical price multiplied by volume, producing positive and negative money flow that is converted to a 0 to 100 index. It responds differently from the VW RSI because it weights price level rather than price change. Requiring both to agree means two independent volume-based calculations have to arrive at the same conclusion, which is a stronger condition than either one alone.
3. VWAP and the fill
The VWAP is anchored to a selectable period. Day is the default and the most useful for intraday scalping, resetting at each session open. Week and month give longer-term institutional reference levels. Hour and 4 hours give shorter references for very fast trading.
The fill between VWAP and price is drawn with a gradient. Near VWAP it is almost invisible. The further price travels from VWAP, the more the fill intensifies, up to a configurable maximum. This gives an immediate visual sense of how stretched price is from its volume-weighted average without adding any clutter when price is hugging the line. The fill color follows the agreement state.
4. Support and resistance zones
The engine detects swing highs and lows using four independent pivot lengths, each of which can be toggled and adjusted. Instead of drawing thin lines, it draws zones with a thickness based on the average true range, so each level is a band rather than a single price.
The zones flip color based on where price is relative to them:
- When price is above a zone, it is drawn in the bull color, acting as support.
- When price is below a zone, it is drawn in the bear color, acting as resistance.
- When price is inside a zone, it is drawn in the neutral color, marking active interaction.
This flip logic reflects a basic principle of price structure: old resistance becomes new support once it is reclaimed, and old support becomes new resistance once it is lost. The zone color always tells you which role the level is currently playing.
The maximum number of zones shown per pivot length is configurable, so the chart stays as clean or as detailed as you want.
5. Divergence
Divergence is detected by comparing pivots in the VW RSI against pivots in price.
Bearish divergence: price makes a higher high while VW RSI makes a lower high. Momentum is weakening as price extends.
Bullish divergence: price makes a lower low while VW RSI makes a higher low. Selling pressure is fading even as price continues down.
Sensitivity controls the pivot lookback window. High uses a 3-bar window for more signals and more noise. Medium uses 5 bars. Low uses a 10-bar window for fewer, higher quality signals.
When a divergence confirms, a box is drawn on the price chart spanning the full high-to-low range of the swing involved, with a small label naming the divergence type. This shows not just that a divergence happened, but exactly where on the chart it occurred. The dashboard also reports the current divergence state.
6. Higher timeframe filter
The higher timeframe filter, when enabled, requires the higher timeframe to agree with the current direction before a candle can be painted bull or bear. On a lower timeframe this prevents counter-trend coloring during a pullback inside a larger trend.
The filter can be turned off entirely. With it off, candle coloring is based only on the current timeframe's three-way agreement. This is a deliberate choice left to the trader: strict alignment with the higher timeframe, or faster response on the current one. The dashboard always shows the higher timeframe bias regardless of whether the filter is gating signals, so the context is available either way.
7. Multi-timeframe bar
The multi-timeframe bar is a compact panel showing the agreement direction across six timeframes at once. Each slot is fully configurable, defaulting to 5m, 15m, 1h, 4h, D, and W. Each shows a colored triangle, up for bull, down for bear, a dot for neutral, with the timeframe label colored to match.
This is the fastest read in the indicator. When every timeframe is the same color, alignment is strong and the decision is simple. When the shorter timeframes are one color and the higher ones another, price is at a transition or in conflict, and the bar shows that at a glance.
8. Sentiment transitions
When the agreement state changes, a small marker is plotted on the exact bar where it happened. A triangle up when the state flips to bull, a triangle down when it flips to bear, a dot when it drops into neutral. These mark the moments the read changed, which is often more actionable than the state simply being green or red for many bars in a row.
9. Dashboard reference
The main dashboard updates on every bar and shows:
Agreement - the current three-way state: bull, bear, or hold.
VWAP - whether price is above or below the anchored VWAP.
VW RSI - current volume-weighted RSI value, colored by position.
MFI - current Money Flow Index value.
Divergence - active divergence state, if any.
Near Support - nearest zone level below current price.
Near Resist - nearest zone level above current price.
VWAP Anchor - the current VWAP reset period.
The higher timeframe section, which can be toggled, adds for the selected higher timeframe: its agreement state, VWAP position, VW RSI, MFI, whether the higher timeframe filter is active, and a warning if the current chart timeframe is below the recommended minimum for the system.
10. How to use
10.1 The core read
Wait for agreement. A bull or bear colored candle means all three measurements confirm each other. A neutral candle means they do not. The single most valuable habit this indicator encourages is to simply stand aside when candles are neutral. Those stretches are where the market has not chosen a direction, and where forcing a trade tends to produce the worst outcomes.
10.2 Location matters as much as direction
A colored candle tells you the direction is confirmed. The support and resistance zones tell you whether the location is any good. A bull agreement firing straight into a heavy resistance zone above is a low quality entry, even though the momentum looks clean. The same bull agreement firing off a zone that has just flipped from resistance to support is a far better proposition. Read the two together, never direction alone.
10.3 Using the higher timeframe
If you want to trade only in the direction of the larger trend, enable the higher timeframe filter. Colored candles will then only appear when the current and higher timeframe agree. If you prefer to react faster and judge context yourself, leave it off and use the higher timeframe section of the dashboard and the multi-timeframe bar as reference rather than as a hard gate.
10.4 Divergence as context
A divergence box is a warning that momentum and price have started to disagree, not an instruction to enter. The most reliable approach is to wait for a divergence box near a support or resistance zone and then look for the agreement state to actually flip before acting. Divergence can persist for many bars before price responds.
10.5 Illustrative bull scenario
Educational example only. Not a trading recommendation.
Price pulls back to a support zone that flipped from resistance a few sessions earlier. The multi-timeframe bar shows the higher timeframes already bullish. A bullish divergence box appears at the zone. On the next bar the agreement state flips to bull, painting the candle and plotting a transition triangle. Direction, location, momentum, and higher timeframe are all pointing the same way at the same place.
10.6 Illustrative bear scenario
Educational example only. Not a trading recommendation.
Price rallies into a resistance zone overhead. VW RSI and MFI are both rolling over. A bearish divergence box is drawn across the swing. The agreement state flips to bear and a transition triangle down prints. The higher timeframe section confirms a bearish bias. The setup has direction, structure, and higher timeframe agreement in one location.
11. Recommended use
This system is built for intraday trading and works best on the higher intraday timeframes rather than the very fastest ones, where noise overwhelms the agreement logic. The dashboard includes a timeframe check that flags when you are below the recommended minimum. Pivot settings for the support and resistance zones can be tuned per instrument and timeframe; smaller pivot lengths surface shorter-term levels, larger ones surface major structure.
12. Settings reference
VWAP: anchor period, line color, line width.
VW RSI: length, volume smoothing, midline, overbought and oversold levels, divergence sensitivity, divergence toggle and hold, divergence box toggle and transparency.
MFI: enable, length, midline.
HTF filter: enable, timeframe, RSI midline.
S/R zones: show toggle, four pivot lengths with individual show toggles, max zones per pivot, zone thickness by ATR, zone transparency.
Visuals: bull, bear, and neutral colors, candle coloring toggle, VWAP fill toggle and transparency, background color toggle and transparency, sentiment transition toggle.
Moving averages: two EMAs, each with show toggle, length, color, transparency, and width. The EMAs are an optional visual aid for extra confirmation only. They are not part of the agreement engine and do not influence candle coloring, signals, or any other calculation.
Dashboards: main dashboard show, position, size, HTF section toggle, HTF section timeframe. Multi-timeframe bar show, position, size, and six configurable timeframe slots.
13. Disclaimer
This indicator is provided for educational and informational purposes only. Nothing in this document or in the indicator output constitutes financial advice or any form of recommendation. Trading financial instruments involves substantial risk of loss. Past performance is not indicative of future results. You may lose all of your invested capital. Anonycryptous accepts no responsibility or liability for any losses incurred as a result of using this indicator. 指标

指标

GC 08-02 ZonesGC 08-02 Zones — Gold Futures Round-Level Map
This indicator automatically maps out horizontal reaction zones around gold's round-number price levels — the "xx8 to xx2" bands that often act as short-term support/resistance on GC and MGC futures.
How it works
The script rounds the current price to the nearest $10 level and plots a series of shaded zones above and below it, each spanning from the round number +2 to −2 (e.g. a zone around $3350 would run from 3352 down to 3348). These bands are drawn symmetrically around price and automatically re-center as price moves, so you always have a consistent map of nearby round-number levels without manually drawing lines.
Features
Adjustable number of zones displayed above/below price (1–50)
Customizable zone fill color, border line color, style (solid/dashed/dotted), and width
Optional price labels on each zone boundary
Adjustable right-side offset and left-extension of lines
Built-in warning label if applied to a symbol other than GC/MGC
Why round numbers matter
Round price levels tend to attract order flow — stops, limit orders, and psychological decision points cluster around them. Having these zones pre-mapped can help with spotting potential reaction areas, planning entries/exits, or simply keeping round-number context visible without cluttering the chart with manual drawings.
Usage notes
This tool is designed specifically for gold futures (GC/MGC) given their $10 round-level structure. It is a visual reference only and does not generate buy/sell signals — always combine with your own strategy, market structure analysis, and risk management. 指标

Change in State of Delivery [CISD] (Zeiierman)█ Overview
Change in State of Delivery (Zeiierman) identifies genuine changes in buying and selling pressure by monitoring consecutive delivery candles and tracking when price closes beyond the opening price of the previous delivery phase.
Rather than relying solely on traditional market structure concepts such as Break of Structure (BoS) or Market Structure Shift (MSS), the indicator focuses on delivery itself, the sequence of aggressive buying or selling that drives price.
When price successfully closes beyond the opening price of the previous delivery leg, a Change in State of Delivery (CISD) is confirmed, highlighting a potential shift in market control.
⚪ True Delivery Engine
The indicator continuously tracks bullish and bearish delivery sequences. A delivery begins whenever consecutive candles close in the same direction.
Once a minimum number of delivery candles has formed, the indicator records:
• The opening price of the first delivery candle.
• The starting bar of the delivery sequence.
• The active delivery level.
Unlike many CISD implementations, this indicator is built around the actual delivery sequence instead of simply using arbitrary candle opens.
⚪ CISD Confirmation
A Change in State of Delivery is confirmed when price closes beyond the opening price of the previous delivery sequence.
Bullish CISD
• Bearish delivery completes.
• Price closes above the opening price of that bearish delivery.
Bearish CISD
• Bullish delivery completes.
• Price closes below the opening price of that bullish delivery.
⚪ Liquidity Sweep Detection
The indicator can optionally display liquidity sweeps around confirmed swing highs and swing lows.
A bearish liquidity sweep occurs when:
• Price trades above a previous swing high.
• Price closes back below the swing high.
A bullish liquidity sweep occurs when:
• Price trades below a previous swing low.
• Price closes back above the swing low.
⚪ Market Structure Shift (MSS)
For additional confirmation, the indicator can display simple Market Structure Shift events.
Bullish MSS
• Price closes above the most recent confirmed swing high.
Bearish MSS
• Price closes below the most recent confirmed swing low.
█ How It Works
⚪ Delivery Detection
The script continuously counts consecutive bullish and bearish candles.
Once the minimum delivery requirement is reached, the opening price of the delivery sequence becomes the active CISD level.
This level represents the point where the current buying or selling pressure originally began.
if bull
bullSeq := bull ? bullSeq + 1 : 1
if bullSeq == 1
bullDeliveryOpen := open
if bear
bearSeq := bear ? bearSeq + 1 : 1
if bearSeq == 1
bearDeliveryOpen := open
⚪ CISD Validation
The delivery level remains active until one of two events occurs:
• Price confirms the CISD by closing beyond the delivery open.
• The setup expires after the maximum user-defined validity period.
Confirmed CISDs remain visible, while expired setups are automatically removed.
⚪ Dynamic Trend State
Each confirmed CISD updates the internal trend state.
This trend can optionally be used to:
• Color candles.
• Visually distinguish bullish and bearish market conditions.
• Generate trend shift alerts.
Repeated confirmations in the same direction are displayed using dashed CISD levels, making ongoing directional control easier to recognize.
█ How to Use
⚪ Identify Delivery Shifts
The primary purpose of the indicator is to detect when one side of the market successfully overcomes the previous delivery phase.
A bullish CISD shows that buyers have reclaimed control after a bearish delivery sequence. A bearish CISD shows that sellers have reclaimed control after a bullish delivery sequence.
Instead of reacting to every structural break, traders can use confirmed CISD levels to focus on cleaner shifts in market pressure.
⚪ Solid vs Dashed CISD Levels
Not all confirmed CISD levels are displayed the same way.
Solid CISD lines represent a new change in delivery, where market control shifts from buyers to sellers or from sellers to buyers. These are often the most significant signals, as they indicate a potential trend reversal or the beginning of a new directional move.
Dashed CISD lines occur when another CISD confirms in the same direction as the current trend. Instead of signaling a reversal, they indicate that the existing trend continues to regain control after a pullback.
In practice:
• Solid CISD → Potential change in directional control.
• Dashed CISD → Trend continuation after a correction or retracement.
This visual distinction helps traders quickly identify whether a CISD represents a fresh shift in market control or simply reinforces the current trend.
█ Settings
Show CISD: Displays active and confirmed CISD levels.
Minimum Delivery Candles: Minimum number of consecutive candles required before a delivery sequence becomes valid.
Maximum CISD Validity: Maximum number of bars a setup can remain active before expiring.
Minimum CISD Duration: Minimum number of bars before a CISD is allowed to confirm.
Show Liquidity Sweeps: Displays bullish and bearish liquidity sweep levels.
Sweep Swing Length: Controls the swing detection used for identifying liquidity sweeps.
Show MSS Dots: Displays Market Structure Shift confirmations.
MSS Length: Controls the pivot length used for structure detection.
Color Candles by CISD Trend: Colors candles using the latest confirmed CISD direction.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
指标

Viprasol Liquidity Trail Matrix with Signal TargetOverview
The Viprasol Liquidity Trail Matrix with Signal Target is a trend-following signal engine that combines a volatility-adaptive trailing "liquidity" band structure with a Cardwell-style RSI regime filter, then turns confirmed pullback-and-continuation events into fully managed trade plans — entry, stop, three scaled targets, break-even logic, and an honest performance read-out. It is built for discretionary traders who want a single tool that answers three questions at once: what is the trend, is momentum backing it, and if a signal fires, exactly where are my entry, stop and targets.
This is an open-source, credited derivative. See the Credits & Originality section at the end — the trailing-matrix and Cardwell-RSI concepts are adapted from prior open-source work under CC BY-NC, with substantial original additions layered on top.
How It Works
Step 1 — Liquidity Trail Matrix (adapted)
A volatility trailing stop (ATR-scaled) defines the active trend and flips only when price closes decisively through it. Around that trailing line the script projects a ladder of "liquidity bands" spaced in ATR units, forming the retest zone price tends to revisit before continuation. In an uptrend the bands sit below price as stacked support; in a downtrend, above price as resistance. Because the spacing is ATR-based, the whole structure widens in volatile conditions and tightens in quiet ones.
Step 2 — Cardwell RSI Regime (adapted)
RSI is classified into a directional regime using Andrew Cardwell's range-rules principle: in a healthy uptrend RSI holds its 40-80 band, in a downtrend it works the 20-60 band. The regime flips bull when RSI thrusts through the upper trigger and bear when it breaks the lower trigger, holding state in between. Signals are only allowed in agreement with the regime, so the momentum context must confirm the trend before anything fires.
Step 3 — Confluence gating (adapted + new)
Before a signal is eligible it must pass a confluence gate: trend agreement, RSI regime agreement, an ADX minimum (chop filter), and an optional higher-timeframe bias pulled non-repainting (previous HTF bar, lookahead off). A minimum confluence score suppresses low-quality setups.
Step 4 — Retest entry + Signal Target (adapted)
When the confluence conditions hold and price pulls back into the band zone then closes back in the trend direction, a signal fires on the confirmed bar. The engine sets a structural stop, then projects TP1/TP2/TP3 as R-multiples of that risk and draws them on the chart with price and percent labels. Break-even logic moves the stop to entry after TP1.
Step 5 — Honest trade management + statistics (new)
Original additions in this release:
- One-trade-at-a-time engine: a trend flip no longer force-closes a trade. A position runs to its stop or final target, and a new entry only opens once the previous one is fully resolved. A reversal toggle restores the old flip-reversal behaviour if preferred.
- Max-bars-in-trade timeout so a lingering position cannot block the engine indefinitely.
- Hide-on-hit targets: each target line and label is removed the instant it is touched, keeping the chart clean.
- Staggered target labels so ENTRY/SL/TP1/TP2/TP3 never overlap.
- Session filter and post-stop cooldown (both optional, off by default).
- Honest performance panel: Avg R and Profit Factor computed on a transparent one-third-scale-out model, plus Max Drawdown in R and best/worst streak — so the win-rate (which counts a trade a win once TP1 is touched) is read alongside true expectancy.
- Suggested position size from an account-size and risk-percent input.
Non-repainting: trend, structure, signals and targets confirm at bar close; higher-timeframe data uses lookahead off on the previous bar.
Key Features
- Volatility-adaptive trailing liquidity-band matrix
- Cardwell RSI regime filter
- ADX chop filter + optional non-repainting HTF bias
- Range-distributed volume profile (POC / Value Area / low-volume nodes)
- Retest-continuation signals with confluence scoring
- Entry / SL / TP1-TP2-TP3 with R-multiple targets, break-even and hide-on-hit visuals
- One-trade-at-a-time management with optional reversal, timeout, session filter and post-stop cooldown
- Honest stats: win rate, Avg R, Profit Factor, Max Drawdown (R), streak, suggested size
- Multi-section dashboard, trend-tint candles, and a full alert suite with optional webhook JSON
How to Use
1. Add to any liquid symbol and timeframe. Confirm the dashboard reads a clear trend and RSI regime.
2. Wait for a LONG/SHORT marker — it only fires on a confirmed retest that passed the confluence gate. The number on the marker is the confluence score.
3. Trade the drawn plan: entry, stop, and TP1/TP2/TP3. The dashboard mirrors the live levels and, once trades close, shows Avg R / Profit Factor / Max DD so you can judge the edge honestly.
4. Tune selectivity with ADX Minimum and Min Score; tune trade behaviour with the reversal, timeout, session and cooldown settings.
Settings
- Trend Engine: ATR length, trail factor, band count and spacing
- Signals: min score, retest window, cooldown, integration mode, reversal toggle, session filter, post-SL cooldown
- RSI Regime: length, bull/bear triggers, confirm bars, integration mode
- Risk Management: SL mode, break-even, max bars in trade, account size, risk %
- Signal Targets: R-multiples for TP1/TP2/TP3
- Volume Profile / HTF / Dashboard / Colors: display and behaviour toggles, all with tooltips
Alerts
Dynamic alerts (ticker, timeframe, price, score, levels, RSI, regime) for: Long entry, Short entry, TP1/TP2/TP3 hit, break-even, stop-out, reversal, trend flips, and regime shift. Entry alerts can emit webhook-ready JSON.
Limitations & Disclaimer
This is an analysis and trade-planning tool, not a promise of profit. The built-in statistics are a session-level model (they reset on chart reload), assume idealised fills with no slippage or commission, and use a one-third-scale-out assumption for Avg R — real results differ. Signals confirm at bar close and do not repaint historically, but the still-forming bar is provisional until it closes. No indicator predicts the future; always combine with your own risk management. Nothing here is financial advice.
Credits & Originality (CC BY-NC 4.0)
This script adapts and builds upon prior open-source work and is published open-source, free, for non-commercial use, with attribution as required by the licence:
- "Liquidity Trail Matrix" by WillyAlgoTrader — the trailing liquidity-band structure concept.
- "Cardwell Range Analyze" by MarkitTick — the Cardwell RSI range-regime concept.
Changes made by Viprasol (this version): combined the two engines into one workflow and added the confluence gate, non-repainting HTF bias, range-distributed volume profile, R-multiple Signal Targets with break-even and hide-on-hit visuals, one-trade-at-a-time management with reversal toggle / max-bars timeout / session filter / post-stop cooldown, the honest statistics panel (Avg R, Profit Factor, Max Drawdown R, streak) and suggested position size, plus the multi-section dashboard and dynamic/webhook alerts.
Licence: Creative Commons Attribution-NonCommercial 4.0 (creativecommons.org). Educational, non-commercial use only. Not financial advice.
指标

[ A L P H A X ] RELAY - Pattern Relay EngineAlphaX RELAY — Pattern Relay Engine: Formation → Armed → Fired Lifecycle System, Pre-Breakout Detection, Completion Scoring, Volume Coil Confirmation & Real-Time Phase Intelligence
AlphaX RELAY is a professional-grade chart pattern anticipation system built around a fundamentally different concept from every other pattern indicator — including its companion AlphaX FORGE. Where FORGE detects patterns after breakout confirmation and fires entry signals on completed formations, RELAY tracks patterns throughout their entire development lifecycle , scoring their completion percentage in real time and alerting you before the breakout occurs. The RELAY framework divides every pattern's life into three sequential phases — FORMING, ARMED, and FIRED — and updates the phase designation on every bar as price evolves within the formation. When a pattern enters the ARMED zone (price approaching the neckline or boundary within ATR tolerance), RELAY alerts you to prepare. When the breakout fires, the full entry framework activates with computed entry, stop, TP1, and TP2 levels alongside a JSON alert. The result is a system that gives you advance warning of high-probability breakouts rather than reactive confirmation — designed for traders who want to be positioned before the crowd, across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔄 The RELAY Philosophy — Anticipation Over Confirmation
Every significant chart pattern begins forming bars or hours before the breakout. A Double Top starts when the second peak forms near the first — at that moment, a skilled technical trader begins watching the neckline. A Head & Shoulders is identifiable from the moment the right shoulder begins forming — before price has reached the neckline. A Bull Flag is established from the moment the pole terminates and consolidation begins.
Most pattern indicators wait until the breakout is confirmed — at which point the pattern is already complete, the first wave of breakout traders has already entered, and the entry price is often significantly beyond the pattern boundary. RELAY inverts this model. By continuously scanning for pattern geometries as they form , scoring their completion, and communicating their phase state in real time, RELAY gives traders the ability to:
Identify patterns well before breakout — watching them develop in real time on the chart
Receive an ARMED alert when price approaches the trigger level — preparing limit orders or monitoring for the candle close
Enter on the FIRED event with a pre-planned trade, not a reactive chase
Track completion percentage continuously — knowing whether a formation is 65% complete or 95% complete changes the urgency of preparation
This anticipatory framework is the core intellectual contribution of RELAY to the AlphaX suite, and it is what distinguishes it from FORGE — two systems covering the same pattern types from opposite temporal perspectives.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔄 The Three-Phase Lifecycle — FORMING → ARMED → FIRED
Every pattern in RELAY exists in exactly one of three states at any moment. The phase is computed on every bar and displayed prominently on both the chart label and the dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Phase 1 — FORMING (Purple)
The pattern geometry has been confirmed — the pivots are in the correct structural relationship and the formation is identifiable. However, price has not yet approached the neckline or boundary level closely enough to be considered imminently actionable.
What FORMING means: The pattern exists and is valid. Completion percentage is typically 60–80% in this phase. The formation box is drawn on the chart in purple. The neckline or boundary is plotted as a solid purple line. The dashboard shows the pattern name, FORMING phase, and the current completion percentage.
How to use FORMING: Plan your trade. Note the neckline level. Calculate where your entry, stop, and targets will be if the pattern fires. Set a price alert at the ARMED zone boundary so you are notified when price begins approaching the trigger level. Do not enter yet.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Phase 2 — ARMED (Orange)
Price has approached the neckline or boundary to within the configurable ATR tolerance (default: 0.35× ATR). The pattern is in its final stage of formation before the breakout. The trigger is imminent.
What ARMED means: Price is close enough to the neckline that the next 1–5 bars will likely determine whether the pattern fires or fails. Completion percentage typically reaches 85–100% in this phase. The formation box and neckline shift to orange. The dashboard phase row turns orange. An ARMED alert fires.
How to use ARMED: This is your active preparation signal. If you are trading with limit orders, now is the time to place a limit order at the neckline level. If you prefer market orders on breakout, watch the chart closely for the closing candle confirmation. Review the confluence score — if it is at or above the minimum, the ARMED setup is worth your full attention.
ARMED alert: Separate alert conditions fire for ARMED Long and ARMED Short, allowing you to set up targeted notifications for the direction you want to trade. The ARMED alert is the pre-breakout awareness signal.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Phase 3 — FIRED (Yellow-Green / Red)
Price has closed beyond the neckline or boundary by more than the configured break margin (default: 0.6× ATR). The pattern has completed and the entry framework activates. Completion is 100%.
What FIRED means: The breakout is confirmed by bar close. The formation box and neckline shift to the directional color — yellow-green for bull patterns, red for bear patterns. Entry, SL, TP1, and TP2 lines are drawn on the chart extending 40 bars forward. All four levels are labeled with exact prices. The TP2 label also shows the computed R:R. A FIRED alert fires with a full JSON payload.
How to use FIRED: Enter on the next bar's open at or near the entry level shown on the chart. Place the stop at the SL level. Scale out 50% (default) at TP1. Let the remainder run to TP2 or trail with a stop.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Formation Completion Scoring — The Pattern Health Metric
The completion percentage is a pattern-specific quantitative score that measures how far along the formation has progressed toward its breakout. Unlike a simple binary detection, the completion score gives you continuous awareness of pattern health.
How completion is computed:
Each pattern type starts with a base completion score that reflects the geometric confirmation of the core structure:
Double Top / Bottom base: 70% — the two-pivot structure is confirmed
Head & Shoulders / Inv H&S base: 65% — the three-pivot structure with neckline is confirmed
Triangles base: 60–75% — converging trendlines with sufficient base height
Flags / Pennants base: 62% — pole plus parallel or converging consolidation confirmed
Wedges base: 58–78% — converging wedge with correct slope relationship
Additional completion points are awarded for:
+15 points — price is on the correct side of the neckline (below the neckline for Double Tops, above for Double Bottoms)
+15–20 points — price is within the ARMED zone (within ATR tolerance of the neckline or boundary)
Maximum possible completion before breakout is 100%. FIRED state also shows 100% on the dashboard.
Minimum formation threshold: Patterns below the configured minimum completion percentage (default: 55%) are not displayed. This prevents very early, nascent patterns with insufficient structural confirmation from cluttering the chart. Raising this threshold (e.g., to 70%) shows only well-developed formations where the pattern geometry is fully confirmed and price is approaching the trigger.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Pattern Detection — Five Formation Types
RELAY continuously scans for five pattern families in real time, computing their phase and completion on every bar.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Double Top / Double Bottom
Two pivot highs at approximately the same level separated by a pullback low (Double Top), or two pivot lows at approximately the same level separated by a recovery high (Double Bottom). The neckline is the intervening low (Double Top) or high (Double Bottom).
Phase transitions:
FORMING — geometry confirmed, price not yet near neckline
ARMED — price within 0.35× ATR of the neckline
FIRED — price closes below neckline by 0.6× ATR (Double Top) or above by 0.6× ATR (Double Bottom)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Head & Shoulders / Inverted H&S
Three-peak structure with a dominant central peak (head) flanked by two lower peaks (shoulders) at approximately equal heights, connected by a potentially sloped neckline through the two intervening lows. The Inverted H&S is the mirror pattern with a dominant central trough.
The neckline for H&S patterns is computed as a projected line through the two neckline pivot points, evaluated at the current bar — producing a dynamically sloped neckline that accurately reflects the true pattern boundary at any point in time.
Phase transitions follow the same ATR-based FORMING → ARMED → FIRED logic, with the ARMED zone assessed against the sloped neckline projection.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Triangles — Ascending, Descending, Symmetrical
Converging trendlines formed by a falling or flat upper trendline and a rising or flat lower trendline. The three variants are distinguished by slope:
Ascending Triangle — upper trendline near flat, lower trendline rising. Bull breakout expected
Descending Triangle — lower trendline near flat, upper trendline falling. Bear breakout expected
Symmetrical Triangle — both trendlines converging, neither flat. Can break either direction; RELAY tracks the direction of the actual breakout
The ARMED zone is computed relative to the projected upper (bull) or lower (bear) trendline at the current bar. Completion receives a bonus for larger triangle base heights (more than 2× ATR adds 15 points vs 5 points for smaller bases).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Flags and Pennants
A sharp pole move followed by a consolidation with parallel downward-sloping trendlines (Bull Flag / Pennant) or parallel upward-sloping trendlines (Bear Flag / Pennant). The pole size must be at least 2.5× ATR to qualify as a genuine pole rather than normal price movement.
The upper trendline for Bull Flags and the lower trendline for Bear Flags are the breakout boundaries. The ARMED zone is assessed against the projected trendline level at the current bar. The target is the breakout level plus the full pole distance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Rising and Falling Wedges
Converging patterns where both trendlines slope in the same direction but the lower trendline has a more extreme slope than the upper (Rising Wedge — bearish) or the upper trendline has a more extreme slope than the lower (Falling Wedge — bullish). The slope relationship distinguishes wedges from flags (which are parallel) and triangles (where lines converge to a point rather than widening).
Completion bonus is proportional to the wedge width in ATR multiples — wider wedges with more price range between the trendlines score higher completion. The target is the high of the wedge origin (Falling Wedge) or the low (Rising Wedge) — the structural measurement move.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏅 The 10-Point Quality Scoring System
Every active pattern is scored through a 10-point confluence system. Only patterns meeting the minimum score threshold (default: 5) are displayed, and the quality-ranked selection algorithm picks the highest-scoring pattern when multiple formations are active simultaneously.
Score components:
Formation Completion (up to 2 points):
Completion at 85% or above scores 2 points. Completion above the configured minimum scores 1 point. This ensures well-developed patterns score higher than nascent formations.
HTF Bias Alignment (up to 2 points):
Bull pattern with bull HTF, or bear pattern with bear HTF, scores 2 points. When HTF is disabled, 1 neutral point is awarded. Counter-HTF patterns score 0. The HTF filter can be set as a hard block on FIRED patterns — preventing counter-HTF breakout alerts even if the pattern is technically valid.
Non-Chop Market (1 point):
Choppiness Index below the threshold. Also enforced as a hard gate — extreme chop blocks all patterns from displaying.
Pattern Phase (up to 2 points):
FIRED scores 2 points, ARMED scores 1 point, FORMING scores 0. This weighting ensures that more advanced phases naturally score higher in the quality ranking — a FIRED pattern will nearly always outscore a FORMING pattern in the selection algorithm.
Volume Coil Before Break (1 point):
Current volume is below the configured fraction of the volume moving average (default: 0.85×). A drying volume condition approaching the neckline is the classic pre-breakout behavior — the market is consolidating on declining interest before the explosive release. This layer rewards patterns where this institutional behavior is present.
R:R at Minimum (1 point):
The computed R:R between entry and TP2 meets or exceeds the minimum (default: 1.5). Ensures only patterns with adequate measured moves relative to their stop are displayed.
Pattern Size (1 point):
The pattern height or target distance meets or exceeds 1.5× ATR. Filters micro-patterns with trivial measured moves.
Selection algorithm:
When multiple patterns qualify simultaneously, RELAY uses a composite ranking that combines the confluence score, completion percentage (weighted at 0.05 per percent), and phase bonus (FIRED: +3, ARMED: +2, FORMING: +0). This ensures that a FIRED pattern with good confluence almost always outranks a FORMING pattern, while also rewarding high-completion ARMED patterns over low-completion FORMING patterns of equal confluence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📦 Formation Box and Neckline Visualization
Every active pattern is rendered with two core visual elements:
Formation Box:
A rectangle spanning the pattern's horizontal range (from the start bar to the current bar) and vertical range (from the neckline to the opposite extreme of the pattern — the tops for bear patterns, the bottoms for bull patterns). The box color reflects the current phase: purple for FORMING, orange for ARMED, yellow-green or red for FIRED. The fill opacity is moderate (88%) — present enough to identify the pattern zone without obscuring price action behind it.
Neckline / Boundary:
A solid line at the critical breakout level, extending 20 bars beyond the current bar. For patterns with flat necklines (Double Tops, Rectangles), this is a horizontal line. For Head & Shoulders with sloped necklines, the line reflects the slope. The neckline color matches the phase color — shifting through purple, orange, and the directional color as the phase advances.
Phase Label:
A label at the right edge of the formation showing the pattern name, current phase, and completion percentage. Positioned above price for bear patterns, below for bull patterns. The label color matches the phase.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The 13-row real-time dashboard displays the complete state of the current highest-scoring pattern.
RELAY STATE
Pattern — the name of the current pattern: Double Top, Head & Shoulders, Asc Triangle, Bull Flag, Falling Wedge, etc. Color-coded yellow-green for bull, red for bear
Phase — FORMING (purple), ARMED (orange), or FIRED (yellow-green/red). The most critical single row in the entire dashboard
Formation — the live completion percentage. Orange when below 80%, yellow-green when above 80%
Neckline — the exact price of the current neckline or boundary level in real time
LEVELS (FIRED)
Entry — the computed entry price (current bar's open at FIRED). Shows — when pattern is still FORMING or ARMED
TP1 / TP2 — both take-profit targets displayed as a price pair
Stop — the computed stop loss level
QUALITY
Confluence — the pattern's score out of 10. Yellow-green when at or above the minimum threshold
HTF · Chop — HTF bias (▲ BULL, ▼ BEAR, FLAT) and live Choppiness Index displayed on a single row. Orange CI indicates the chop gate is near or active
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Formation Box (FORMING — purple) — the developing pattern's price range from start to current bar, purple-tinted
Formation Box (ARMED — orange) — box shifts to orange when price enters the ARMED zone. This color change on the chart is itself an alert
Formation Box (FIRED — yellow-green / red) — pattern complete, box color reflects direction
Neckline Line (solid, phase color) — the critical breakout level extending 20 bars forward
Phase Label — pattern name, phase text, and completion percentage. Positioned at the right edge of the formation
Entry Line (yellow-green dashed) — FIRED phase only, with "ENTRY x.xxxx" label
SL Line (red dashed) — FIRED phase only, with "SL x.xxxx" label
TP1 Line (lime dotted) — FIRED phase only, with "TP1 x.xxxx" label
TP2 Line (bright yellow-green dashed, width 2) — FIRED phase only, with "TP2 x.xxxx · R:R x.xx" label
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📡 JSON Alert System
RELAY fires a structured JSON alert on every FIRED event, delivering complete trade parameters to webhook receivers.
FIRED JSON structure: 指标

ATR Trailing Stop Strategy with EMA Trend FilterMost stop-loss approaches treat risk as a fixed number, a percentage, a dollar amount, a set number of points. The problem with fixed stops is that they ignore the market's actual behavior at any given moment. A 1% stop that makes sense in a low-volatility environment will get hit constantly in a high-volatility one. A wide fixed stop that survives a volatile period is needlessly large when the market quiets down.
ATR-based trailing stops solve this by scaling the stop distance to what the market is actually doing right now. ATR measures average true range, the average distance price moves per bar over a given period, including gaps. When volatility expands, the stop widens to give the trade room to breathe. When volatility contracts, the stop tightens to protect more of the open profit. The stop follows price as it moves in the trade's direction and never moves backward — only trailing further in the profitable direction or holding its level until price reverses through it and the trade closes.
The EMA filter is added for one specific reason: trailing stop systems are naturally reactive rather than predictive, which means without a trend filter they will generate signals in both directions during choppy, range-bound conditions. The 200 EMA acts as a simple regime gate.
Long trades are only considered when price is above the 200 EMA, broadly in an uptrend. Short trades are only considered when price is below it. This doesn't eliminate losing trades, but it meaningfully reduces the number of counter-trend entries that trail stop systems would otherwise generate in oscillating markets.
How the trailing stop works:
On each bar, the strategy calculates a long stop level at close - (ATR × multiplier) and a short stop level at close + (ATR × multiplier). When price is in an uptrend, the long stop ratchets upward with price but never moves down, it holds its highest reached level until price closes below it, at which point the trend flips to bearish and the stop becomes a downward-trailing short stop. The opposite applies in a downtrend. A trend flip from bearish to bullish generates a long entry signal if price is above the 200 EMA. A flip from bullish to bearish generates a short entry signal if price is below the 200 EMA.
Parameters worth adjusting:
The ATR multiplier controls the sensitivity of the trailing stop. A lower multiplier (1.5x or below) produces a tighter stop that flips trend direction more frequently, useful on lower timeframes where you want faster reaction but will generate more signals. A higher multiplier (2.5x or above) produces a wider stop that flips less often, better suited for higher timeframes where you want to stay in a trend longer and can tolerate larger drawdowns on individual trades before exit. The ATR length controls how many bars the average is computed over. Shorter lengths react faster to recent volatility changes; longer lengths smooth out volatility spikes.
The EMA length can be adjusted depending on your timeframe. 200 periods is the standard for daily charts. On a 4-hour chart, 100 to 150 periods covers a similar calendar range. On a 1-hour chart, 50 to 100 periods is reasonable. The goal is for the EMA to represent the dominant trend, not a short-term moving average that whipsaws with every swing.
What this is not:
This strategy does not predict market direction. It reacts to price behavior and exits when price reverses by a defined volatility-adjusted distance. It will produce losing trades, every trailing stop system does, and sequences of losses in choppy conditions are expected behavior, not a flaw. The expectation is that winning trades capture significantly more than they risk because the stop trails and locks in profit, while losing trades are cut at a defined ATR-based distance.
Evaluate this on your own instruments and timeframes with realistic backtest conditions before drawing any conclusions about expected performance.
Shared for educational purposes. This is not investment advice. Always backtest thoroughly and size positions according to your own risk tolerance. 策略

指标

指标

Reaction Based Support and Resistance Zones## Overview
Reaction Based Support and Resistance Zones is a visual price-action study tool for reaction-based horizontal zones and local reaction levels.
The script is designed to show where price has recently reacted, how those reactions are grouped into zones, and how the same reaction context can be studied both in the current live chart and in historical visible-range views.
It does not generate trading signals. It does not provide entries, exits, targets, stops, position sizing, win rate, or performance claims.
## What it shows
This script can display:
- Live reaction zones based on confirmed pivot reactions.
- Support-like, resistance-like, mixed, and inactive reaction roles.
- Touch count, freshness, ATR-normalized reaction strength, width penalty, and a visual zone score.
- Visible Range Research context for historical chart study.
- Local Window Levels across the visible historical window.
- A compact dashboard with neutral context information.
- Neutral live alerts for confirmed reaction-zone events.
The displayed zones and local levels are historical reaction context. They are not predictions.
## Context modes
The script includes three context modes:
### Live
Live context shows the current reaction-zone state at the latest bars. This is the normal current-chart view. Live context can extend active zones to the right for readability.
Live is the only context that can trigger alerts.
### Visible Range Research
Visible Range Research reconstructs the reaction context as it existed at the right edge of the currently visible chart range.
This mode is intended for historical visual study. When the user scrolls or zooms the chart, the research view recalculates for that visible range.
Visible Range Research does not trigger alerts.
### Auto Hybrid
Auto Hybrid is the default mode.
When the latest bars are visible, the script uses Live context. When the chart is scrolled back into historical data, the script switches to Visible Range Research.
## How it works
The script uses confirmed pivot highs and confirmed pivot lows as reaction events.
A support-like reaction is based on a confirmed pivot low. A resistance-like reaction is based on a confirmed pivot high.
Nearby reactions are clustered into reaction zones. Each zone stores information such as:
- center price
- zone width
- first and last reaction
- touch count
- support-like and resistance-like reaction counts
- average and maximum reaction strength
- invalidation state
- visual quality information
Zones are scored using a configurable combination of touch count, freshness, ATR-normalized reaction strength, width penalty, quality information, and invalidation state.
Only confirmed pivots are used. Unconfirmed pivot points are not displayed.
## Local Window Levels
Visible Range Research includes a local-window layer built directly from confirmed pivot reactions.
Local Window Levels are independent from the right-edge context zones. This means smaller reactions on the left, center, or right side of the visible historical chart can remain visible even if they later become part of a broader context zone.
Local Window Levels can:
- appear on the left, center, or right side of the visible chart
- start and end inside the visible window
- continue from the visible left edge if they already existed at that point
- end before the visible right edge
- show smaller historical reaction areas that may not be obvious from broader zones alone
This behavior is intentional. The local layer is for historical visual study, not for prediction.
## Local detection quality
The local layer includes quality controls for confirmed pivot reactions.
Balanced Quality is the default profile. It is designed to reduce obvious noise while still keeping useful local reaction context visible.
Exploratory shows more local reactions for broader visual study.
Strict and Very Strict reduce the number of local levels by requiring stronger reaction quality.
Local reaction quality can consider:
- ATR-normalized reaction distance
- wick or close-away validation
- local pivot prominence
- same-swing duplicate suppression
- short-term local clustering
Line density is controlled before a local level is confirmed. Confirmed local levels are not hidden merely for visual clarity in the rendering stage unless a hard object limit or explicit user setting applies.
## Historical visual study
In Visible Range Research, local levels are drawn relative to the currently visible chart window.
A local level does not need to extend to the visible right edge.
Short lines, mid-window lines, and lines that end before the right side of the chart are normal. They show where local reaction areas existed during that historical view.
This mode helps users study how reaction areas formed, continued, changed, or stopped being relevant across past market structure.
## Dashboard
The dashboard provides compact context information, including:
- current view context
- active zone count
- nearest lower reaction zone
- nearest upper reaction zone
- highest zone score
- last confirmed reaction age
- detection status
The dashboard uses neutral wording. It does not recommend any trading action.
Dashboard text size, backdrop strength, position, and right-side spacing are adjustable for readability near the price scale.
## Alerts
Alerts are live-context event notifications only.
Available alert events include:
- New reaction zone confirmed
- Existing reaction zone updated
- Price touched an active reaction zone
- Reaction zone became inactive
- Reaction zone reactivated after a confirmed reaction
Visible Range Research rendering does not trigger alerts.
## How to use it
Use this script as a visual context tool for price areas where confirmed historical reactions have occurred.
Possible study uses include:
- observing recent reaction zones in Live context
- reviewing how reaction areas formed in past visible chart windows
- comparing broader reaction zones with smaller Local Window Levels
- adjusting detection quality profiles to fit the symbol and timeframe
- keeping the chart clean while still preserving reaction context
The default settings are starting points, not optimized settings.
## Limitations
Reaction zones and local levels are historical context, not forecasts.
A reaction area can stop reacting at any time.
Pivot-based events appear only after confirmation, so there is a natural confirmation delay.
Visible Range Research recalculates when the chart is scrolled or zoomed.
Lower timeframes and highly volatile symbols can produce more local levels.
Strict settings may remove useful reactions. Exploratory settings may show more lines.
This is a visual study tool, not a strategy or backtest engine.
## Non-repaint explanation
The script uses confirmed pivot highs and confirmed pivot lows only.
A pivot reaction is processed only after the required pivot-right confirmation bars have passed.
Unconfirmed pivots are not displayed.
The script does not use request.security() with lookahead.
Visible Range Research reconstructs the reaction context using only the information available up to the visible right edge.
Scores and visual states can update as new confirmed bars become available, but this is based on confirmed historical data and does not use future data relative to the active context.
## What this script does not do
This script does not generate trading signals.
It does not provide entries, exits, targets, stops, position sizing, win rate, or performance claims.
It does not predict future price movement.
It does not simulate orders.
It is not a strategy.
It is not a backtest system.
It is not financial advice.
## 日本語補足
このインジケーターは、価格が実際に反応した水平帯を可視化するための研究用ツールです。
Liveでは最新状態の主要な反応ゾーンを表示します。
Visible Range Researchでは、過去にスクロールした表示範囲の右端時点を基準に、当時存在していた反応コンテキストを再構築します。
Local Window Levelsは、表示範囲内の確定pivot反応から作られる局所的な反応ラインです。左側、中央、右側に出る短い線や、右端まで伸びない線は仕様です。過去相場の中で、どこに細かい反応帯が存在したかを研究するためのものです。
ライン数は、描画側で検知済みのものを隠して減らすのではなく、検知品質やローカルクラスタリングによって調整します。
このスクリプトは売買シグナルではありません。エントリー、エグジット、利確、損切り、ポジションサイズ、勝率、収益性、将来予測を提供しません。投資助言ではありません。 指标

Ultimate Matrix HUD v8🎯 Ultimate Matrix HUD — Multi-Symbol Direction + Sector Rotation Dashboard
What it is: An all-in-one heads-up display that answers three questions at a glance — Which way is my stock going? How much conviction is behind it? And is the money flowing into its sector? It scans up to 6 tickers of your choice plus ranks all 11 market sectors, right on your chart. Built for desktop and phone.
📊 What You're Looking At
The HUD has two panels:
1️⃣ Watchlist Panel — your 6 chosen tickers, one row each:
Column Meaning
TICKER The symbol being scanned
BIAS Direction + conviction: 🟢 LONG / 🔴 SHORT (strong, ≥70%), 🟡 WEAK L/S (building, 40–69%), ⚪ NEUTRAL
REGIME Market character: ⚡ DAY (volatile/intraday), 🌊 SWING (calm/trending), ➖ RANGE (chop)
TREND A mini score-history sparkline (▁▂▃▄▅▆▇█) with an arrow — ↗ = conviction strengthening, → = flat/fading
SECTOR The ticker's sector, its live rotation quadrant color, and rank (e.g. Tech 🟢#2)
2️⃣ Sector Rotation Panel — all 11 sectors ranked by relative strength:
Column Meaning
SECTOR Short label (Tech, Fin, Enrgy, Hlth, etc.)
QUADRANT 🟢 Leading, 🟡 Weakening, 🔴 Lagging, 🔵 Improving
STR/MOM The two RRG axes — Strength / Momentum
RANK Position 1–11, with 🥇🥈🥉 for the top three
🧠 How the Bias Score Works
Each ticker is graded 0–100% on four pillars:
Macro Trend (40 pts) — Higher-timeframe EMA structure (fast vs slow) confirms the big-picture direction.
Momentum (30 pts) — RSI in the healthy trend zone (not overextended).
Volume Confirmation (30 pts) — A volume spike in the direction of the move = real participation.
A score of ≥70% lights up 🟢 LONG or 🔴 SHORT. Between 40–69% it's a building 🟡 WEAK signal. Below that, ⚪ NEUTRAL.
🔄 How Sector Rotation Works (RRG Model)
Every sector is measured against a benchmark (default SPY, fully customizable) on two axes:
Strength — is it outperforming the benchmark over the long window?
Momentum — is that outperformance accelerating or fading?
Those two combine into the classic Relative Rotation Graph quadrants:
Quadrant Meaning Play
🟢 Leading Strong and accelerating Prime hunting ground for longs
🟡 Weakening Strong but losing steam Take profits / tighten stops
🔴 Lagging Weak and still falling Avoid longs / short candidates
🔵 Improving Weak but turning up Early rotation — watchlist for entries
Money typically rotates clockwise: Improving → Leading → Weakening → Lagging.
The STR/MOM column shows the two raw axes (e.g. 3.2 / 1.1 = outperforming and accelerating). Classic rotation flow is clockwise: Improving → Leading → Weakening → Lagging.
✅ The A+ Setup — Reading a Row in One Glance
The whole point is confluence. Your strongest trade lines up all three:
text
Copy
🟢 LONG (100%) + ▇█ ↗ + Tech 🟢#1
direction conviction money flow
That's a strong signal, still strengthening, in the #1 leading sector. Conversely, a 🟢 LONG whose sector reads 🔴#10 is a red flag — you'd be fighting the rotation.
⚙️ Setup (One-Time, ~2 Minutes)
Watchlist: Enter your 6 tickers and pick each one's sector from the dropdown. Set crypto/forex to None (their sector tag will show —).
Benchmark: Default SPY. Swap to QQQ (tech-relative), IWM (small-cap), or any symbol.
Mode: Choose Watchlist, Sector Rotation, or Both.
Display: Position, text size, transparency, colors, borders, and toggle any column on/off.
⚠️ Sector assignment is manual — Pine Script can't reliably auto-detect a stock's sector for scanned symbols. It's a 30-second, one-time setup and gives you 100% accurate, self-controlled tagging.
🔔 Discord Alerts (Optional)
The HUD can push formatted alerts to Discord on two events:
Bias Flip — a ticker crosses into 🟢 LONG or 🔴 SHORT
Momentum Strengthening — conviction starts accelerating (↗)
Each alert includes the ticker, bias, regime, trend, and its sector context:
text
Copy
NASDAQ:AAPL
Bias: 🟢 LONG (100%)
Regime: ⚡ DAY
Trend: ▇█ ↗
Sector: Tech 🟢#2
To wire it up:
In Discord: Server Settings → Integrations → Webhooks → New Webhook, copy the URL.
In TradingView: click the alarm clock ⏰ → Create Alert on this indicator.
Set Condition = Ultimate Matrix HUD, and under Notifications → Webhook URL, paste your Discord webhook.
Set the alert message to {{plot}} or leave default — the indicator sends its own JSON payload.
Alerts fire on bar close for reliability (no repaint-driven false pings).
📱 Mobile Tips
Set Text Size = Tiny/Small and bump Panel Transparency so price stays visible.
Hide columns you don't need (Regime, Trend, or Sector) to slim the panel.
Use Watchlist-only mode on phone for the cleanest view; switch to Both on desktop.
⚠️ Important Notes & Limitations
Live-bar values are provisional. All scores, ranks, and quadrants settle on bar close — treat the forming bar as an estimate.
Not financial advice. This is a decision-support dashboard, not a signal-to-blindly-trade. Always confirm with your own analysis and risk management.
Sector features are equity-focused. Set non-equity symbols (crypto/forex) to None.
Best on liquid symbols with real volume data — thinly traded names may give noisy volume/regime reads.
Timeframe: Works on any, but shines on 15m–4H for swing/intraday. Benchmark & windows are fully tunable in settings. 指标

指标

Shayan Khursheed Momentum CompassHere’s a clean TradingView description you can use:
Shayan Khursheed Momentum Compass
Shayan Khursheed Momentum Compass is a beginner-friendly day-trading indicator designed for 1m, 5m, 10m, 15m, and 30m momentum traders.
The goal is simple: make the chart easy to understand by showing a clear final verdict instead of forcing traders to read many indicators separately.
The dashboard gives plain-English signals:
FINAL VERDICT: BUY NOW
FINAL VERDICT: HOLD LONG
FINAL VERDICT: EXIT LONG
FINAL VERDICT: SHORT NOW
FINAL VERDICT: HOLD SHORT
FINAL VERDICT: EXIT SHORT
FINAL VERDICT: WAIT
The script analyzes multiple TradingView data points, including:
Fast and slow EMA momentum
Anchor EMA trend
VWAP position
Higher-timeframe trend confirmation
RSI momentum
MACD direction
ADX/DMI trend strength
Volume strength
ATR volatility
Pullback and breakout triggers
Dynamic stop line
Simple reading rules:
BUY NOW means look for a long entry.
HOLD LONG means stay in the buy.
EXIT LONG means close the buy.
SHORT NOW means look for a short entry.
HOLD SHORT means stay in the short.
EXIT SHORT means close the short.
WAIT means no trade.
The script also includes visual alerts such as BUY NOW, SHORT NOW, HOLD BUY STAY, HOLD SHORT STAY, FIRE SHORT, BUY BUY, and EXIT NOW to make the chart easier to follow during fast-moving markets.
This indicator is built to help traders stay disciplined, avoid guessing, and understand when momentum is strong enough to act.
This script is for education and analysis only. It is not financial advice. Always backtest, paper trade, and use proper risk management before trading with real money. 指标

JPM Collar Levels - SPXJPM Collar Levels - SPX plots manually updated quarterly JPM collar reference levels for the S&P 500 Index.
The indicator is designed for traders and analysts who want a clean way to keep the main JPM collar levels visible on the SPX chart without turning them into signals, targets, or magic lines.
The script currently plots three reference levels for each loaded quarterly collar:
- Short Call
- Long Put
- Short Put
These levels are hardcoded and updated manually after each quarterly reset.
Important convention:
The reported quarter is displayed during the following active quarter.
For example, Q2 2026 collar levels are active from July 1, 2026 to October 1, 2026.
This matters because the collar is not meant to be read as a normal calendar-quarter label. The levels are reported after a reset and then used as reference levels during the next active period.
What this indicator does:
- Plots JPM collar levels directly on SPX.
- Shows the active quarter more clearly than older quarters.
- Allows users to display only the current active quarter, the last year, or all loaded historical quarters.
- Optionally shows distance from current SPX price to each active level in points, percent, or both.
- Includes alerts for first touch per quarter or every touch.
- Shows a warning on common S&P 500 proxies such as SPY, ES, US500, or SPX500.
- Stays silent on unrelated symbols.
- Shows an update warning only after the latest loaded collar period has ended.
What this indicator does not do:
- It does not generate buy or sell signals.
- It does not predict price direction.
- It does not define support or resistance.
- It does not claim that price must react at these levels.
- It does not backtest a strategy.
- It does not estimate probabilities.
These are reference levels only.
I use them as market structure context, not as trade instructions. A level can matter because large collars and option structures may become part of how traders frame risk, hedging, and positioning. That still does not mean price has to respect the level. Markets are not polite.
Recommended use:
Use this indicator to keep quarterly JPM collar reference levels visible while analyzing SPX price action, volatility, positioning, and broader market context.
The cleanest default view is “Last year”, which shows the active quarter plus recent historical context. Users who only want the current structure can switch to “Current only”.
Distance labels are optional and turned off by default to keep the chart clean.
Symbol note:
This script is designed for SPX. It intentionally avoids plotting the levels on S&P 500 proxies such as SPY, ES, US500, SPX500, VOO, or IVV, because those instruments trade at different prices and the raw SPX collar levels do not map directly without adjustment.
Manual update note:
The levels are hardcoded. They must be updated manually after each quarterly JPM collar reset. If the latest loaded period has ended, the script will show an update warning.
Settings section
Main settings:
Visible history
- Current only: shows only the active collar period.
- Last year: shows the active period plus recent historical quarters.
- All loaded: shows all hardcoded quarters available in the script.
Distance display
- Off: clean labels only.
- Percent: shows distance from current SPX price to the active levels in percent.
- Points: shows distance in SPX points.
- Points + Percent: shows both.
Label contrast
- Soft: cleaner chart, lower visual noise.
- Normal: easier to read.
- Strong: highest label visibility.
Alerts
- First touch per quarter: each level can trigger once during the active quarter.
- Every touch: alerts can trigger again when price touches a level again.
Release notes
Initial public version.
Includes manually updated JPM quarterly collar reference levels for SPX, with configurable visible history, optional distance labels, SPX-only symbol handling, and alert modes for level touches.
The script is open-source and intended as a clean reference tool, not a trading signal. 指标

Kalman Flow | Lyro RSThe Kalman Flow is an adaptive trend-following tool designed to identify and track market direction by combining a two-state Kalman filter with noise-scaled deviation bands. Unlike traditional moving-average systems, this indicator estimates both the underlying price level and its velocity (drift per bar) simultaneously, requiring agreement between price displacement and directional drift before confirming a trend change.
How It Works
1. Kalman Baseline
This is the core engine of the indicator — a constant-velocity Kalman filter that recursively predicts the next price level from its current level and velocity states, then corrects the prediction using actual price. Because the filter gain depends only on the process-to-measurement noise ratio, behavior is consistent across all assets and price scales.
Higher Sensitivity → the baseline tracks price closely and reacts faster.
Lower Sensitivity → a smoother baseline with fewer, more selective flips.
2. Adaptive Noise Bands
Instead of ATR or standard deviation, the bands are scaled by the filter's own tracking error — the average absolute distance between price and the Kalman estimate.
Upper Band = Kalman Baseline + (Tracking Error × + Multiplier)
Lower Band = Kalman Baseline − (Tracking Error × − Multiplier)
The two multipliers are independent, allowing asymmetric tuning of bullish and bearish flip thresholds. The bands automatically widen in choppy conditions and tighten in clean trends, so flips require a move that is large relative to recent noise — not a fixed size.
3. Velocity-Confirmed Trend Engine
A trend flip requires both conditions at once:
A close beyond the opposite noise band (displacement).
Kalman velocity agreeing with the new direction (drift).
Anything less holds the current state, creating built-in hysteresis that filters out displacement without follow-through.
Practical Application
Signal Interpretation
A Long signal is generated when price closes above the upper band while Kalman velocity is positive.
A Short signal is generated when price closes below the lower band while Kalman velocity is negative.
Candle coloring and the baseline color always reflect the current trend state.
Trend Confirmation
The velocity requirement serves as a confirmation layer — a single spike through a band without genuine drift behind it will not flip the trend, reducing the likelihood of false signals during choppy or low-volatility conditions. Built-in alerts cover bullish flips, bearish flips, and any flip.
⚠️ Disclaimer
This indicator is a technical analysis tool and does not guarantee results. It should be used in conjunction with additional analysis methods and proper risk management strategies. The creators of this indicator are not responsible for any financial decisions made based on its signals. 指标

Bedaiwi's Smart PivotsBedaiwi's Smart Pivots is a three-level market-structure indicator that classifies price turning points as Minor, Intermediate, and Major highs and lows.
HOW IT WORKS
Minor Pivots
A Minor High is confirmed when the middle bar of a three-bar formation has a high that is strictly higher than the highs immediately before and after it.
A Minor Low is confirmed when the middle bar has a low that is strictly lower than the lows immediately before and after it.
Equal highs and equal lows are not treated as Minor pivots.
Intermediate Pivots
Intermediate pivots are derived from confirmed sequences of Minor pivots.
An Intermediate High is identified when a higher Minor High is followed by a lower Minor High.
An Intermediate Low is identified when a lower Minor Low is followed by a higher Minor Low.
Major Pivots
Major pivots apply the same hierarchical logic to confirmed Intermediate pivots.
A Major High is identified when a higher Intermediate High is followed by a lower Intermediate High.
A Major Low is identified when a lower Intermediate Low is followed by a higher Intermediate Low.
SYMBOLS AND COLORS
- Red diamond: Intermediate High
- Green diamond: Intermediate Low
- Red exclamation mark: Major High
- Green exclamation mark: Major Low
Optional Minor pivots use the same High and Low color settings.
When the replacement option is enabled, an Intermediate symbol is removed and replaced with an exclamation mark if the same point is later promoted to Major status.
HISTORICAL PLOTTING AND CONFIRMATION DELAY
Pivot identification requires subsequent price information.
A Minor pivot is confirmed only after the following bar closes. Intermediate and Major pivots require additional confirmed pivot sequences, so their confirmation occurs later.
After confirmation, the indicator places the symbol on the historical bar where the relevant high or low occurred. Therefore, a symbol displayed on an earlier bar was not necessarily available in real time on that bar.
Historical placement is used only to show the actual location of the confirmed turning point. It should not be interpreted as a signal that was known on the historical pivot bar.
SETTINGS
Users can:
- Show or hide Minor pivots
- Show or hide Intermediate pivots
- Show or hide Major pivots
- Replace an Intermediate symbol when it becomes a Major pivot
- Customize High and Low pivot colors
PRACTICAL USE
Smart Pivots can help users:
- Study market structure
- Identify significant historical swing highs and lows
- Separate short-term fluctuations from higher-level price structure
- Review possible support and resistance areas
- Add context to discretionary price-action analysis
LIMITATIONS
Smart Pivots is an analytical indicator. It does not place trading orders and does not define entries, exits, stop-loss levels, profit targets, position sizing, or expected returns.
Pivot confirmation is delayed by design because later price action is required. Results may vary between symbols, timeframes, sessions, and data feeds.
The indicator does not identify final market tops or bottoms with certainty. Historical observations do not guarantee future market behavior.
This script is provided for research and educational purposes only. It is not financial or investment advice. 指标
