[ A L P H A X ] BREAKRUNE - Pattern Breakout RSI EngineAlphaX BREAKRUNE — Pattern Breakout Intelligence + RSI Trigger Engine: Real vs Fake Breakout Classification, Five-Pattern Detection, Fakeout Reversal Signals & Pending State Machine
AlphaX BREAKRUNE is a professional-grade breakout intelligence system built around a single foundational problem that defeats most breakout traders: the inability to distinguish a genuine structural breakout from a fakeout in real time. Most breakout indicators fire on any close beyond a pattern boundary — and then leave the trader holding a loss when price immediately reverses back inside the structure. BREAKRUNE solves this at the architectural level by separating breakout detection into three sequential phases — pattern recognition, breakout classification, and RSI trigger confirmation — and requiring all three to align before a signal fires. Every raw break is first classified as PENDING, then evaluated over a configurable decision window for either TRUE BREAK or FAKEOUT status using candle body and wick geometry, and only confirmed true breaks with RSI momentum alignment produce long or short entry signals. Fakeouts become their own opportunity: when a breakout is classified as fake, BREAKRUNE reverses the bias and watches for an RSI-confirmed trap reversal signal in the opposite direction. The result is a system that profits not just from real breakouts but also from the very fakeouts that trap the crowd — with the RSI trigger layer ensuring every entry has genuine momentum behind it. Designed for traders across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔮 The Core Philosophy — Three Phases Before a Signal
The fundamental failure of conventional breakout systems is compression of the detection and confirmation steps into a single bar event. Price closes above resistance — signal fires. This approach has no mechanism for distinguishing momentum breakouts from stop-hunt spikes, thin-market wicks, or false structural breaks that reverse immediately.
BREAKRUNE separates these into three distinct sequential phases that every potential signal must pass through:
Phase 1 — Pattern Recognition:
The system continuously scans the pivot structure to identify one of five major pattern types — Range, Double Top/Bottom, Triangle, Wedge, or Trend Channel. The detected pattern provides the structural context for the breakout evaluation: where the resistance and support levels are, what the directional bias of the formation is, and whether the pattern height meets the minimum size requirement for a qualified break.
Phase 2 — Breakout Classification:
When a raw break of the pattern boundary occurs, the system enters PENDING state. Over the next configurable bars (the fakeout decision window), it watches for one of two outcomes. If candles close back inside the structure with a significant rejection wick, the break is reclassified as FAKEOUT. If the required number of candles all close beyond the boundary without a wick rejection, the break is classified as TRUE BREAK. No premature signal fires during this window — the system waits for the evidence.
Phase 3 — RSI Trigger Confirmation:
Only after a TRUE BREAK or FAKEOUT classification does the RSI trigger layer evaluate. For true breaks, the Fast RSI must be above the configured long trigger (default: 55) with Core RSI above 50 and both RSI slopes positive. For fakeout reversals, the Fast RSI must cross the midline in the reversal direction with positive directional slope. Both must pass the quality score gate. Only then does a signal fire.
This three-phase architecture is what makes BREAKRUNE categorically different from breakout indicators that react to a single bar event.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Five-Pattern Detection Engine
BREAKRUNE continuously classifies the current market structure into one of five pattern types using the most recent confirmed pivot highs and lows. Every pattern provides resistance (res) and support (sup) levels used as the breakout boundaries.
Pattern detection uses:
Confirmed fractal pivot highs and lows (configurable pivot length, default: 5 bars each side), ATR-normalized tolerance values for determining flat vs sloped levels, and a minimum pattern height filter to eliminate micro-structures.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Range:
Both the most recent pivot high and pivot low are within the flat level tolerance (default: 0.35× ATR) of their respective prior pivots — price has been oscillating between approximately horizontal support and resistance. The pattern bias is neutral (patBias = 0) — a range can break either direction. The resistance is the average of the two pivot highs; support is the average of the two pivot lows.
Double Top / Double Bottom:
Two pivot highs at approximately the same level (within flat tolerance) with the current price below both peaks — Double Top, bearish bias. Or two pivot lows at the same level with current price above — Double Bottom, bullish bias. The pattern height is the distance from the support/resistance level to the opposing pivot extreme. The directional bias (patBias) is set accordingly — bearish for Double Top, bullish for Double Bottom.
Triangle (Converging):
The pivot highs are trending lower (by more than the trend shift tolerance, default: 0.20× ATR, between consecutive highs) while the pivot lows are trending higher — a symmetrical converging triangle. No directional bias is set (patBias = 0) since triangles resolve in either direction. The resistance is the most recent pivot high; support is the most recent pivot low.
Wedge:
Both pivot highs and pivot lows are trending in the same direction. Rising Wedge: both highs and lows trending upward — despite the upward direction the narrowing structure is bearish (patBias = -1). Falling Wedge: both trending downward — bullish (patBias = 1). The wedge pattern is identified when the pivot-to-pivot shift exceeds the trend tolerance on both sides in the same direction.
Trend Channel:
Pivot highs are trending in one direction and pivot lows are trending in the same direction, but the high trend direction opposes the expected wedge classification — a parallel channel. The channel bias follows the direction of the trend (upward-sloping channel = bullish patBias, downward = bearish).
Pattern freshness filter:
All pivot-based pattern detections are subject to a maximum age constraint (default: 80 bars from the most recent contributing pivot). Patterns older than this threshold are excluded from pattern detection — the oldest pivot must be within the freshness window for the pattern to be considered current and relevant.
Pattern size validation:
The pattern height (distance from support to resistance) must meet or exceed the minimum pattern height in ATR multiples (default: 1.1× ATR). This sizeOk condition contributes 2 points to the quality score — the largest single weight component — and reflects that properly sized patterns have more institutional significance than micro-structures.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ The Breakout Classifier — PENDING → TRUE BREAK or FAKEOUT
When price closes beyond a pattern boundary by more than the break threshold (default: 0.12× ATR), a raw break event is registered and the breakout classifier enters PENDING state. From this moment, every bar within the fakeout decision window (default: 5 bars) is evaluated.
Raw break detection:
Long raw break: Close above the resistance level plus break threshold, with the pattern allowing long breaks (not a bearish pattern — Double Top and Rising Wedge suppress long breaks)
Short raw break: Close below the support level minus break threshold, with the pattern allowing short breaks
PENDING state variables stored at the break bar:
The direction (pendingDir), the exact level broken (pendingLvl), the bar index of the break (pendingBar), and the pattern name (pendingPat) are all stored in persistent variables. The PENDING state is displayed on the dashboard CLASS row as PENDING — visible awareness that a break has occurred and is being evaluated.
FAKEOUT classification:
Within the fakeout window (pendingAge ≤ fakeWindow), if price closes back inside the pattern:
For a long break fakeout: close falls back below the broken resistance level AND the upper wick of the current bar exceeds the configurable minimum wick rejection ratio (default: 45% of bar range) — the bar closed back inside with a dominant upper wick, confirming selling rejection of the attempted breakout
For a short break fakeout: close rises back above the broken support AND the lower wick exceeds the minimum ratio
When these conditions are met, pendingFake is set to true and the CLASS row displays FAKEOUT — the orange classification that activates the trap reversal signal pathway.
TRUE BREAK classification:
When the configurable number of consecutive candles (default: 2 bars) all close beyond the broken level — `ta.lowest(close, confirmBars) > pendingLvl` for longs, `ta.highest(close, confirmBars) < pendingLvl` for shorts — without any fakeout having been detected, pendingTrue is set to true and CLASS displays TRUE BREAK. The confirmed candles all remaining beyond the level eliminates the single-bar false breakout.
Window expiry:
If neither FAKEOUT nor TRUE BREAK is classified within the fakeout window, the pending state expires silently — pendingDir resets to zero, the level clears, and the system resumes scanning. This prevents stale pending states from generating signals long after the relevant price action has passed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 The RSI Trigger Layer — Momentum Gating on Classified Breaks
The RSI trigger layer is the final gate before a signal fires. It ensures every entry — whether on a true break or a fakeout reversal — has genuine momentum direction behind it at the moment of entry.
Dual RSI architecture:
Fast RSI (default: 7 periods) — the timing layer. Reacts quickly to price movement and provides the momentum trigger reading
Core RSI (default: 14 periods) — the confirmation layer. The intermediate momentum context that must agree with the fast RSI direction
RSI slope measurement:
Both RSI slopes are computed over the configurable slope bars (default: 3 bars) — the current RSI value minus the value N bars ago. A positive slope means RSI is accelerating; a negative slope means decelerating.
True Break Long RSI conditions (rsiLongOk):
Fast RSI above the long trigger threshold (default: 55) — momentum has already crossed into bullish territory
Core RSI above 50 — the intermediate RSI confirms the bullish bias
Fast RSI slope positive — momentum is still accelerating upward
Core RSI slope non-negative — intermediate momentum is not rolling over
True Break Short RSI conditions (rsiShortOk):
Fast RSI below the short trigger threshold (default: 45)
Core RSI below 50
Fast RSI slope negative
Core RSI slope non-positive
Fakeout Reversal RSI conditions:
Trap Long (rsiTrapLong): Fast RSI crosses above 50 (ta.crossover) with a positive slope — the RSI midline crossover after the fakeout confirms the reversal is gaining momentum
Trap Short (rsiTrapShort): Fast RSI crosses below 50 with a negative slope
Why the RSI trigger is a layer, not a gate: The RSI conditions are required for the signal to fire but are also the primary quality score component (2 points when fully met). This dual role means the RSI is simultaneously a hard entry requirement and a quality contributor — signals that barely pass the RSI threshold score lower than signals where momentum is strongly confirmed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔀 The Fakeout Reversal — Trapping the Trap
The fakeout reversal is BREAKRUNE's most distinctive and high-reward signal type. When a long breakout is classified as FAKEOUT (price returned below resistance with a rejection wick), the crowd that bought the breakout is now trapped — holding longs above what has become confirmed resistance again. The RSI trap reversal watches for the Fast RSI to cross below 50 with negative slope: the momentum of the trapped buyers failing. When this occurs within the cooldown window, a short signal fires — entering precisely as the trapped longs begin capitulating.
Why fakeout reversals often produce the strongest moves: A failed breakout above resistance concentrates stop losses of all the breakout buyers just above the resistance level. As those stops are triggered on the reversal, they add selling pressure to the downside move — creating a self-reinforcing cascade. The fakeout reversal entry captures this cascade from near the top.
Enabling/disabling: The Enable Fakeout Reversal Signals setting (default: on) controls whether trap reversal signals are active. Disabling it restricts BREAKRUNE to true break signals only — appropriate for traders who prefer pure momentum continuation entries.
Visual differentiation: True break signals are rendered in the standard bull/bear score-based colors (yellow-green for longs, red for shorts). Fakeout reversal signals fire through the same triangle shapes but with the quality score reflecting the trap penalty — trap signals score 1 point on the setup component vs 2 for true breaks, naturally producing slightly lower overall scores that are reflected in the triangle's brightness.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏅 The 10-Point Quality Score
Every signal — true break or fakeout reversal — is scored through a 10-point composite system before it can fire. Signals below the minimum threshold (default: 5) are suppressed regardless of classification.
Score components:
Pattern Size (up to 2 points):
sizeOk (pattern height ≥ minimum ATR threshold) scores 2 points. A zero-score here (pattern too small) alone can suppress a signal by 2 points — the largest single deduction possible. Well-sized patterns carry proportionally more institutional significance and this component enforces that.
RSI Trigger Alignment (up to 2 points):
rsiLongOk (for long signals) or rsiShortOk (for short signals) scores 2 points. This is the second largest component — reflecting that genuine momentum confirmation at the moment of entry is as important as pattern quality. Signals where RSI barely meets the threshold (Fast RSI just above 55 with flat slope) score these 2 points; signals where RSI is not aligned at all score 0.
Signal Type (1–2 points):
True break signals score 2 points; fakeout reversal (trap) signals score 1 point. This weighting reflects the inherently lower confirmation of a reversal trade versus a confirmed structural continuation — the trap trade is valid but carries more uncertainty.
Volume Confirmation (1 point):
Current bar volume meets or exceeds the volume average × multiplier (default: 1.1×). When volume confirmation is disabled in settings, this point is always awarded.
Non-Chop Market (1 point):
Choppiness Index is below the configured threshold (default: 62.0). Also enforced as a hard gate — extreme chop blocks all signals regardless of score.
HTF Bias (up to 2 points):
When useHtf is on and the higher timeframe EMA structure agrees with the signal direction (htfBull for longs, htfBear for shorts), 2 points are awarded. When HTF is disabled, 1 neutral point is always given. When HTF opposes the signal and useHtf is on, 0 points. This component has the same maximum weight as RSI and pattern size — reflecting the institutional significance of macro directional alignment.
Grade-coded signal colors:
Score 8–10 → full brightness (colBull / colBear). Score 6–7 → slightly dimmer. Score below 6 → transparent-tinted version. The triangle color communicates quality at a glance without reading the dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The 10-row real-time dashboard displays the complete internal state of the breakout classifier and all filter conditions.
PATTERN — the current detected pattern: Range, Dbl Top, Dbl Bot, Triangle, Rising Wedge, Falling Wedge, Up Channel, Down Channel. Purple color. Updates on every bar as the pivot structure evolves
CLASS — the current breakout classification state: IDLE (no pending break), PENDING (raw break registered, evaluating), TRUE BREAK (confirmed continuation), FAKEOUT (rejection detected, reversal watching). Color-coded — yellow-green for TRUE BREAK, orange for FAKEOUT, neutral for IDLE/PENDING
BIAS — the directional bias: BULL (pendingDir=1 or patBias=1), BEAR (pendingDir=-1 or patBias=-1), or NEUTRAL. Yellow-green or red
LEVELS — the current support and resistance levels as a price pair (e.g., "2450.50 / 2490.25"). The exact boundaries the breakout classifier is watching
QUALITY — the live quality score out of 10. Yellow-green when at or above the minimum threshold, neutral otherwise
RSI F/C — the live Fast RSI and Core RSI values as a pair (e.g., "58.4 / 53.7"). Yellow-green when above 50, red when below
HTF — higher timeframe EMA structure: ▲ BULL, ▼ BEAR, or — FLAT
CHOP — live Choppiness Index value. Orange when above the block threshold
VOL — CONFIRMED (volume above threshold) or LIGHT (below threshold). Yellow-green or orange
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Pattern Boundary Lines — when Show Pattern Boundary Lines is enabled, a resistance line (res, red-tinted) and support line (sup, yellow-green-tinted) are drawn from the pattern's origin bar to the current bar, showing the exact levels the breakout classifier is watching
▲ Triangle (below bar) — long signal. Full brightness yellow-green for score 8+, standard for 6–7, transparent-tinted for minimum score. Fires on both TRUE BREAK longs and FAKEOUT reversal longs (trap shorts become long entries)
▼ Triangle (above bar) — short signal with matching grade-coded coloring
✕ Cross (above bar, orange) — fakeout mark for a failed long breakout. Appears when Show Fakeout Marks is enabled and fakeLongNow fires. The orange × above the bar is the visual alert that a bull breakout has been rejected
✕ Cross (below bar, orange) — fakeout mark for a failed short breakout
Candle tinting — when Show Tint Candles by Active Bias is enabled, bars are tinted yellow-green (bias=1) or red (bias=-1) during active pending or pattern-biased periods. The tint shows the directional context continuously, not just at signal bars
SL Line (red dashed) — when Show SL + TP1 + TP2 is on, the ATR-based stop loss level extending guideExtend bars forward
TP1 Line (lime dotted) — first take profit at 1.8× ATR from entry
TP2 Line (bright yellow-green dashed, width 2) — second take profit at 3.0× ATR from entry
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX BREAKRUNE — Step by Step
Step 1 — Read the Pattern and Levels
Check the PATTERN row on the dashboard — what structure is the system currently detecting? A Triangle or Wedge has directional bias; a Range or Double Top/Bottom has a directional expectation. Understanding the pattern context helps you assess which breakout direction is more probable
Check the LEVELS row — note the exact support and resistance prices. These are the lines the classifier is watching. If price is approaching resistance, a long break event may be imminent
Check BIAS — if it already shows BULL or BEAR from the pattern's directional classification, the system has a pre-existing directional lean before any break occurs
Step 2 — Monitor the Breakout Classification
When CLASS changes from IDLE to PENDING, a raw break has occurred. Watch the dashboard closely over the next fakeWindow bars — CLASS will shift to either TRUE BREAK or FAKEOUT
If CLASS shows FAKEOUT with an orange × appearing on the chart, the fakeout reversal pathway has activated. Check RSI F/C — is the Fast RSI approaching or crossing the 50 midline in the reversal direction?
If CLASS shows TRUE BREAK, check RSI F/C — is Fast RSI above 55 (long) or below 45 (short) with Core RSI confirming and slopes positive? If yes, a signal is likely imminent or has just fired
Step 3 — Enter on the Triangle Signal
A ▲ or ▼ triangle confirms all three phases have aligned — pattern identified, break classified, RSI triggered, quality scored
Read the triangle color — bright full-color triangle is Grade A (score 8+). This is the premium entry with all components confirming. Faded triangles are Grade C — valid but with reduced size
The QUALITY row shows the exact score. For fakeout reversal signals, the score will typically be 1 point lower than an equivalent true break signal due to the trap signal type weighting
Enable Show SL + TP1 + TP2 to see the ATR guide levels projecting forward from the signal bar
Step 4 — Manage the Trade
Watch the CLASS row during the trade. A new PENDING state in the opposing direction during an open position is an early warning that a counter-breakout is developing
Monitor RSI F/C — if Fast RSI begins rolling toward 50 against the trade direction, intermediate momentum is weakening. Consider taking TP1
The candle tint changing from yellow-green to red (or vice versa) during a trade means the bias has reversed — this is a structural exit cue
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
CHOP is orange on the dashboard — the hard chop gate is active. All signals are blocked. Pattern breakouts in extreme chop environments are dominated by noise — the range is too oscillatory for genuine structural breaks
CLASS shows PENDING for multiple consecutive bars with no resolution — when the system remains in PENDING state approaching the fakeWindow expiry without classifying as either TRUE BREAK or FAKEOUT, the break is ambiguous. The system will expire it silently. This ambiguity itself is a warning — directional commitment is absent
Pattern height is too small (sizeOk = false, quality score below 7) — the pattern exists but is too narrow to produce meaningful measured moves. Low-quality entries at micro-patterns carry reduced reward with the same stop risk
HTF Bias opposes the breakout direction — a bull breakout signal against a bearish HTF produces 0 HTF confluence points. The signal may still fire if other components score sufficiently, but counter-HTF breakouts resolve in the HTF direction far more often than not
FAKEOUT class appears but RSI is not approaching the midline — a fakeout has been detected but the RSI trigger for the reversal has not yet materialized. ARM SHORT / ARM LONG conditions are developing but no signal has fired. Do not anticipate the reversal signal without the RSI confirmation — the reversal could still fail
Multiple rapid PENDING → expiry cycles without TRUE BREAK or FAKEOUT — when the classifier repeatedly enters and exits PENDING state without resolving, the pattern boundary is being tested multiple times without follow-through. This is range-bound behavior masquerading as a breakout environment. Increase the break threshold or wait for a cleaner structural setup
The ideal BREAKRUNE setup:
Well-sized pattern (sizeOk true, pattern height 2× ATR or more)
Clean single raw break bar followed by TRUE BREAK classification within 2–3 bars
Fast RSI clearly above 55 (long) or below 45 (short) with positive/negative slopes on both RSI layers
HTF aligned with the breakout direction
Volume confirmed on the breakout bar
Chop Index well below threshold
Quality score at 8–10 (Grade A triangle, full brightness)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔮 Three-phase breakout architecture — Pattern Recognition → Breakout Classification (PENDING → TRUE BREAK or FAKEOUT) → RSI Trigger Confirmation. No signal fires without all three phases completing sequentially
📐 Five-pattern detection engine — Range, Double Top/Bottom, Triangle, Rising/Falling Wedge, and Trend Channel identified from confirmed pivot structure with freshness and size filters
⚡ Real vs fake breakout classifier — candle body and wick geometry over a configurable decision window distinguishes genuine structural breaks from stop-hunt reversals before the signal fires
🔀 Fakeout reversal signal mode — when a break is classified as FAKEOUT, BREAKRUNE reverses bias and watches for an RSI midline crossover trap signal in the opposing direction, profiting from the crowd that got trapped
📊 Dual RSI trigger layer — Fast RSI (7) for timing precision and Core RSI (14) for momentum confirmation, with slope measurement on both. Required alignment conditions differ between true break and trap reversal entries
✕ Live fakeout markers — orange × marks above (failed long break) or below (failed short break) on bars where fakeout classification occurs, providing real-time awareness of failed breakouts independently of signal generation
🏅 10-point quality scoring — Pattern Size (2pts), RSI Alignment (2pts), Signal Type (1–2pts), Volume (1pt), Non-Chop (1pt), HTF Bias (2pts). Grade-coded triangle colors reflect score quality at a glance
🎨 Candle tinting — bars tinted yellow-green during bull pending/bias periods and red during bear periods, providing continuous directional context between signals
📊 10-row live dashboard — Pattern, Class, Bias, Levels, Quality, RSI F/C, HTF, Chop, and Volume updated in real time every bar
🔔 3 alert conditions — BREAKRUNE Long, BREAKRUNE Short, BREAKRUNE Fakeout (independent alert for fakeout detection regardless of reversal signal)
⚙ Fully configurable — pivot length, flat and trend tolerances, minimum pattern height, freshness window, break threshold, confirmation bars, fakeout decision window, wick rejection minimum, volume filter, dual RSI periods and trigger levels, RSI slope lookback, fakeout reversal enable, cooldown, quality minimum, HTF parameters, chop gate, SL/TP ATR multiples, guide extension, all visual toggles, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Pattern Intelligence
Pivot Length — fractal sensitivity for pivot detection (default: 5). Lower = more frequent smaller patterns; higher = fewer, larger structural patterns
Flat Level Tol (xATR) — ATR tolerance for determining whether consecutive pivots are at the same level (default: 0.35). Controls Double Top/Bottom and Range classification sensitivity
Trend Shift Tol (xATR) — ATR tolerance for determining whether consecutive pivots show a directional shift (default: 0.20). Controls Triangle, Wedge, and Channel classification
Min Pattern Height (xATR) — minimum pattern height for the sizeOk condition and quality score (default: 1.1). Raise to filter micro-patterns
Pattern Freshness (bars) — maximum age of the oldest contributing pivot for pattern classification (default: 80). Older pivots are excluded
Breakout Classifier
Break Threshold (xATR) — minimum close extension beyond the pattern boundary to register a raw break (default: 0.12). Lower = more sensitive; higher = requires stronger breaks
True Break Confirmation Bars — consecutive candles that must all close beyond the level for TRUE BREAK classification (default: 2)
Fakeout Decision Window — maximum bars after the raw break within which FAKEOUT or TRUE BREAK must be classified (default: 5). After this window, the pending state expires
Fakeout Wick Rejection Min — minimum wick-to-body ratio required for FAKEOUT classification (default: 0.45). Higher = requires more obvious rejection wicks
Volume Confirm — require volume above average on the signal bar (default: on)
Volume Avg Length / Volume vs Avg — volume baseline parameters (defaults: 20 bars / 1.1×)
RSI Trigger Layer
RSI Fast — the timing RSI period (default: 7)
RSI Core — the confirmation RSI period (default: 14)
Long Trigger — minimum Fast RSI level for a true break long (default: 55). Above 50 is the baseline; raising this requires stronger bull momentum
Short Trigger — maximum Fast RSI level for a true break short (default: 45)
RSI Slope Bars — lookback period for RSI slope calculation (default: 3)
Enable Fakeout Reversal Signals — toggle the trap reversal signal mode (default: on)
Confluence Gate
Signal Cooldown (bars) — minimum bars between consecutive signals (default: 6)
Min Quality Score (of 10) — minimum score to fire a signal (default: 5)
HTF Bias Layer — when on, HTF alignment contributes up to 2 points to the quality score (default: on)
Hard HTF Alignment — when on, counter-HTF signals are fully blocked regardless of score (default: off)
HTF Timeframe / HTF Fast / Slow EMA — higher timeframe parameters (defaults: 60-minute / 21 / 55)
Block Extreme Chop / Choppiness Length / Chop Block Above — chop gate parameters (defaults: on / 14 / 62.0)
Entry / Exit Guides
Show SL + TP1 + TP2 — toggle guide line display (default: off)
ATR Length — ATR calculation lookback (default: 14)
SL (xATR) — stop loss distance in ATR multiples (default: 1.2)
TP1 (xATR) — first take profit distance (default: 1.8)
TP2 (xATR) — second take profit distance (default: 3.0)
Guide Extend (bars) — bars forward the guide lines project (default: 30)
Display
Show Pattern Boundary Lines — toggle the resistance and support boundary lines (default: on)
Show Signals — toggle signal triangle rendering (default: on)
Show Fakeout Marks — toggle the orange × fakeout markers (default: on)
Tint Candles by Active Bias — toggle directional candle tinting (default: on)
Show Dashboard — toggle the full dashboard (default: on)
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Bull Bright — yellow-green family for bullish signals and tinting
Bear / Bear Bright — red family for bearish signals
Pattern Accent — purple for pattern labels, boundary lines, and structural elements
Pending / Fakeout — orange for fakeout marks, CHOP warnings, and VOL LIGHT indicators
Neutral — gray for IDLE class and neutral dashboard states
Stop / TP1 / TP2 — individual guide line colors
Dash BG / Dash Header / Dash Section / Dash Frame / Dash Text — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (3 total)
BREAKRUNE Long — all three phases confirmed for a long entry: pattern identified, TRUE BREAK or FAKEOUT reversal classified, RSI trigger aligned, quality score met
BREAKRUNE Short — all conditions confirmed for a short entry
BREAKRUNE Fakeout — a fakeout has been classified on the current bar (fakeLongNow or fakeShortNow). This fires independently of whether a reversal signal follows — useful for awareness of failed breaks even when the reversal RSI conditions are not yet met
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M5–H1 :
Pivot Length at 5 — captures intraday structural swings without excessive micro-sensitivity
Fakeout Window at 5 — on M5 this is 25 minutes, sufficient to observe whether a break holds or fails without waiting too long. On M15, consider reducing to 3
Confirmation Bars at 2 — requires two consecutive closes beyond the level before TRUE BREAK classification. On M1, consider reducing to 1
RSI Long/Short Triggers at 55/45 — the asymmetric thresholds (not 60/40) accept momentum confirmation that is directional but not yet overbought/oversold
For other instruments or timeframes, adjust:
M1–M3 scalping — reduce Pivot Length to 3, reduce Fakeout Window to 3, reduce Confirmation Bars to 1, reduce Cooldown to 3, tighten Break Threshold to 0.08
H4–Daily swing trading — increase Pivot Length to 8–10, increase Pattern Freshness to 150, increase Fakeout Window to 8–10, increase Confirmation Bars to 3, increase TP2 to 5.0× ATR
Crypto (BTC, ETH) — increase Fakeout Wick Rejection to 0.50 for crypto's wider rejection wicks, increase Break Threshold to 0.18, increase Min Quality to 6 for tighter filtering on volatile instruments
Indices (NAS100, US30) — use Hard HTF Alignment (on), set RSI Long Trigger to 57, increase Confirmation Bars to 3 for cleaner index breakouts
Pure true-break mode — disable Enable Fakeout Reversal Signals, raise Min Quality to 6, raise RSI Long Trigger to 58 for higher-conviction momentum-only entries
Fakeout-specialist mode — enable Fakeout Reversal Signals, reduce Fakeout Wick Rejection to 0.38 for more sensitive fakeout detection, lower RSI Slope Bars to 2 for faster RSI crossover detection
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🔮 Breakout traders who are tired of being faked out — BREAKRUNE is built specifically around the fakeout problem. The three-phase architecture exists for one reason: to separate genuine structural breaks from the stop-hunt reversals that cost breakout traders money consistently
🔀 Traders who want to profit from both real breaks AND fakeouts — the fakeout reversal signal mode transforms the system's most common failure scenario into its own entry opportunity. The crowd that bought the false breakout becomes the fuel for the reversal trade
📊 Pattern-aware traders who want quantified structure — the five-pattern detection engine provides automatic structural context without manual drawing. Every signal tells you which pattern type it came from
📐 Momentum traders who need RSI precision — the dual RSI trigger layer (Fast 7 + Core 14) with slope measurement provides the most precise momentum timing gate in the AlphaX breakout signal suite
🧠 Systematic traders who want state transparency — the PENDING → TRUE BREAK / FAKEOUT classification state machine is fully visible on the dashboard in real time. You always know exactly what phase the system is in and why
🥇 Gold and forex intraday traders — breakout and fakeout patterns are particularly consistent on XAUUSD and major forex pairs during London and New York session transitions. Default settings are calibrated for these instruments
⚠ Traders who struggle with breakout timing — the RSI trigger layer forces every entry to have genuine momentum behind it at the moment of entry, eliminating the common experience of entering a breakout just as momentum exhausts
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Pattern detection, breakout classification, and RSI conditions all finalize on confirmed bars
The pending state machine uses persistent variables (var) — the PENDING, TRUE BREAK, and FAKEOUT states persist across bars until resolved or expired. This is essential for multi-bar classification but means the state machine holds values from previous breakout events. A signal firing clears all pending state variables
Pattern detection is a best-fit classification — the system selects the most matching pattern from the available pivot structure on every bar. When the pivot structure changes (new pivots form), the pattern classification may update. This means the PATTERN row on the dashboard may change between signal events as new structure forms
The Pattern Freshness filter (default: 80 bars) ensures the oldest contributing pivot is recent. On slower timeframes with infrequent pivots, this may cause pattern detection to intermittently show — before new pivots form. Increase the freshness window on higher timeframes
Maximum 80 labels, 120 lines, and 600 bars back are configured. On very active low-timeframe charts, the oldest guide lines may be removed by PulseWire's rendering limits
The fakeout mark (orange ×) fires independently of the reversal signal. A fakeout mark can appear without a subsequent reversal signal if the RSI trap conditions (midline cross with slope) are not met — the fakeout is real but the reversal momentum confirmation is absent
The indicator does not track open positions or P&L and does not connect to any broker or account
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who understand that a breakout is not a signal — it is the beginning of an evaluation. The signal comes after the market proves whether the break was real. Indicator

Indicator

CQ_(-)_Current Candle HighlightCQ_(-)_Current Candle Highlight
Author: CQuevedo345
User Manual
================================================================
OVERVIEW
================================================================
This indicator highlights the current (in-progress / last) candle
on the chart with a customizable glow, colored body, wick, and a
"NOW" label so it stands out from historical price action at a
glance. It also includes an optional highlight for the candle
immediately before the current one, using its own independent
teal/red (or custom) bullish/bearish colors.
Nothing about price, signals, or trend direction is calculated;
this is a pure visual aid for locating the active candle and the
one that just closed.
================================================================
FEATURE LIST
================================================================
1) CURRENT CANDLE HIGHLIGHT
- Recolors the live/last candle's body, wick, and border.
- Adds a soft multi-layer "glow halo" box around the candle.
- Adds a small "NOW" label above the candle's high.
- Colors are drawn from one of five built-in palettes (see
below); direction (bullish/bearish) automatically selects
the correct color from the chosen palette.
2) PREVIOUS CANDLE HIGHLIGHT
- Independently highlights the candle that comes right before
the current one (the last fully closed candle before "NOW").
- Colors are fully user-selectable, defaulting to:
Bullish -> Teal
Bearish -> Red
- Can optionally recolor that candle's wick/border to match, or
leave the wick/border unchanged (body color only).
- Automatically follows the chart forward: as new bars form,
the highlight always tracks the candle just before the newest
one - no manual adjustment needed.
- Can be toggled on/off independently of the current-candle
highlight.
3) FIVE COLOR PALETTES (for the current-candle highlight)
- Inferno - blazing orange/red volcanic tones
- Neon City - cyberpunk electric cyan/magenta
- Arctic Storm - icy blue/white high-contrast
- Toxic Green - radioactive lime/chartreuse (default)
- Ultraviolet - deep purple to violet spectrum
Each palette defines a distinct bullish and bearish color for
the body, border/wick, and glow.
================================================================
INPUT SETTINGS
================================================================
--- Settings ---
Show Highlight
Master on/off switch for the current-candle highlight (glow,
body, wick, border, and NOW label).
Color Palette
Choose which of the five palettes is used for the current
candle's colors.
Body Fill Opacity (0-100)
Controls how solid/transparent the current candle's body fill
is. Higher values = more opaque.
Color Wicks & Border
When on, the current candle's wick and border are colored to
match the palette. When off, only the body fill is colored.
Glow Halo Boxes
Toggles the soft glow effect drawn behind/around the current
candle.
Glow Layers (1-5)
Number of concentric glow layers drawn. More layers = a
thicker, more gradual glow falloff.
Glow Alpha per Layer (1-30)
Controls how visible/intense each glow layer is. Higher values
= stronger glow.
Show 'NOW' Label
Toggles the small "NOW" text label shown above the current
candle.
--- Previous Candle Highlight ---
Highlight Previous Candle
Master on/off switch for highlighting the candle immediately
before the current one.
Bullish Color / Bearish Color
User-selectable colors applied to the previous candle depending
on whether it closed bullish (close >= open) or bearish
(close < open). Default: Teal (bullish) / Red (bearish).
Color Previous Wick & Border
When on, the previous candle's wick and border are also colored
to match its bullish/bearish color. When off, only the body is
colored.
================================================================
HOW IT WORKS (BEHIND THE SCENES)
================================================================
- The current-candle highlight (glow, body box, wick line, and
label) is only drawn while the script is evaluating the actual
last bar on the chart (barstate.islast). These drawn objects are
deleted and redrawn each time a new bar closes, so the highlight
always follows the live candle.
- The previous-candle highlight uses the candle's own bar index
compared against the chart's last bar index, so it automatically
"moves forward" one candle at a time as new bars are added,
without needing to track or delete old drawings.
- Both highlights use plotcandle() overrides, so they recolor the
actual candles on the chart rather than drawing separate shapes
on top of them.
================================================================
TIPS
================================================================
- If you only want the previous-candle highlight (e.g., to clearly
mark the last fully closed candle) and not the current one, turn
off "Show Highlight" and leave "Highlight Previous Candle" on.
- If the glow feels too strong or distracting, lower "Glow Alpha
per Layer" or reduce "Glow Layers" rather than disabling it
outright.
- Pick a palette (or previous-candle colors) with enough contrast
against your chart background/candle theme for the highlight to
remain visible.
================================================================
VERSION NOTES
================================================================
- Added: user-selectable Previous Candle Highlight (independent
teal/red bullish/bearish colors, optional wick/border coloring,
and its own on/off toggle). Indicator

Ai SNIPER v2 15MMulti-Timeframe Trend Pullback Scanner (15M + 5M Refinement)
What it does
SNIPER v2 identifies trend-pullback continuation setups on the 15-minute chart and automatically pulls 5-minute data to display refined entry, stop-loss, and take-profit levels — so you get lower-timeframe precision without ever leaving the 15M chart.
How it works
A signal prints only when ALL of the following confluences align:
Higher-timeframe bias — price is above the 1H 200 EMA for longs, below for shorts (pulled via request.security, works from any chart)
Pullback — price has retraced into the 9/20 EMA zone within the lookback window
Momentum trigger — Stochastic RSI cross up from oversold (longs) or down from overbought (shorts) within the last 2 bars
Trend strength — ADX above threshold (default 20) filters out chop
Trigger candle — closes back through the 9 EMA in the signal direction
Late-entry protection — skips signals where the trigger candle has already run more than a set % (default 2%)
Cooldown — blocks repeat signals for a set number of bars
5M refinement layer
When a signal fires, the script pulls the 5-minute 9 EMA and 5-minute micro swing high/low (via request.security_lower_tf) and draws four levels on your chart:
ENTRY (5M) — refined limit-entry level at the 5M 9 EMA
SL TIGHT — 5M micro swing stop (tighter risk, larger size for the same dollar risk)
SL SAFE — original 15M pullback structure stop
TP 2R — 2:1 reward target calculated from the tight stop
All four levels are also included in the alert message, so a phone notification contains the complete trade plan.
Alerts
Uses both alert() and alertcondition(). To cover a watchlist: open each symbol on 15M, create one alert per symbol with "Any alert() function call," Once Per Bar Close.
Settings
ADX filter and threshold, optional declining-volume filter, pullback lookback, signal cooldown, late-entry %, Stoch RSI lengths/levels, and toggles for the 5M refinement lines.
Best use
Designed for the 15M chart on liquid instruments (major crypto pairs, index futures, large-cap stocks). The background tint shows current 1H bias at a glance. Signals are a starting point for your own analysis — always confirm structure before entering.
Disclaimer
This is a technical analysis tool for educational purposes only, not financial advice. No indicator predicts the future or guarantees results. Always use your own risk management. Indicator

RPFXBYDAN - Untouched Session Liquidity - Asia / London / NYRPFXBYDAN - Untouched Session Liquidity — Asia / London / NY
**What this script does**
This indicator marks the high and low of each Asia, London, and New York trading session and projects those two levels forward as horizontal lines. Unlike a standard session-range indicator that leaves every past level on the chart, this one automatically deletes any level the moment price reaches it. The result is a running inventory of the recent session highs and lows that price has NOT yet run — the liquidity that is still "live" on the chart.
By default the script keeps the ten most recent sessions per region so you can see whether the current market is respecting, sweeping, or ignoring older session extremes.
**Why session highs and lows matter**
Session highs and lows tend to attract price because they collect a predictable pool of stop-loss orders — protective stops from participants who entered inside the previous session's range. Price often gravitates toward these levels, sweeps the liquidity, and reverses. Knowing which specific levels are still untaken (versus already mitigated) is more actionable than seeing every historical level indiscriminately, because only untaken levels still hold that liquidity.
**How the script works, step by step**
1. On every bar, the script checks whether the bar falls inside the Asia, London, or New York session window, using Pine's timezone-aware time function so detection is correct on any chart regardless of the user's timezone settings.
2. While a session is active, it tracks the running high and low and remembers the bar index at which each was set.
3. The instant a session closes (the first bar the session check flips from true to false), it draws two horizontal lines anchored at those bar indexes — one at the session high, one at the session low — with a text label naming the region.
4. Each new line and label is pushed onto a per-region array. If the array now holds more than the configured lookback count (default ten), the oldest entry is shifted off and deleted.
5. On every subsequent bar, the script walks the array of active lines and compares the current candle's high to each high level and the current candle's low to each low level. Any line whose level has been reached is deleted along with its label. Any line not yet touched has its right edge advanced so the projection stays anchored to the current bar.
The touch check is the mechanism that keeps the chart focused only on liquidity that hasn't been taken yet — it's what differentiates this from a normal "show previous session range" indicator.
**Timezone handling**
The default Auto mode detects each session in its own home timezone: Asia in Tokyo time, London in London time, and New York in New York time. Because Pine's time function accepts a timezone argument, the detection is correct regardless of what timezone your chart is set to, and daylight saving transitions are handled automatically. If you'd rather have all three sessions interpreted in one specific timezone (for example, always in your local one), the location dropdown lets you select from a menu of common cities and UTC offsets, and the session windows will be read in that timezone instead.
**Inputs**
- Your Location / Timezone — Auto (recommended) or a specific city / UTC offset
- Asia, London, New York Session windows — defaults calibrated to each session's home clock time
- Sessions to Keep — how many recent sessions per region to display (default 10)
- Colors per region, line width, line style, right-extension length, label toggle
**How to use it**
Add the indicator to a 5-minute, 15-minute, 30-minute, or 1-hour chart of any symbol. Give the chart a few days of history to load so the script can walk through session closes and populate the levels. Watch how price interacts with the untaken lines — a clean sweep of an old session high can precede a reversal, while price trading through a level without pausing suggests continuation. Because touched levels are removed automatically, whatever remains on the chart at any moment is the current "menu" of session liquidity worth watching.
Works on any instrument, though it's most useful on FX pairs, index futures, and crypto where session structure is meaningful. Higher timeframes (4H+) compress sessions into a single bar and reduce the value of the lines.
**Notes**
Session detection uses each session's home timezone in Auto mode; in manual mode you select a single timezone that applies to all three. Both modes automatically handle daylight saving. Indicator

Kurdistani Bitcoin Spiral - Historical Logarithmic VisualizationKurdistani Bitcoin Spiral — Live Historical Logarithmic Visualization
Overview
Bitcoin Spiral is an interactive visualization of Bitcoin's complete historical price evolution, displayed as a logarithmic spiral.
Each calendar year corresponds to one full revolution around the center, while the distance from the center represents price on a logarithmic (log10) scale. This allows more than sixteen years of Bitcoin history to be explored within a single, compact chart.
Although logarithmic spiral representations of Bitcoin have appeared as static illustrations for years, this indicator brings the concept to PulseWire as a fully interactive Pine Script implementation with live updates, configurable visualization layers, and efficient rendering.
This indicator is intended for historical exploration, education, and visual analysis. It is **not** a forecasting model, does **not** predict future prices, and does **not** generate buy or sell signals.
---
Features
• Complete Bitcoin history from the 2009 Genesis Block through the present in a single spiral.
• Historical Halving events displayed as ring-and-dot markers.
• Major cycle bottoms highlighted with diamond markers.
• Historical All-Time Highs shown as comet-style trails that illustrate each rally into its peak.
• Live **Now** marker using `request.security()` with a user-selectable data source (default: Bitstamp:BTCUSD).
• Optional real-time continuation connecting the curated historical backbone to the latest market price.
• Current calendar year highlighted with an eased radial gradient wedge.
• Logarithmic price grid from **$1** to **$1M**.
• Eight year spokes with four emphasized calendar axes.
• Fully configurable colors, visibility, density, line widths, glow effects, and background.
• Compact legend matching the actual marker shapes used on the chart.
---
How It Works
The indicator is generated from a manually curated historical backbone consisting of approximately one hundred reference keyframes.
Each keyframe stores an approximate historical time and price.
For any intermediate date, price is calculated using logarithmic interpolation between the two nearest keyframes. The lookup uses binary search over the sorted keyframe table, providing efficient O(log n) performance.
Each *(time, price)* pair is converted into polar coordinates:
* **Angle** represents the position within the calendar year.
* **Radius** represents the logarithm of price.
The resulting coordinates are transformed into PulseWire chart coordinates using `polyline.new()`, `line.new()`, and `label.new()`.
When the historical backbone ends, an optional live continuation extends the visualization using the latest available daily close from the selected market symbol.
For performance reasons, the historical visualization is rendered only once. During realtime updates, only the live marker, live continuation, and (if applicable) a new live ATH marker are updated.
---
Curated Data vs Live Data
### Curated Historical Data
The following elements are manually maintained and remain fixed until the script is updated:
* Historical spiral
* Halving markers
* Major cycle bottoms
* Historical ATH markers
* ATH run-up trails
These elements are derived from the embedded historical keyframe dataset.
### Live Data
Only the following components update with incoming market data:
* Live "Now" marker
* Optional live continuation
* Live ATH marker (when price exceeds the latest curated ATH)
No historical data is modified or overwritten.
---
Reading the Spiral
The spiral is designed to emphasize Bitcoin's long-term structure rather than day-to-day price fluctuations.
* Angle indicates where a point falls within its calendar year.
* Radius represents price on a logarithmic scale.
* Equal radial spacing represents equal percentage changes rather than equal dollar changes.
* The highlighted wedge identifies the current calendar year.
* ATH comet trails visualize the acceleration leading into historical market peaks.
The chart is intended to help explore long-term market structure, historical cycles, and price evolution—not to predict future market behavior.
---
Engineering Notes
Version 5 focuses primarily on architecture, performance, and maintainability.
Key improvements include:
* Binary-search price lookup replacing linear scans.
* Unified marker rendering through a single reusable function.
* Centralized logarithmic radius mapping.
* Improved eased radial gradient for the current-year wedge.
* More maintainable rendering architecture for both static and live objects.
The historical dataset currently remains embedded inside the script.
The preferred long-term architecture is to publish the dataset as a separate Pine Library and import it into the indicator. The current implementation is already organized so that such a migration would require changes only within the data section.
---
Current Pine Script Limitations
Some visual behaviors are limited by the current Pine Script rendering engine rather than by the indicator itself.
These include:
* Perfect zoom-independent circular geometry is not possible because the horizontal axis is based on bar indices while the vertical axis represents price values.
* Pine Script does not provide access to viewport dimensions, zoom level, or aspect ratio, preventing automatic geometric correction.
* No visible-range API exists for dynamic label placement or clipping.
* Objects using `xloc.bar_index` cannot be positioned more than approximately 500 bars into the future, limiting outward label placement.
These are platform limitations rather than implementation limitations.
---
Future Development
Possible future improvements include:
* Migrating the historical dataset into a dedicated Pine Library.
* Extending the curated historical backbone as Bitcoin continues to evolve.
* Automatic cycle-bottom detection if a reliable forward-looking methodology becomes available.
* Additional structural refinements as Pine Script evolves.
---
Usage
Every visual layer can be enabled or disabled independently, including:
* Grid
* Year spokes
* Current-year wedge
* ATH markers
* Bottom markers
* Halvings
* Legend
* Background
* Glow effects
Colors, line widths, density, and the live data source are fully configurable.
---
Disclaimer
This indicator visualizes Bitcoin's historical price evolution using a logarithmic spiral coordinate system.
It is intended solely for visualization, historical exploration, and educational purposes.
It does **not** predict future prices, does **not** imply future cycle repetition, and should **not** be used as the sole basis for investment or trading decisions.
Past market behavior, including historical cycle geometry, is **not** indicative of future results. Indicator

Smart FVG by EonMetricsSMART FVG
What it does
A "Fair Value Gap" (FVG) is a small gap left behind in price when a move happens so fast that a whole price area gets skipped over — nobody actually traded there. It shows up as a gap between three candles in a row. These gaps often get "filled" later, meaning price comes back to trade through that skipped area before continuing on its way (or reversing). This indicator finds these gaps automatically and draws a box around each one.
It also tells you which gaps look more important: a gap is marked "STRONG" only when BOTH of these are true at the same time — the gap is unusually large (measured against recent average volatility) AND the candle that created it traded on unusually high volume. Both conditions have to be true together; a big gap on quiet volume, or high volume with only a small gap, does not count as Strong. This two-part check is stricter than simply flagging "any big gap," which is what most similar tools do.
How to actually use it (step by step)
Let gaps form naturally as price moves. Each one is drawn as a colored box — green/cyan-ish tones for bullish (demand) gaps, red/orange tones for bearish (supply) gaps.
Pay extra attention to boxes marked "STRONG" — these represent a real, forceful, high-conviction move, not just random noise.
When price comes back down (or up) into a gap box, that's a potential trade opportunity — buy near a bullish gap, sell near a bearish gap — especially reacting at the dotted 50% line drawn through the middle of the box.
Look at the small number in the corner of each box — it counts how many candles ago the gap formed. A small number (fresh gap) is generally considered more reliable than a large number (old, already-tested-many-times gap).
If you turn on the higher-timeframe overlay, you'll also see gaps from a bigger timeframe (marked "HTF") plotted directly on your current chart — these represent bigger, more significant levels than same-timeframe gaps.
Every setting explained
Visualization group
Bullish FVG / Bearish FVG — the fill color for ordinary gaps.
Strong Bullish FVG / Strong Bearish FVG — the fill color for gaps that pass the "Strong" test above.
Show 50% Line (EQ) — draws a line through the exact middle of every gap box; this is a common spot for price to react to.
EQ Line Color.
Width Mode — controls how far the box stretches to the right: "Dynamic" keeps growing the box to reach today's candle in real time, "Fixed" stops the box at a set number of candles wide, "Extended" stretches the box all the way to the right edge of your screen forever.
Fixed Width (bars) — how many candles wide the box is, only used when Width Mode is set to Fixed.
Min FVG Size (x ATR) — the smallest gap size the script will bother drawing, measured against recent average volatility. Raise this to ignore tiny, insignificant gaps; set to 0 to see every gap no matter how small.
Mitigation group (mitigation = "price has now traded back through the gap")
Delete Mitigated Zones — when turned on, a gap box disappears completely once price fills it. When off, it stops growing and stays on the chart as a faded historical marker.
Mitigation Level — decide what counts as "filled": either price reaching the halfway (50%) point of the gap, or price completely closing the entire gap.
Mitigation Confirmation — decide what counts as reaching that level: any wick poking into it ("Wicks"), or a full candle close past it ("Close" — stricter, fewer false triggers).
Imbalance Age group
Show Age Label — displays a small number (like "34b") showing how many candles ago the gap was created.
Fade Old Zones — when turned on, gap boxes slowly become more transparent as they age, so your eye is naturally drawn to the freshest ones.
Max Age for Full Fade (bars) — how many candles it takes for a gap to reach maximum fade/transparency.
Strong Imbalance group
Mark Strong Imbalances — master on/off switch for the whole Strong-gap detection described above.
Min Gap Size (x ATR) — how big the gap must be (relative to recent volatility) to count toward "Strong" — this is one of the two required conditions.
Min Volume (x SMA 20) — how much higher than the recent 20-candle average volume the gap-forming candle's volume must be — this is the second required condition. Both this and the size condition must be true at the same time.
Show 'STRONG' Tag — shows the word "STRONG" written inside qualifying gap boxes.
Labels group
Show Labels — master switch for all text written inside gap boxes (age number, STRONG tag, HTF tag). Turn this off to hide all text and keep only the colored boxes.
Label Text Color.
MTF FVG group (MTF = "multiple timeframes")
Show Higher Timeframe FVGs — turns on the overlay of gaps from a bigger timeframe, drawn directly on your current chart.
Higher Timeframe — which bigger timeframe to pull gaps from (should be higher than whatever timeframe you're currently viewing).
HTF Bullish FVG / HTF Bearish FVG — colors for these imported higher-timeframe gaps.
Show HTF Label — shows an "HTF" tag inside these imported gaps so you can tell them apart from same-timeframe ones. Indicator

EonMetrics MTF Supply & Demand ZonesMTF SUPPLY & DEMAND ZONES
What it does
A "supply and demand zone" is a small area on the chart where price paused quietly for a few candles, and was then immediately followed by one strong, decisive candle that shot away from it in one direction. That quiet pause is where this indicator draws its zone — the idea being that this is where a large amount of buying or selling built up right before the big move, so price is likely to react again if it ever comes back to that exact area.
The key part of this tool is that it does this search across up to six different timeframes at the same time — your current chart's timeframe plus up to five higher ones (like 15-minute, 1-hour, 4-hour, Daily) — and draws all of them directly onto the chart you're actually looking at. This means if you trade on a 5-minute chart, you can still see a major 4-hour or Daily zone approaching, without ever switching your chart away from the 5-minute view.
How to actually use it (step by step)
Watch price as it approaches a colored box. Green boxes are "demand" zones (expect a possible bounce upward). Red boxes are "supply" zones (expect a possible bounce downward).
Pay more attention to boxes tagged with a bigger timeframe (like "4H" or "D") — these represent more significant, longer-term levels than a box tagged "5m" or "15m".
When price actually returns into a box, a small "R" letter appears — that's your cue that a retest is happening right now, worth watching closely for a reaction.
If a box's tag shows more than one timeframe at once (for example "15m, 1H"), it means multiple timeframes agree on almost the exact same price level — generally a stronger, more meaningful zone than one confirmed by only a single timeframe.
If a box gets fully broken through (depending on your settings, either by a wick or by a candle closing past its far edge), that zone has failed and should no longer be trusted — either it disappears from the chart or stays visible dimmed out, depending on your setting.
Every setting explained
Detection group
Sensitivity — controls how strong and sudden the "breakout candle" must be before its pause area counts as a zone. Lower numbers require a much stronger candle (fewer zones, but stronger ones); higher numbers accept weaker candles (more zones, more frequent but less significant).
Min Base Candles — the minimum number of small pause candles required right before the strong candle for it to count as a real zone. A higher number demands a proper, visible pause; a lower number (like 1) also accepts a zone built from just a single quiet candle.
Max Base Candles — how far back the script is allowed to look for pause candles. This mostly just prevents extremely long pauses from creating unusually oversized zones.
Base Candle Max Size (x impulse) — how small each pause candle must be compared to the strong breakout candle to actually count as "part of the pause." Lower values demand a very obvious size difference between the quiet candles and the big one.
Zone Size Multiplier — makes every drawn zone box slightly bigger or smaller than its natural measured size, without changing where it's centered.
Min Zone Height (x ATR) — throws out zones that are too thin/flat to be meaningful (basically just noise). Raise this if you keep seeing tiny, unhelpful zones.
Max Zone Height (x ATR) — throws out zones that are too tall — a pause that large usually isn't really a tight pause, just a wide sideways range, and produces low-quality zones.
Timeframes group
Six on/off + timeframe pairs — turn each timeframe slot on or off, and pick which timeframe it should scan. Leaving a timeframe box empty means "use whatever timeframe my chart is currently on."
Zone Behavior group
Retest Trigger — decide what counts as price "returning" to a zone: any wick poking into it ("Wick" — earliest, most sensitive), or a full candle close inside it ("Close" — stricter, fewer false signals).
Zone Invalidation — decide what counts as a zone being broken/failed: a candle closing all the way through the far edge ("Close" — recommended, survives brief stop-hunt wicks), or any wick trading through it ("Wick" — kills the zone immediately, more sensitive).
Skip Overlapping Zones — when a new zone from one timeframe lands on almost the same price as an existing zone from another timeframe, this merges them into a single box (showing both timeframe tags) instead of drawing two overlapping duplicates.
Overlap Threshold — how much two zones need to overlap before they're considered "the same level" and merged together. Lower values merge more aggressively; higher values keep each timeframe's version separate more often.
Max Active Zones per Timeframe — the maximum number of zones from a single timeframe kept on the chart at once (the oldest one is dropped once you go over this). Since several timeframes can be active at once, the total on-screen count adds up across all of them.
Keep Broken Zones on Chart — when turned on, a zone that fails stays visible but dimmed with a dashed border (useful for reviewing which levels didn't hold). When off, failed zones are removed immediately.
Zone Display Range (x ATR) — temporarily hides zones that are currently very far away from price, just to reduce clutter. Hidden zones keep working in the background and reappear automatically once price gets close again. Set to 0 to always show every zone regardless of distance.
Style group
Supply / Demand — the fill colors for red (supply) and green (demand) zones.
Show Timeframe Label — prints which timeframe each zone came from directly inside the box.
Show Zone Mid-Line — adds a dotted line through the exact middle of every zone, sometimes used as a more precise reaction point.
Show Retest Markers — turns the small "R" touch-markers on or off.
Alerts group
New Zone / Zone Retest / Zone Break — turn each alert type on or off individually. In PulseWire's own "Create Alert" window, choose "Any alert() function call" to receive the full, detailed messages (direction, timeframe, exact prices) for all of them at once. Indicator

Bollinger Band Flow Heatmap | julzALGO📘 The Bollinger Band Flow Heatmap is a market pressure visualization indicator that maps SmartFlow activity inside a dynamic Bollinger Band channel. Instead of treating the Bollinger Bands as simple upper and lower boundaries, the indicator divides the entire channel into 30 adaptive pressure layers and measures how buying and selling pressure accumulates within each layer.
Powered by the julzALGO SmartFlow Engine, the indicator combines raw volume with OHLC candle structure to map where market participation is concentrated. The result is a dynamic pressure map that helps traders identify potential support, resistance, pressure imbalance, and high-interest price zones.
🟠 FEATURES
◉ 30-Layer Pressure Engine
The Bollinger Band channel is automatically divided into 30 adaptive pressure layers. Every scanned bar contributes SmartFlow pressure into the appropriate layer, creating a detailed profile of where buying and selling activity has accumulated over time.
◉ julzALGO SmartFlow Engine
The SmartFlow Engine calculates market pressure using multiple components, including:
* Raw volume
* Candle body direction
* Close position within the candle range
* Upper and lower wick structure
* Volume Z-Score weighting
* Flow acceleration
* SmartFlow pressure boosting
◉ Pressure Labels
Each visible pressure layer can display a P:% value representing its relative pressure strength.
The strongest pressure layer is automatically identified as the POC (Point of Control).
◉ Dynamic Bollinger Channel Guide Lines
The indicator can display the Upper Band, Middle Basis, and Lower Band as adaptive channel guide lines.
These guides provide the framework for the 30-layer pressure engine, helping visualize where SmartFlow pressure accumulates inside the Bollinger Band channel.
The channel guides can also be used to:
• Visualize the current volatility envelope.
• Identify potential dynamic support and resistance.
• Provide context for pressure accumulation relative to the upper, middle, and lower Bollinger Bands.
• Improve interpretation of pressure layers during trending and ranging market conditions.
The guide lines automatically update with the selected Band Length, Band Source, and Band Deviation, ensuring the pressure map always reflects the current Bollinger Band channel.
◉ Pressure Dashboard
The dashboard summarizes pressure distribution across the Bollinger channel:
• BULL PRESSURE — Total pressure accumulated below the current price.
• BEAR PRESSURE — Total pressure accumulated above the current price.
• PRESSURE IMB — Percentage imbalance between bull and bear pressure.
🟠 HOW IT WORKS
The indicator first builds a Bollinger Band channel using the selected source, band length, and deviation multiplier.
The space between the upper and lower Bollinger Bands is divided into 30 adaptive pressure layers.
For every scanned candle, the julzALGO SmartFlow Engine calculates SmartFlow pressure using raw volume together with OHLC candle structure.
Depending on the selected allocation mode, the calculated SmartFlow pressure is either projected into the nearest pressure layer or distributed across every layer touched by the candle.
As additional bars are processed, pressure accumulates throughout the channel, allowing the strongest participation zones to become increasingly visible.
🟠 HOW TO READ THE INDICATOR
• Strong pressure below price may represent an area of accumulated buying pressure that can act as potential support or demand.
• Strong pressure above price may represent an area of accumulated selling pressure that can act as potential resistance or supply.
• The POC (Point of Control) identifies the pressure layer with the highest accumulated SmartFlow pressure within the current scan.
• Pressure Imbalance quickly indicates whether bull or bear pressure is currently dominant across the channel.
• The Bollinger Channel Guide Lines provide the adaptive framework for the pressure layers and help visualize pressure relative to the upper band, basis, and lower band.
This indicator is designed to complement price action, market structure, trend analysis, and risk management rather than generate automatic buy or sell signals.
⚙️ DEFAULT SETTINGS
Recommended starting values:
* Band Length: 200
* Pressure Scan Bars: 265
* Band Deviation: 3.0
* Pressure Allocation Source: Pressure Projection
* Strongest Pressure Layers: 10
* Pressure Style: Medium
Reduce the scan bars for faster-moving markets, or increase them for more historical context.
Increase the band deviation to widen the adaptive channel.
Increase the number of visible pressure layers to reveal additional areas of accumulated market participation.
⚠️ Disclaimer
This indicator is provided for educational and informational purposes only. It is designed to visualize SmartFlow pressure within a Bollinger Band channel and does not predict future price movements or guarantee trading outcomes.
SmartFlow pressure is derived from raw volume and OHLC candle structure. It is not exchange-provided bid/ask footprint data, Level II market depth, or institutional order flow.
Pressure layers, POC levels, and pressure imbalances should be interpreted as areas of interest, not definitive buy or sell signals. Always confirm trading decisions using your own price action, market structure, trend analysis, and risk management.
Trading and investing involve substantial financial risk. Past performance does not guarantee future results. You are solely responsible for your own trading decisions and risk management. Indicator

[ A L P H A X ] RESONANCE - Triple-RSI StackAlphaX RESONANCE — RSI Harmonic Engine: Triple-RSI Stack, Adaptive Exhaustion Zones, RSI Coil Release, Pivot Divergence Reversals & Five-Phase Market Classification
AlphaX RESONANCE is a professional-grade momentum and mean-reversion system built on a fundamentally different RSI architecture from any conventional oscillator overlay. Where standard RSI indicators use a single period and static overbought/oversold levels, RESONANCE runs three RSI instances simultaneously — a fast Pulse RSI, a medium Core RSI, and a slow Anchor RSI — each measuring a different temporal dimension of momentum, and combines them into a unified harmonic stack that classifies the current market phase, scores directional conviction, detects RSI bandwidth compression (the RSI equivalent of a volatility coil), and fires precision entry signals across four distinct setup types. The adaptive exhaustion zones replace fixed 70/30 thresholds with percentile-ranked dynamic levels calibrated to the current instrument's own RSI distribution — so the system's definition of "overbought" evolves with actual market behavior rather than staying fixed at an arbitrary number. The result is a system that reads momentum the way it actually behaves — in layers, in phases, and in cycles — rather than as a single oscillating line. Designed for traders across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎵 The Harmonic Philosophy — Three RSI Periods, One Unified Picture
The core problem with a single-period RSI is temporal ambiguity. A 14-period RSI reading of 65 could mean the market is in a healthy trend with room to run, or a short-term overbought stretch about to snap back — the same number carries completely different meanings depending on whether the underlying trend is strong or weak. A fast RSI alone is noisy and prone to false signals. A slow RSI alone is too lagged to be actionable for entries.
RESONANCE solves this by running all three simultaneously and treating their relationship as the signal — not any single RSI value in isolation.
The three RSI layers:
Pulse RSI (default: 7 periods) — the fastest layer. Reacts immediately to price movements. Used for timing — detecting the exact bar of a snapback exit from an exhaustion zone, the crossing of the harmonic midline, and the moment a coil releases. The Pulse RSI is the trigger layer
Core RSI (default: 14 periods) — the standard intermediate layer. Used for divergence detection, slope measurement, and bandwidth compression. The Core RSI is the evidence layer — it confirms that the Pulse RSI signal has structural backing from a wider momentum view
Anchor RSI (default: 28 periods) — the slowest, most stable layer. Used for market phase classification. When the Anchor RSI is above 58 and rising, the market is in MARKUP. Below 42 and falling, MARKDOWN. The Anchor RSI is the context layer — it tells you the macro momentum environment within which all other signals must be interpreted
The harmonic stack:
RESONANCE defines a true harmonic alignment when all three RSI layers are stacked on the same side of the midline with aligned slopes — Pulse above 50, Core above 48, Anchor above 46 (with tolerance buffers to avoid false collapses on minor retracements). When all three are stacked and sloping in the same direction, the market has broad-based momentum conviction across fast, medium, and slow timeframes simultaneously. This triple-stack condition is the backbone of the HARMONIC BREAK setup and is the highest-weight component in the Resonance Score.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Five-Phase Market Classification — The Harmonic Dashboard
Using the Anchor RSI as the primary reference and the Core RSI slope as a secondary differentiator, RESONANCE classifies the market into one of five phases on every bar. The current phase is displayed prominently on the dashboard as the HARMONIC row and determines which setup types are most appropriate to trade.
MARKUP:
Anchor RSI at or above 58 with a positive slope — the slow momentum layer confirms a sustained upward bias. The macro momentum environment is bullish. This is the primary background condition for HARMONIC BREAK long setups and SNAPBACK long entries that occur as the Pulse RSI dips to the adaptive oversold zone and recovers.
MARKDOWN:
Anchor RSI at or below 42 with a negative slope — macro momentum is bearish. Primary background for HARMONIC BREAK shorts and SNAPBACK short entries.
DISTRIB (Distribution):
Anchor RSI is above 52 (mildly bullish macro) but Core RSI is below the Anchor and its slope is negative — the intermediate momentum layer is diverging downward against the still-elevated Anchor. This is the distribution phase: the long-term bias has not yet shifted, but the medium-term momentum is beginning to roll over. A warning sign for bulls and an early-watch condition for bear setups.
ACCUM (Accumulation):
Anchor RSI is below 48 but Core RSI is above the Anchor and its slope is positive — intermediate momentum is recovering against a still-depressed Anchor. This is the accumulation phase: the macro bias has not yet turned bullish but buying pressure is building. An early-watch condition for bull setups.
COIL:
The RSI bandwidth (highest Core RSI minus lowest Core RSI over the coil lookback) has compressed below the average bandwidth by the configured multiplier. The market is in a momentum squeeze — all three RSI layers are converging toward neutral and the directional energy is compressing. This phase precedes the COIL RELEASE setup and is displayed with a purple tint to distinguish it from the directional phases.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Adaptive Exhaustion Zones — Dynamic Overbought/Oversold
The standard RSI uses fixed overbought (70) and oversold (30) levels. These thresholds are problematic because every instrument has a different RSI distribution — a strongly trending equity might spend months above 70 and rarely touch 30, while a mean-reverting commodity might hit 70 and snap back immediately. Fixed levels produce the wrong trigger points for most instruments most of the time.
RESONANCE replaces fixed thresholds with adaptive exhaustion zones computed from the Core RSI's own historical percentile distribution:
Dynamic Overbought (dynOb):
The 82nd percentile of Core RSI readings over the adaptive zone lookback period (default: 100 bars). This means the overbought threshold is set at the level that Core RSI has exceeded only 18% of the time historically. When the Pulse RSI crosses above this level and then crosses back below it, the system detects a genuine exhaustion exit — not just a touch of an arbitrary 70 threshold, but an exit from a genuinely extreme reading for this specific instrument at this specific time.
Dynamic Oversold (dynOs):
The 18th percentile of Core RSI readings — the level that Core RSI has been below only 18% of the time. The oversold exit is a Pulse RSI crossover back above this level.
Self-calibrating behavior: During strongly trending markets, the adaptive thresholds shift upward (dynOb moves above 70, dynOs moves above 30) reflecting the fact that RSI stays elevated in trends. During ranging markets, the thresholds move toward 70/30 or tighter. The system always uses the statistically appropriate threshold for the current regime, automatically.
Dashboard display: The current dynamic oversold/overbought pair is displayed live on the dashboard as the ZONES row — e.g., "22 / 78" — updating continuously as new bars accumulate.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ RSI Coil Engine — Momentum Compression Detection
The RSI Coil Engine translates the volatility compression concept — so central to CATALYST, VECTOR, and PRISM — into the RSI domain. Instead of measuring price volatility compression, it measures RSI bandwidth compression: how much the Core RSI is oscillating relative to its recent average oscillation.
Coil detection:
On every bar, the system computes:
`RSI Bandwidth = Highest Core RSI over coilLen − Lowest Core RSI over coilLen`
This is then compared to the average bandwidth over the same period. When current bandwidth falls below `average × coilMult` (default: 0.72), the Core RSI is oscillating in a significantly tighter range than usual — all three RSI layers are converging. The inCoil boolean activates, the phase displays as COIL, and the dashboard COIL BW row shows "COMPRESSED."
Coil release detection:
A coil release is the transition from compressed (inCoil was true on the prior bar) to decompressed (inCoil is false on the current bar), accompanied by a Pulse RSI move of at least the configured minimum (default: 2.5 RSI points) in a single bar. This rapid Pulse RSI expansion is the momentum equivalent of a volatility breakout — the RSI bandwidth spring is releasing directional energy.
What the RSI coil captures: When all three RSI layers converge toward neutral with declining bandwidth, institutional participants are in a standoff — neither buyers nor sellers are winning the momentum battle. The coil release is the moment that standoff resolves, and the direction of the Pulse RSI's first large move after the release is the signal of who won. The COIL RELEASE setup capitalizes on this first-mover momentum advantage.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷 Four Setup Types — The Resonance Playbook
RESONANCE fires signals through four distinct setup types, each exploiting a different momentum pattern detected by the triple-RSI harmonic system. All four can be enabled simultaneously and the highest-priority qualifying setup is selected for each signal bar.
Setup priority order (when multiple qualify simultaneously):
COIL RELEASE → DIVERGENCE REVERSAL → HARMONIC BREAK → SNAPBACK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Setup A — SNAPBACK (Adaptive OB/OS Exit)
The mean-reversion setup. Fires when the Pulse RSI exits the adaptive exhaustion zone with Core RSI confirmation.
Long conditions:
Pulse RSI crosses above the dynamic oversold level (dynOs) — exiting the adaptive oversold zone
Core RSI is rising on the current bar (rsiCore > rsiCore ) — intermediate momentum is recovering
Anchor RSI is within 8 points of the midline on the bullish side (anchor > midLine − 8) — the macro context is not severely bearish
A bullish rejection candle is present (close above open, close above prior close)
Why SNAPBACK is the timing-precision setup: The combination of the adaptive oversold exit (not fixed 30) and Core RSI confirmation means the signal only fires when the oversold reading is genuine by historical standards AND the intermediate momentum has already begun recovering. The Anchor RSI tolerance prevents SNAPBACK longs from firing in deeply bearish macro environments where mean-reversion is likely to fail.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Setup B — HARMONIC BREAK (50-Line Cascade)
The momentum-continuation setup. Fires when the Pulse RSI crosses the harmonic midline (default: 50) with all three RSI layers stacked in the same direction.
Long conditions:
Pulse RSI crosses above the harmonic midline from below
stackBull is true — all three RSIs are above their respective midline thresholds (Pulse > 50, Core > 48, Anchor > 46)
slopeBull is true — all three RSI slopes over 3 bars are positive (Pulse slope > 0, Core slope > 0, Anchor slope ≥ 0)
Why the triple-stack midline cross is significant: A single RSI crossing 50 is noise. When the Pulse RSI crosses 50 simultaneously with Core RSI already above 48 and Anchor RSI above 46 — all three slopes positive — it means the fast, intermediate, and slow momentum layers are all accelerating upward at the same moment. This is genuine broad-based momentum conviction, not a temporary oscillation. The cascade quality reflects institutional commitment across multiple momentum timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Setup C — DIVERGENCE REVERSAL (Pivot-Based)
The reversal setup using Core RSI pivot divergence. Fires when price makes a new extreme but Core RSI does not confirm it, within the adaptive exhaustion zone context.
Long divergence conditions:
A confirmed price pivot low is below the prior confirmed pivot low — price is making a lower low
The Core RSI at the same pivot low bar is above the Core RSI at the prior pivot low — momentum is making a higher low despite price's lower low
Core RSI at the divergence low is within 8 points of the dynamic oversold level — the divergence is occurring in a genuinely oversold context, not at neutral RSI
A bullish rejection candle confirms on or after the divergence bar
Pulse RSI is rising on the current bar
Current close is above the divergence low — price has recovered off the pivot
Divergence recency window:
Divergence is tracked with a live validity window — the divergence remains active for a configurable number of bars (default: divLen × 2). If no confirming rejection candle appears within this window, the divergence expires. This prevents acting on stale divergence signals that occurred many bars ago.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Setup D — COIL RELEASE (RSI Bandwidth Explosion)
The momentum breakout setup fired by RSI bandwidth decompression. The highest-priority setup in the selection hierarchy.
Long conditions:
coilRelease is true — the Core RSI was compressed on the prior bar and the bandwidth expanded this bar with a minimum Pulse RSI move
Pulse RSI is above the dynamic oversold level — the release is occurring on the bullish side of the exhaustion zone
slopeBull is true — all three RSI slopes are positive, confirming the release is directionally bullish
A bullish candle is present (close above open)
Why COIL RELEASE is the highest-priority setup: RSI bandwidth compression is the most reliable pre-breakout indicator within the RSI framework. When all three RSI layers have converged to the same neutral zone and then the bandwidth suddenly expands with a directional Pulse RSI move, the momentum suppression has lifted and the underlying institutional order flow has revealed its direction. This is the RSI equivalent of CATALYST's squeeze release — and like the squeeze release, the first bar of the release carries the highest momentum intensity of the entire move.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 The Resonance Score — 10-Point Conviction Rating
Every bar, regardless of whether a signal fires, RESONANCE computes a directional conviction score from 0 to 10. This score is displayed live on the dashboard, shown on signal labels when Show Setup Tag is enabled, and used as the minimum gate for all signals — setups below the minimum score threshold (default: 5) are blocked regardless of their setup type conditions.
Score components:
RSI Stack Alignment (up to 2 points):
Full triple-stack (stackBull or stackBear — all three RSIs stacked) scores 2 points. Partial alignment (Pulse and Core both above midline but Anchor lagging) scores 1 point. No alignment scores 0. This is the highest-weight component — genuine triple-stack alignment is rare and carries the most institutional significance.
RSI Slope Agreement (up to 2 points):
All three RSI slopes positive (slopeBull) or all negative (slopeBear) scores 2 points. Pulse and Core slopes aligned (but Anchor flat or lagging) scores 1 point. No slope agreement scores 0. Momentum acceleration across multiple timeframes — not just direction but rate of change — is the key measure of this component.
RSI Hierarchy Alignment (1 point):
For bull: Pulse RSI above Core RSI and Core RSI approximately above Anchor RSI (within 3 points). For bear: Pulse below Core and Core below Anchor within tolerance. This checks that the RSI layers are in the correct relative order — the faster layer leading the slower, which is the natural configuration during genuine trending momentum.
HTF Bias (up to 2 points):
Higher timeframe EMA aligned with the signal direction scores 2 points. When HTF is disabled in settings, 1 neutral point is always awarded. When HTF is enabled and opposes the signal, 0 points.
Volume Expansion (1 point):
Current bar volume meets or exceeds the configured volume threshold.
Non-Chop Market (1 point):
Choppiness Index is below the configured threshold. Also enforced as a hard gate.
EMA Filter (1 point, optional):
Price is on the correct side of the configurable EMA. Off by default.
Grade thresholds:
A (8–10) — elite resonance. Triple-stack, slope agreement, HTF aligned, volume confirmed. The highest-conviction signal the system produces
B (6–7) — strong resonance. Most components confirmed
C (minimum to 5) — acceptable resonance. Passes the gate with partial confirmation
Signal accent colors: Grade A signals render in the brightest yellow-green (bull) or red (bear). Grade B in slightly dimmer versions. Grade C in transparent-tinted versions. The signal triangle's color communicates quality at a glance without reading the dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 Candle Tinting and Phase Background
RESONANCE includes two optional chart coloring systems that provide continuous visual context even between signals.
Candle Tinting (showBarTint):
When enabled (default: on), candles are tinted yellow-green at 78% transparency during stackBull conditions and red at 78% transparency during stackBear conditions. During neutral periods (no full stack), candles retain their default color. This creates a continuous visual momentum ribbon directly on the price chart — you can see at a glance how long a triple-stack condition has been sustained, when it begins, and when it collapses.
Phase Background (showPhaseBg):
When enabled (default: off), a very subtle full-bar background color reflects the current harmonic phase — purple for COIL, faint yellow-green for MARKUP/ACCUM, faint red for MARKDOWN/DISTRIB. Off by default to preserve chart cleanliness, but valuable when studying phase transitions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The 14-row real-time dashboard displays the complete state of the harmonic RSI engine.
PHASE
HARMONIC — current market phase: MARKUP, MARKDOWN, ACCUM, DISTRIB, COIL, or NEUTRAL. Color-coded — purple for COIL, yellow-green for bullish phases, red for bearish phases
SETUP — the current or most recent setup with grade: e.g., "COIL REL ", "SNAPBACK ", "DIV REV ", or "ARM LONG " when approaching a trigger. ARM LONG / ARM SHORT appear when a setup condition is developing but the full signal has not yet fired
RSI STACK
PULSE — the live 7-period RSI value, color-coded yellow-green above the midline and red below
CORE — the live 14-period RSI value with the same color coding
ANCHOR — the live 28-period RSI value — the macro momentum reference
ZONES — the current dynamic oversold / overbought pair (e.g., "22 / 78"), displayed in orange. These are the adaptive exhaustion thresholds that the SNAPBACK setup watches
QUALITY
RESONANCE — the live directional conviction score out of 10. Yellow-green when at or above the minimum threshold, neutral otherwise
HTF BIAS — ▲ BULL, ▼ BEAR, or — FLAT from the higher timeframe EMA structure
CHOP — live Choppiness Index value. Orange when above the stand-aside threshold (the hard gate condition)
COIL BW — the current RSI bandwidth state: "COMPRESSED · xx.x" (purple) when in coil, "OPEN · xx.x" otherwise. When an active trade plan exists, the current TP1 level is appended to this row for quick reference
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
▲ Triangle (below bar) — bull entry signal. Size and color reflect the Resonance Grade — brightest yellow-green for Grade A, dimmer for B, transparent-tinted for C. COIL RELEASE and DIVERGENCE signals render in purple and orange accents respectively to distinguish them visually from SNAPBACK and HARMONIC signals
▼ Triangle (above bar) — bear entry signal with matching grade-based coloring
Setup Tag Label (optional) — when Show Setup Tag is enabled, a small label appears below (bull) or above (bear) the signal showing the setup abbreviation and grade (e.g., "COIL REL A"). Off by default for chart cleanliness
Candle Tinting — yellow-green at 78% transparency during stackBull, red during stackBear. Continuous momentum ribbon effect on the price chart
Phase Background (optional, off by default) — subtle full-bar tint for COIL (purple), MARKUP/ACCUM (faint yellow-green), MARKDOWN/DISTRIB (faint red)
Entry Line (dashed) — the entry close level, extending guideExtend bars forward when Show SL + TP1 + TP2 is enabled
SL Line (red dashed) — ATR-based stop loss level, extending forward
TP1 Line (lime dotted) — first take profit at 1.8× ATR from entry
TP2 Line (bright yellow-green dashed, width 2) — second take profit at 3.2× ATR from entry
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX RESONANCE — Step by Step
Step 1 — Read the Phase and Stack
Check the HARMONIC row on the dashboard. MARKUP or MARKDOWN with a confirmed triple-stack (candles tinted yellow-green or red) is the ideal background condition for HARMONIC BREAK and SNAPBACK entries
Check COIL BW — COMPRESSED means RSI bandwidth is in squeeze mode. Prepare for a COIL RELEASE signal on the upcoming bars
Check ZONES — how far is current price/RSI from the adaptive exhaustion levels? When the CORE RSI is approaching or inside the dynamic zone, a SNAPBACK is potentially developing
Check RESONANCE score. If it is already at or above the minimum before a signal fires, the conditions are favorable. Watch for the triggering setup condition to develop
Step 2 — Identify the Setup Developing
SETUP shows ARM LONG or ARM SHORT when a setup condition is partially met but the full signal has not fired. This is your preparation window — note the entry price, calculate SL and TP positions
COIL BW showing COMPRESSED → watch for the next bar's release. If SETUP shows ARM LONG during a coil, a COIL RELEASE long may fire on the next expansion bar
HARMONIC row switching from ACCUM to MARKUP → the Anchor RSI has crossed 58 and is rising. HARMONIC BREAK long conditions may soon be met as the Pulse RSI approaches the midline from below
Step 3 — Enter on the Triangle Signal
A triangle signal with Grade A coloring (brightest yellow-green or red) is the highest-conviction entry. Enter on the close of the signal bar or the next bar's open
Check which setup fired on the dashboard SETUP row. COIL REL is the premium setup. DIV REV is a high-quality reversal. HARMONIC is a premium continuation. SNAPBACK at minimum score warrants reduced size
Enable Show SL + TP1 + TP2 to see the ATR-based guide levels projected forward from the signal bar
Step 4 — Manage with RSI Context
During a long trade, monitor the PULSE RSI value. When it approaches the dynamic overbought zone (dynOb), partial profit at TP1 becomes prudent — momentum may be approaching exhaustion
If the phase transitions from MARKUP to DISTRIB during an open long trade (Anchor RSI still high but Core RSI rolling over), tighten the stop
If the candle tint disappears (triple-stack collapses), the momentum conviction has weakened — move stop to breakeven or take profit
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
CHOP is orange on the dashboard — the hard gate is active. Extreme chop blocks all signals. RSI oscillates rapidly in choppy conditions and the triple-stack alignments are transient rather than structural
Phase shows NEUTRAL — none of the five phase conditions have been met. The Anchor RSI is in the middle zone (48–52) without a clear slope. Momentum conviction is absent at the macro level
RESONANCE score is exactly at minimum (5/10) — marginal confluence. In neutral or transitional market conditions, minimum-score signals fail at a significantly higher rate. Require 6+ before committing full size
COIL BW is COMPRESSED but no directional RSI slope is present — a coil without slope agreement means RSI has converged but without directional bias. The COIL RELEASE signal requires slopeBull or slopeBear to fire, but if the slopes are flat during the coil, the release direction is unpredictable — wait for a slope to develop before sizing up
HTF Bias opposes the stack direction — a bull triple-stack against a bearish HTF is a counter-trend momentum entry. These work but carry higher reversal risk. Reduce position size or require a Grade A score
SETUP shows ARM LONG but Anchor RSI is in severely bearish territory (below 35) — approaching a SNAPBACK long trigger against a deeply bearish Anchor is a mean-reversion trade against significant macro momentum. The Anchor RSI tolerance condition blocks the signal below midLine − 8, but values near that boundary are still high-risk
The ideal RESONANCE setup:
Phase MARKUP (bull) or MARKDOWN (bear) sustained for 5+ bars
Full triple-stack with positive slopes on all three RSIs
COIL BW just releasing from COMPRESSED state (COIL RELEASE setup) OR Pulse RSI crossing the midline with stack and slope confirmed (HARMONIC BREAK)
HTF aligned with stack direction
Volume above average on the signal bar
RESONANCE score at 8–10 (Grade A)
Chop Index well below threshold
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🎵 Triple-RSI harmonic stack — Pulse (7), Core (14), and Anchor (28) RSIs operating simultaneously, each measuring a different temporal dimension of momentum
📐 Adaptive exhaustion zones — dynamic overbought and oversold thresholds computed from the Core RSI's own percentile distribution over the configurable lookback, replacing fixed 70/30 levels with statistically calibrated thresholds
⚡ RSI Coil Engine — bandwidth compression detection triggering when Core RSI oscillation falls below average × multiplier, with directional coil release detection on bandwidth expansion
📊 Five-phase market classification — MARKUP, MARKDOWN, ACCUM, DISTRIB, COIL — derived from the Anchor RSI level and slope, providing macro momentum context for every signal
🏷 Four setup types — SNAPBACK (adaptive OB/OS exit), HARMONIC BREAK (triple-stack midline cascade), DIVERGENCE REVERSAL (pivot-based Core RSI divergence), COIL RELEASE (RSI bandwidth explosion)
🧠 10-point Resonance Score — RSI Stack (2pts), Slope Agreement (2pts), Hierarchy Alignment (1pt), HTF Bias (2pts), Volume (1pt), Non-Chop (1pt), EMA Filter (1pt, optional)
🎨 Grade-coded signal colors — Grade A in full brightness, B in standard, C in transparent-tinted. COIL signals in purple, DIV signals in orange accent — visual quality differentiation on every triangle
🌈 Candle tinting — bars colored yellow-green during stackBull and red during stackBear, creating a continuous momentum ribbon on the price chart
🔮 ARM LONG / ARM SHORT awareness — dashboard SETUP row shows developing (partially-triggered) conditions before the full signal fires, providing advance preparation
📡 Pivot-based RSI divergence — structural pivot comparisons with live validity window, more robust than slope-based divergence detection
📊 14-row live dashboard — Phase, Setup with grade, all three RSI values, adaptive zones, Resonance Score, HTF Bias, Chop, and Coil bandwidth updated on every bar
🔔 2 alert conditions — RESONANCE Bullish Setup and RESONANCE Bearish Setup
⚙ Fully configurable — all three RSI periods, zone lookback and percentiles, harmonic midline, coil compression multiplier, coil release minimum, all four setup enables, divergence pivot length, cooldown, Resonance minimum, HTF timeframe and EMAs, volume filter, chop gate, optional EMA filter, SL/TP ATR multiples, guide extension, phase background, candle tinting, setup tags, dashboard size and position, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
RSI Harmonic Stack
Pulse RSI Length — the fastest RSI layer for snapback timing and coil release triggering (default: 7)
Core RSI Length — the intermediate layer for divergence detection and bandwidth measurement (default: 14)
Anchor RSI Length — the slowest layer for phase classification and macro context (default: 28)
Adaptive Zone Lookback — bars used to compute the Core RSI percentile distribution for the dynamic exhaustion zones (default: 100)
Exhaustion Percentile High — percentile level defining the dynamic overbought threshold (default: 82)
Exhaustion Percentile Low — percentile level defining the dynamic oversold threshold (default: 18)
Harmonic Midline — the RSI equilibrium level used as the HARMONIC BREAK trigger and phase divider (default: 50)
RSI Coil Engine
Coil Lookback — bars used to compute RSI bandwidth and its average (default: 20)
Coil Compression Mult — bandwidth must fall below average × this multiplier to activate the compressed state (default: 0.72)
Coil Release Min RSI Move — minimum single-bar Pulse RSI movement required to register a release (default: 2.5 RSI points)
Live Setups
Snapback (adaptive OB/OS exit) — toggle the adaptive exhaustion zone exit setup
Harmonic Break (50-line cascade) — toggle the triple-stack midline crossover setup
Divergence Reversal — toggle the pivot-based Core RSI divergence setup
Coil Release — toggle the RSI bandwidth decompression setup
Divergence Pivot Length — bars each side for RSI and price pivot confirmation (default: 5)
Signal Cooldown (bars) — minimum bars between consecutive signals (default: 6)
Resonance Gate
Min Resonance Score (of 10) — minimum score to fire any signal (default: 5)
Hard HTF Alignment — when on, counter-HTF signals are fully blocked
HTF Trend Bias / HTF Timeframe / HTF Fast / HTF Slow EMA — higher timeframe parameters (defaults: on / 60-minute / 21 / 55)
Volume Confirm / Volume vs Avg / Volume Avg — volume expansion layer parameters (defaults: on / 1.1× / 20 bars)
Block Extreme Chop / Choppiness Length / Chop Block Above — chop gate parameters (defaults: on / 14 / 62.0)
EMA Price Filter / EMA Length — optional price EMA directional filter (default: off / 21)
Entry / Exit Guides
Show SL + TP1 + TP2 — toggle the guide line system (default: off)
ATR Length — ATR calculation lookback (default: 14)
SL (xATR) — stop loss distance from entry in ATR multiples (default: 1.2)
TP1 (xATR) — first take profit distance (default: 1.8)
TP2 (xATR) — second take profit distance (default: 3.2)
Guide Extend (bars) — how many bars forward guide lines project (default: 30)
Display
Show Entry Markers — toggle signal triangle shapes
Subtle Phase Background — toggle the harmonic phase background tinting (default: off)
Phase Background Opacity — background transparency when enabled (default: 96)
Tint Candles by Bias — toggle yellow-green/red candle tinting during triple-stack conditions (default: on)
Show Setup Tag (A/B/C) — toggle setup name and grade label on signal bars (default: off)
Show Dashboard — toggle the full dashboard
Dashboard Text Size — Standard / Small
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Resonance Up — yellow-green for bullish signals, tinting, and stack indicators
Bull Signal — bright yellow-green for Grade A bull signal triangles
Bear / Resonance Down — red for bearish signals and stack indicators
Bear Signal — bright red for Grade A bear signals
Coil / Harmonic Accent — purple for COIL phase, RSI coil markers, and COIL RELEASE signals
Snapback Accent — orange for SNAPBACK signals, divergence accents, and ZONES dashboard row
Stop Line / TP1 Line / TP2 Line — individual guide line colors
Neutral — gray for neutral states and inactive dashboard rows
Dash Text / Dash BG / Dash Header / Dash Section / Dash Frame — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (2 total)
RESONANCE Bullish Setup — all long conditions confirmed. Pulse RSI trigger, Resonance Score above minimum, chop gate clear, HTF alignment met
RESONANCE Bearish Setup — all short conditions confirmed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M5–H1 :
Triple RSI at 7/14/28 — the 2× doubling ratio creates clean harmonic separation between the three layers. Each layer is exactly twice as slow as the prior one, producing independent but harmonically related readings
Adaptive zone lookback at 100 bars — approximately 8 hours on M5, sufficient to calibrate the percentile distribution to current intraday volatility conditions
Coil multiplier at 0.72 — requires RSI bandwidth to fall below 72% of its average to declare compression. Tight enough to catch genuine coils without excessive false compressions
Resonance minimum at 5 — balanced between frequency and quality. Raise to 6–7 for higher conviction filtering
For other instruments or timeframes, adjust:
M1–M3 scalping — reduce RSI periods to 5/9/18, reduce Adaptive Zone Lookback to 60, reduce Cooldown to 3, reduce Guide Extend to 15, reduce Coil Release Min to 1.5
H4–Daily swing trading — increase RSI periods to 9/21/42, increase Zone Lookback to 200, increase TP2 to 5.0× ATR, raise Min Resonance to 6
Crypto (BTC, ETH) — increase Adaptive Zone Percentile High to 85 and Low to 15 for the wider RSI distribution of crypto. Increase Coil Release Min to 3.0 for the larger single-bar RSI moves
Indices (NAS100, US30) — use EMA Price Filter with a 50-period EMA, increase Min Resonance to 6, restrict via session filter to cash market hours
More signals — lower Min Resonance to 4, reduce Cooldown to 3, enable all four setups, widen adaptive zone percentiles (75/25)
Ultra-selective only — raise Min Resonance to 7–8, enable Hard HTF Alignment, enable EMA Price Filter, require Grade A minimum (increase minResonance to 8), disable SNAPBACK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
📊 Momentum and RSI traders who want more than a single oscillator — RESONANCE is the definitive multi-period RSI implementation in the AlphaX suite. Three periods, five phases, four setups, and a 10-point scoring system replace the single-line RSI with a complete momentum intelligence framework
🎵 Traders who understand that momentum has layers — the 7/14/28 harmonic stack separates fast momentum (entry timing), intermediate momentum (structural backing), and slow momentum (macro context) into three distinct readings that must align before the highest-quality signals fire
📐 Traders who struggle with fixed RSI overbought/oversold levels — the adaptive exhaustion zones calibrate to the actual RSI distribution of the current instrument at the current time, producing thresholds that are statistically meaningful rather than arbitrary
⚡ Volatility coil traders who want the RSI-domain equivalent — the RSI Coil Engine applies the compression-and-release concept from CATALYST to the momentum domain, detecting RSI bandwidth squeezes that precede explosive directional moves
🔀 Mean-reversion and trend-following traders simultaneously — SNAPBACK entries are mean-reversion (adaptive OB/OS exits). HARMONIC BREAK entries are trend continuation (triple-stack midline). Both are available within the same system, automatically selected based on which fires first
🥇 Gold and forex intraday traders — the 7/14/28 RSI stack with adaptive zones is particularly effective on XAUUSD and major forex pairs where the RSI distribution shifts significantly between trending and ranging sessions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. All RSI computations, stack alignments, divergence detections, and confluence scoring finalize on confirmed bars
The adaptive exhaustion zones require the full Adaptive Zone Lookback period to calibrate. On charts with fewer bars than the lookback setting, the dynamic thresholds may not reflect accurate percentile distributions. Allow at least the full lookback period (default: 100 bars) to accumulate before treating the SNAPBACK setup as fully calibrated
The RSI Coil Engine's bandwidth average also requires the Coil Lookback period to stabilize. On fresh chart loads, the COMPRESSED state may trigger briefly before the average has fully computed — this resolves naturally within the coil lookback period
The divergence validity window (divLen × 2 bars after detection) means divergence signals can fire up to 10 bars (default divLen 5 × 2) after the actual pivot low or high. The confirming candle requirement prevents stale divergences from generating signals without fresh price confirmation
The candle tinting applies the stackBull/stackBear condition which uses a ±2 to ±4 tolerance buffer around the midline for Core and Anchor RSIs. This prevents the tinting from flickering on and off as Core or Anchor RSIs oscillate near the midline. The tint represents sustained broad stack alignment, not momentary
Guide lines (SL, TP1, TP2) are only drawn on the last bar and are redrawn whenever a new signal fires. They reflect the most recent active trade plan
The indicator does not track open positions or P&L; and does not connect to any broker or account
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who understand that momentum is not a single number — it is a harmonic relationship between fast energy, intermediate conviction, and slow institutional commitment. Indicator

Indicator

Indicator

Auto Fibthe Fib level in yellow are not that visiblile i want to adjust the size of themAdding configurable inputs for line visibility adjustmentsAdding configurable inputs for line visibility adjustmentsLet me look at how the fib lines and labels are currently configured, and what inputs exist:Architected configurable inputs for Fibonacci line visibilityArchitected configurable inputs for Fibonacci line visibilityFound it. The fib lines are hardcoded to width=1 and style=line.style_dotted, and labels to size=size.small — that's why they're faint. I'll add user-adjustable inputs for line width, line style, and label size so you can tune visibility yourself. Let me view the input section first:View the fib input declarations to add new appearance inputsView the fib input declarations to add new appearance inputsNow let me add the appearance inputs and their mapping:Add line width, line style, and label size inputs for fib visibilityAdd line width, line style, and label size inputs for fib visibilityNow update the six line.new calls to use the new inputs:Apply fibStyle and fibWidth to all six fib linesApply fibStyle and fibWidth to all six fib linesNow update the six labels to use the adjustable size and a more visible background:Edited a file, read a fileEdited a file, read a fileDone. Three new controls in the Levels settings group:
Fib line width (1–5, default now 2) — the main visibility lever
Fib line style — Solid / Dashed / Dotted (default now Solid)
Fib label size — Tiny / Small / Normal / Large / Huge (default now Normal)
I also bumped the defaults toward more visible (solid, width 2, normal labels) and made the label backgrounds less transparent (60 instead of 80), so they'll stand out more right away. If solid width-2 is too heavy, drop width back to 1 or switch to dashed. Recompile in PulseWire and tune from the settings panel.Mes fib countertouch v1PINE ok now we need to remove everything what has nothing to do with the Fiblevels, i do not need to send a signal i just want the fib levles.
Als the name needs to be "Auto Fib"Strategized script refactoring to isolate Fibonacci levels functionality exclusivelyStrategized script refactoring to isolate Fibonacci levels functionality exclusivelyLet me read the full script to see exactly what's fib-related and what's signal/trade logic to strip out:Distinguishing Fibonacci-only features from extraneous signal componentsDistinguishing Fibonacci-only features from extraneous signal componentsLet me see the truncated middle section to understand the full structure:Architected stripped-down indicator retaining only Fibonacci level functionalityArchitected stripped-down indicator retaining only Fibonacci level functionalityThis is a big strip-down — I'll remove all the signal state, entry/exit logic, force-flat, trade lines, plotshape markers, export plots, and the entire webhook block, keeping only the fib build/draw code (plus the session divider, since it marks the fib build window). Renaming to "Auto Fib" and saving as a clean new file so your strategy version stays intact.Created a file, read a fileCreated a file, read a fileDone. Auto_Fib.pine — clean display-only indicator, named "Auto Fib".
Kept (everything fib-related):
Build window inputs (15:00 start → 02:00 freeze, excluding the 02:00 candle)
The 6 fib levels in trend direction, frozen at 02:00, drawn to 14:00
All your visibility controls (color, line width, line style, label size, sessions to display)
Session divider at the build start (optional toggle)
Removed (~310 lines):
Entire signal state machine — entries, exits, TP/SL brackets, force-flat, max-trades, skip-list, used-levels
Trade lines + entry/exit plotshape markers
Invisible export plots (the Python-backtest columns)
The whole webhook/alert block + the Signals, Webhook, and trade-Display input groups
Went from 421 lines to ~135. Recompiles to a pure overlay that just paints the fib levels. Your MES_Fib_CounterTouch_v1.pine is untouched if you ever want the signal version back.Auto fibPINE What time does the fib level gets generated and what time is it using ?Analyzed script logic to pinpoint generation timing and timezoneAnalyzed script logic to pinpoint generation timing and timezoneTwo things, both pulled straight from the script:
Timezone: Everything runs on Pacific Time — America/Los_Angeles, hardcoded. It's DST-aware (auto-shifts PST↔PDT), and it's independent of whatever timezone your PulseWire chart is set to display. So even if your chart shows exchange time or UTC, the fib build is using PT internally.
When it's generated: At the close of the 02:00 PT candle. That's the freezeNow trigger — the first confirmed bar where PT time crosses 02:00. At that moment it takes the accumulated session high/low, picks the trend direction (green if the 02:00 close is above the 15:00 open, red if below), computes the six levels, and draws them.
What data goes into it: the candles from 15:00 PT through 01:59:59 PT — the 02:00 candle itself is excluded (that's the fix from earlier; freeze runs before that bar gets accumulated). The lines are then drawn from 02:00 PT out to 14:00 PT the same day.
All three times are adjustable in the Fib Levels input group (build start, freeze/end, line end), but the defaults are 15:00 → 02:00 build, drawn to 14:00.i want to publish it can you give me a discriptionHere's a description for publishing:
Auto Fib
Auto Fib automatically plots six Fibonacci levels each day, built from the overnight session and projected across the following trading day.
How it works
At the close of the 02:00 PT candle, the indicator measures the range of the overnight session — from 15:00 PT the prior afternoon through 01:59:59 PT. It determines direction from that session's move (bullish if the session closed above its open, bearish if below), anchors the 0% point accordingly, and computes six levels: -1.236, -0.786, -0.236, 0.236, 0.786, and 1.236. The levels freeze at 02:00 and are drawn as clean horizontal segments across the day to 14:00 PT.
Because the levels are locked once the session closes, they don't repaint — what you see at 02:00 is what stays on the chart.
Settings
Build window — fully adjustable start, freeze, and line-end times (defaults: 15:00 build start → 02:00 freeze → 14:00 line end, all Pacific Time)
Appearance — line color, width, and style (solid / dashed / dotted); label size; and how many past sessions to keep on screen
Session divider — optional vertical marker at the build-window start
All times run on Pacific Time internally and are DST-aware, independent of your chart's display timezone.
Notes
This is a display-only indicator — it draws levels and does not generate buy/sell signals or send alerts. It works on any intraday timeframe; lower timeframes (1–15 min) give the most precise session range. Designed and tested on index futures (MES/ES), but it runs on any symbol. Indicator

Indicator

Indicator

RPFXBYDAN - Multi-Session Range & Pre-Market Highlighter# Multi-Session Range & Pre-Market Highlighter
An educational visualization tool that automatically highlights three key intraday time windows for the New York, London, or Tokyo sessions: a pre-market window ahead of the exchange open, a short opening range around the open, and the regular trading session that follows. Designed to help chart readers see how price behaves across these fixed time blocks each day.
This script does not generate trade advice, does not predict future price movement, and does not backtest a strategy. It is a visualization overlay that draws boxes and reference levels based purely on session time and the price action of the current chart.
## What It Displays
The indicator identifies and marks three distinct intraday windows in the timezone of the selected market:
1. **Pre-Market Window** — A short block of time ahead of the exchange open. By default this is a 15-minute window starting 1.5 hours before the trading session begins. The high and low across this window are recorded and drawn as a translucent box with optional dashed reference lines.
2. **Opening Range Window** — The 15 minutes immediately before the regular trading session begins. During this window, the indicator records the highest high and lowest low. When the window ends, those two prices are locked and drawn as horizontal reference levels for the rest of the day.
3. **Trading Session** — The regular exchange hours. During this window, the indicator continues to display the locked reference levels from the opening range and observes when price crosses above the upper level or below the lower level. Cross events are marked on the chart with small directional markers.
All three windows reset automatically at the start of each new trading day.
## How Reference Levels Are Formed
For each new trading day, the indicator tracks the highest high and lowest low of every bar within the opening range window. When the window closes, these two prices become that day's fixed reference levels. They remain drawn on the chart through the rest of the session so the viewer can see the day's early range relative to subsequent price action.
The pre-market window works the same way independently — its own high and low are recorded and shown, giving context for how the market moved into the open.
## Cross Events
Once the opening range levels are locked and the trading session is open, the indicator observes when the current bar crosses above the upper reference level or below the lower reference level. The trigger can be configured to any of the following:
- **Close** — Requires a bar to close beyond the level.
- **High / Low** — Any intrabar high or low print beyond the level triggers.
An optional **retest confirmation** filter can also be enabled: after an initial cross, a return to the level and a re-cross in the same direction is required before the event is marked. A limit of one event per direction per day can also be enabled to keep the chart clean.
Cross events are informational only — they mark where price interacted with the reference level. They are not trade signals and do not constitute a recommendation to buy, sell, hold, or take any action.
## Built-in Session Presets
Selecting a Market applies the standard hours for that exchange, evaluated in the exchange's own timezone (so it works correctly regardless of your chart's timezone):
- **New York (NYSE/NASDAQ)** — Opening Range 09:15-09:30, Trading 09:30-16:00 America/New_York
- **London (LSE)** — Opening Range 07:45-08:00, Trading 08:00-16:30 Europe/London
- **Tokyo (TSE)** — Opening Range 08:45-09:00, Trading 09:00-15:00 Asia/Tokyo
Every default can be overridden with custom session strings for non-standard schedules (half-days, futures pit hours, FX-overlap windows, etc.).
## Settings
- **Market & Sessions** — Market selector, "Use Market Defaults" toggle, custom Opening Range and Trading Session strings, and a fine-grained Opening-Range Start Offset control that nudges only the OR start time in 1-minute steps.
- **Your Local Timezone** — Display-only. Controls the timezone shown in the local column of the info table. Does not affect any calculations.
- **Signal Logic** — (This group controls the cross-event trigger.) Choose trigger source (Close vs High/Low), enable the retest filter, set the retest window, and toggle the one-event-per-side-per-day cap.
- **Pre-Market Marker** — Enable/disable, minutes before exchange open, window length, and style controls.
- **Visuals** — Toggles and color/width controls for the opening range box, reference lines, midline, on-chart markers, and info table.
## Info Panel
An optional info panel in the top-right corner of the chart shows the selected market, both timezones, and the resolved time window for each of the three windows in both the exchange timezone and your local timezone.
## Alerts
The indicator provides three alert conditions:
- **Range High Break** — Fires when price crosses above the locked upper reference level (after the OR window has closed).
- **Range Low Break** — Fires when price crosses below the locked lower reference level (after the OR window has closed).
- **Opening Range Locked** — Fires at the moment the opening range window ends and the reference levels are finalized for the day.
## Timeframes and Instruments
The indicator is designed for intraday timeframes (1-minute through 15-minute typically works best). It is compatible with any instrument that has intraday data, including stocks, futures, indices, forex, and crypto. Non-standard trading hours can be handled by disabling defaults and typing custom session strings.
## Educational Notes on the Opening Range Concept
The opening range is a well-known chart-reading concept: the high and low of a fixed early portion of the trading day. Many chart readers use these levels as visual reference points for evaluating subsequent price action. This indicator does not endorse or recommend any particular way of using them — it simply draws the levels consistently and lets the viewer study them.
## Disclaimer
This script is provided for educational and informational purposes only. It is a visualization tool that highlights configurable price windows on the chart; it is not a trading system, is not trading advice, and does not constitute a recommendation to buy, sell, hold, or take any other action with respect to any instrument. Trading and investing carry substantial risk of loss. Past price behavior is not indicative of future results. You are solely responsible for any decisions you make based on what you see on your chart. Always do your own research and consider consulting a licensed financial professional before making any trading or investment decisions.
Indicator

RPFXBYDAN Liquidity Sweep Cascade [SMC]# Publication settings
**Publish this open-source, not invite-only/closed-source.** Every concept used here (liquidity sweeps, CISD, FVG, order blocks, kill zones, SMT divergence) is public-domain ICT/SMC terminology, not proprietary logic — PulseWire's moderators specifically hold closed-source and invite-only scripts to a much higher bar (you have to justify what's unique enough to hide, and why it's worth paying for). Open-source sidesteps that requirement entirely and is the safer, more defensible choice for a script built from publicly-known building blocks combined in an original way.
# Title
RPFXBYDAN Liquidity Sweep Cascade
# Description
**Why these pieces are combined (not a mashup for its own sake)**
Each concept here exists to solve a specific failure mode of using it alone. A liquidity sweep by itself is noise — most swing highs/lows get taken out without reversing. Requiring a CISD (a shift in orderflow) after the sweep filters out sweeps that don't actually reverse. Requiring the entry to land inside a Fair Value Gap in the discount/premium half of the range filters out CISDs that reverse but leave a bad entry price. None of these three alone is a tradeable signal; the combination is the point.
The three-tier structure exists because a signal on one timeframe alone doesn't tell you if you're trading with or against the bigger picture. Tier 1 establishes the higher-timeframe liquidity/imbalance context. Tier 2 only starts hunting once Tier 1 completes, confirming the reaction on a mid-timeframe inside a session kill zone. Tier 3 only starts once Tier 2 completes, and is the only tier that produces a real stop/target — it's the culmination of the other two agreeing, not an independent signal. That sequential gating (each tier consumed by exactly one attempt from the tier above it) is the original mechanism in this script, not the individual concepts themselves.
SMT divergence and Inverse FVG tracking are optional add-ons layered on top of that same gated engine, off by default, for traders who already use those specific confluences.
**What this is**
A three-tier Smart Money Concepts checklist that only flags a setup once liquidity, structure, and risk all line up across three timeframes:
- **Tier 1 – HTF Context**: a higher-timeframe liquidity sweep reacting into an HTF imbalance (your Point of Interest).
- **Tier 2 – Mid Structure**: inside a session/kill-zone window, a mid-timeframe (default 15m) sweep, shift in orderflow (CISD), and Fair Value Gap / order block — only evaluated once Tier 1 has completed.
- **Tier 3 – Entry**: on your chart's own timeframe, a sweep, CISD, and FVG (or a confirmed Inverse FVG retest if no fresh FVG appears) — only evaluated once Tier 2 has completed. This is the only tier with a defined stop, a fixed R-multiple take-profit, and a Risk:Reward gate.
Optional confluence layers: SMT divergence against a correlated symbol (e.g. ES vs NQ), and an HTF directional bias readout.
A live table shows exactly which of the checklist items are satisfied, tier by tier, so you can see why a setup is or isn't "complete" instead of guessing.
**How to use it**
1. Set Tier 1's HTF input to something meaningfully higher than your chart (e.g. 4H/Daily if you trade 5m-15m).
2. Set Tier 2's mid-timeframe input (default 15m).
3. Enable the kill zone(s) you actually trade (New York AM is on by default).
4. Optionally set a correlated symbol for SMT divergence.
5. Watch the table: green checks across all three tiers plus R:R = a completed setup. Alerts fire automatically on completion (bullish and bearish are separate alert conditions).
**Limitations (read before trusting a green table)**
- This is a deterministic, rule-based approximation of a discretionary trading concept. Every judgment call in the code — how CISD is defined, where the 50% discount/premium line sits, how SMT divergence is measured — is this author's interpretation, not a universally agreed-upon standard.
- Higher-timeframe values only update when that HTF candle closes, by design, so they can lag price intentionally.
- Bar Replay does not render this script's drawings/table live (a PulseWire platform limitation with drawing objects, not a bug in the script) — use a live or normal historical chart to watch it work.
- No indicator predicts the future. Backtest and forward-test on your own instrument and timeframe before risking real money. Nothing here is financial advice.
Indicator

FVG Prime (Fair Value Gap Prime)FVG Prime — Fair Value Gap Suite is a professional Fair Value Gap (FVG) analysis tool designed for traders who use Smart Money Concepts (SMC), ICT concepts, and institutional price action.
The indicator automatically detects bullish and bearish Fair Value Gaps using a strict three-candle imbalance model and provides advanced visualization, mitigation tracking, and optional Buy/Sell signals.
Rather than plotting every imbalance indiscriminately, FVG Prime incorporates multiple filtering and confirmation techniques to help reduce market noise while keeping the chart clean and easy to interpret.
The indicator is suitable for:
• Smart Money Concepts (SMC)
• ICT Methodology
• Price Action Trading
• Swing Trading
• Intraday Trading
• Scalping
• Trend Following
• Pullback Entries
• Market Structure Analysis
The primary objective of the indicator is to identify institutional price imbalances and monitor how price reacts when revisiting those zones. It is designed as a decision-support tool and should always be used alongside proper market structure analysis, risk management, and personal trading rules.
USER INPUTS
1️⃣ FVG Detection Settings
Show Bullish FVG (Default: Enabled)
Displays all detected bullish Fair Value Gaps on the chart. Disable this option if you only want to analyze bearish imbalances.
Show Bearish FVG (Default: Enabled)
Displays all detected bearish Fair Value Gaps on the chart. Disable this option if you only want to analyze bullish imbalances.
ATR Size Filter (Default: Enabled)
Filters out very small Fair Value Gaps by requiring the gap height to exceed a percentage of the current Average True Range (ATR). This helps eliminate insignificant market noise and focuses on stronger institutional imbalances.
ATR Multiplier (× ATR) (Default: 0.25)
Determines the minimum size required for a Fair Value Gap to be plotted.
Minimum Gap Size = ATR × 0.25
Increasing this value results in fewer but generally stronger Fair Value Gaps, while decreasing it allows smaller gaps to be displayed.
ATR Length (Default: 14)
Defines the lookback period used to calculate the Average True Range for the size filter.
Smaller values respond more quickly to changing volatility, whereas larger values produce smoother filtering.
Maximum Active FVGs (Default: 20)
Limits the number of Fair Value Gaps displayed simultaneously on the chart.
Once this limit is reached, the oldest Fair Value Gap is automatically removed to maintain chart clarity and improve performance.
2️⃣ Mitigation Logic
Mitigation Trigger (Default: Midline (CE))
Defines when a Fair Value Gap is considered mitigated.
Available options include:
Touch
The Fair Value Gap is considered mitigated as soon as price touches any portion of the gap.
Midline (CE)
The Fair Value Gap is considered mitigated once price reaches the Consequent Encroachment (50% midpoint). This is the default setting and follows one of the most commonly used ICT mitigation concepts.
Full Fill
The Fair Value Gap remains active until price completely fills the entire imbalance.
After Mitigation (Default: Keep (Dimmed))
Determines what happens after a Fair Value Gap has been mitigated.
Delete
Completely removes the Fair Value Gap from the chart.
Keep (Dimmed)
Keeps the Fair Value Gap visible while significantly reducing its opacity, allowing traders to review historical mitigations without cluttering the chart.
3️⃣ Signal Engine
Show Buy / Sell Signals (Default: Enabled)
Displays Buy and Sell signals generated when price interacts with a valid Fair Value Gap according to the selected signal logic.
Signal Trigger (Default: Rejection Close)
Determines how trading signals are generated.
First Touch
A signal is generated immediately when price enters the Fair Value Gap.
Rejection Close
A signal is generated only when price enters the Fair Value Gap but closes back in the expected direction. This generally produces fewer but higher-quality trading opportunities and is the default option.
EMA Trend Filter (Default: Enabled)
Restricts signals to the prevailing trend.
Buy signals are only generated when price is above the EMA.
Sell signals are only generated when price is below the EMA.
This filter helps reduce counter-trend trades.
EMA Length (Default: 200)
Specifies the period of the Exponential Moving Average used for trend confirmation.
The default 200-period EMA is widely used as a long-term trend filter across multiple markets.
Volume Filter (Default: Disabled)
Requires the signal candle's trading volume to exceed the average volume before a Buy or Sell signal is generated.
This can help remove weaker reactions that occur on low trading activity.
Volume SMA Length (Default: 20)
Defines the moving average period used to calculate average trading volume.
Volume Multiplier (× Vol) (Default: 1.2)
Specifies how much greater the current candle's volume must be relative to the average volume.
For example, a value of 1.2 means the signal candle must have at least 120% of the average volume before a signal is allowed.
4️⃣ Visual Settings
Bullish Color (Default: Green)
Selects the display color used for bullish Fair Value Gaps.
Bearish Color (Default: Red)
Selects the display color used for bearish Fair Value Gaps.
Box Transparency (Default: 78)
Controls the transparency of all Fair Value Gap boxes.
Lower values make the boxes darker and more visible, while higher values make them increasingly transparent.
Age Fade Effect (Default: Enabled)
Gradually increases the transparency of older Fair Value Gaps, allowing newer institutional imbalances to stand out more clearly.
Fade Speed (Bars) (Default: 60)
Controls how quickly older Fair Value Gaps become more transparent.
Higher values create a slower fading effect, while lower values cause zones to fade more rapidly.
Show Midline (CE) (Default: Enabled)
Displays the Consequent Encroachment (50% midpoint) inside every Fair Value Gap.
Show Border (Default: Enabled)
Displays a border around each Fair Value Gap box to improve visibility.
Extend Right (Bars) (Default: 6)
Determines how many future bars each active Fair Value Gap extends across the chart.
Show FVG Text (Default: Enabled)
Displays "FVG ▲" or "FVG ▼" labels inside each Fair Value Gap for easier identification.
INDICATOR LOGIC
FVG Prime continuously scans confirmed candles using the classic three-candle Fair Value Gap model.
A Bullish Fair Value Gap is created when the current candle's low is above the high of the candle two bars earlier while the middle candle confirms bullish continuation.
A Bearish Fair Value Gap is created when the current candle's high is below the low of the candle two bars earlier while the middle candle confirms bearish continuation.
To reduce false positives, the indicator can optionally filter Fair Value Gaps using an ATR-based minimum size requirement.
Once a valid Fair Value Gap is identified, the indicator automatically:
• Draws the Fair Value Gap as a colored box.
• Calculates and displays the Consequent Encroachment (50% midpoint).
• Extends the zone into future candles.
• Tracks whether the Fair Value Gap remains active or has been mitigated.
• Automatically updates the appearance of mitigated zones.
When enabled, the Signal Engine monitors every active Fair Value Gap and generates Buy or Sell signals whenever price revisits an institutional imbalance according to the selected signal mode.
Additional confirmation can be added using:
• EMA Trend Filter
• Volume Confirmation
• Rejection Close Logic
These optional filters help improve signal quality while allowing traders to adapt the indicator to different market conditions and trading styles.
WHY IT IS UNIQUE
Unlike many Fair Value Gap indicators that simply plot every imbalance, FVG Prime focuses on quality, flexibility, and usability.
Key features include:
• Automatic Fair Value Gap Detection
• ATR-Based Noise Filtering
• Multiple Mitigation Methods
• Consequent Encroachment (CE) Midline
• Automatic Mitigation Tracking
• Intelligent Buy & Sell Signal Engine
• EMA Trend Confirmation
• Optional Volume Confirmation
• Automatic Age-Based Fade Effect
• Fully Customizable Visual Appearance
• Automatic Active FVG Management
• Historical Mitigation Visualization
• Performance Optimized Design
• Beginner Friendly with Advanced Professional Features
The indicator is designed to provide institutional-quality Fair Value Gap analysis while maintaining a clean and organized chart.
HOW USERS CAN BENEFIT FROM IT
FVG Prime can help traders:
• Identify institutional price imbalances automatically.
• Discover high-probability pullback zones.
• Improve trade timing using Fair Value Gap reactions.
• Align entries with the prevailing market trend.
• Filter weaker setups using ATR and Volume confirmation.
• Monitor whether institutional imbalances remain active or have already been mitigated.
• Reduce manual chart analysis by automating Fair Value Gap detection.
• Maintain cleaner charts through automatic zone management.
• Build consistent rule-based trading plans around Fair Value Gaps.
• Improve discipline by relying on objective detection rules instead of subjective chart interpretation.
Whether you trade stocks, forex, cryptocurrencies, commodities, or indices, FVG Prime provides a structured framework for identifying and managing institutional imbalance zones across multiple markets and timeframes.
ALERTS
The indicator includes built-in alert conditions for automated monitoring and trading workflows.
Available alerts include:
• Buy Signal
• Sell Signal
• New Bullish Fair Value Gap
• New Bearish Fair Value Gap
• Bullish Fair Value Gap Mitigated
• Bearish Fair Value Gap Mitigated
These alerts can be used with PulseWire Alerts and webhook integrations for notifications or automated execution systems.
DISCLAIMER
This indicator is provided for educational and informational purposes only. It does not provide financial, investment, or trading advice and should not be interpreted as a recommendation to buy or sell any financial instrument. Trading and investing involve substantial risk, and past performance does not guarantee future results. Always conduct your own analysis and apply appropriate risk management before making any trading decisions.
Indicator

Opening Range Breakout (ORB) [martineye15]Opening Range Breakout (ORB) — a configurable, non-repainting opening-range breakout tool. It records the high and low of an opening-range window you define, locks that range at session close, then signals breakouts above or below it and projects a stop-loss and up to three take-profit targets for each one. It is market-agnostic: session, timezone, active days, confirmation style, risk model, filters, visuals and alerts are all inputs, so the same tool adapts to indices, futures, forex, crypto or stocks on any intraday timeframe.
THE OPENING RANGE
- Define the range by session time and timezone (e.g. 0930-0945 New York for the first 15 minutes of the US cash open), with presets for the major world market zones.
- Choose which weekdays are active (Mon to Sun).
- The range builds live during the window, then locks at session close. Optionally extend the locked levels across the rest of the day.
BREAKOUT DETECTION
- Confirmation: require a bar to close beyond the level, or count any wick / touch.
- Signal mode: the first breakout of the day only, or every breakout.
- Optional retest: after the initial break, wait for price to return to the broken level and resume in the breakout direction before signalling.
RISK MODEL
- Stop-loss: opposite OR boundary, OR midpoint, ATR, fixed ticks, or percent.
- Take-profit: risk multiple (R), OR-range multiple, ATR, fixed ticks, or percent, with up to three targets.
- Levels are computed from the entry, drawn with labels, and their hits are tracked bar by bar.
FILTERS
- OR size filter: skip days whose range is too small or too large (in ticks or percent) to avoid low-quality sessions.
- One trade per day.
- Volume confirmation: require the breakout bar's volume to exceed its moving average.
VISUALS & INFO
- Opening-range box and high/low lines, breakout labels, and SL/TP lines, all with configurable colours, width and style.
- Optional session background, and an on-chart info table showing the OR high/low, range size, current state (forming / waiting / filtered / active / closed) and the latest result.
ALERTS
- Opening range formed, bullish breakout, bearish breakout, take-profit hit, and stop-loss hit, with messages that include the symbol, timeframe and levels.
HOW TO USE
Apply it to an intraday chart and set the OR session and timezone to match your instrument — the US cash open, a forex session open, or any window you trade. Tune the stop and target model to your risk approach, add the size, volume or one-trade-per-day filters if you want stricter conditions, and set alerts on the events you care about. Every module toggles independently, so you can keep the chart minimal or fully detailed.
WHAT MAKES IT DIFFERENT
Rather than a fixed opening-range window with a single stop and target rule, everything is parameterised: five stop methods, five target methods with up to three targets, an optional retest condition, size and volume filters, and full timezone / session / weekday control — so one tool fits very different instruments and playbooks while staying non-repainting.
REPAINTING & LIMITATIONS
Breakout signals and stop/target hits are evaluated only on confirmed (closed) bars, so historical and realtime behaviour match — the tool does not repaint. The opening-range box and lines update live while the range is still forming, which is expected. It runs on intraday timeframes only; on daily or higher it displays a notice instead of drawing.
This is a visual, decision-support tool. It is not a strategy, it places no orders and reports no performance statistics, and it is not financial advice. Indicator

Indicator

QSX Crypto Regime Heatmap - AI Pattern Match | 10 CoinsQSX Crypto Regime Heatmap scores the trend health of 10 crypto assets on a
continuous 0-100 scale and renders them as a color-coded dashboard — so you
can read the health of the whole market in a single glance, without flipping
through 10 charts.
This is a market-overview dashboard, not a trading system. It answers one
question fast: which coins are in a strong regime right now, and which are
breaking down.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT IT SHOWS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
For each of the 10 assets, the table displays:
• Price — live price, auto-formatted for large caps and micro-caps
• 24h — daily change with ↑/↓ direction and green/red coloring
• Score — trend health, 0 (weakest) to 100 (strongest)
• Regime — a visual strength bar, red → yellow → green
• Match — AI Pattern Match confidence (explained below)
A Top 3 Strongest / Weakest panel sits at the bottom for an instant read on
where relative strength is concentrated.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW THE SCORE WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The 0-100 Trend Health score blends three continuous signals — not simple
binary above/below-MA flags:
1. Distance from the 200-period MA (how far price is extended)
2. Slope of the 200-period MA (how strong the underlying trend is)
3. Directional bias (which side of the MA price sits on)
A volatility-health component then rewards stable, orderly trends and
discounts high-volatility chop, using a rolling ATR percentile.
ADAPTIVE SCORING automatically adjusts the weight between trend and
volatility per coin, based on how persistent that coin's trend has been —
so trending assets and choppy assets are judged on their own terms.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
AI PATTERN MATCH
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The "Match" column uses a K-Nearest-Neighbors model. It builds a feature
vector from the current regime (trend, volatility, MA slope) and searches
each coin's own history for the most similar past setups, then reads what
happened next.
• High — historically similar regimes tended to resolve upward
• Mid — mixed / neutral historical outcome
• Low — historically similar regimes tended to resolve downward
• Wait — not enough history yet to form a reliable match
Pattern Match is a context signal, not a prediction. Treat it as "what has
this regime tended to lead to," never as a guarantee.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CUSTOMIZE YOUR WATCHLIST
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4 fixed blue-chips (BTC, ETH, SOL, BNB) anchor the board.
6 fully customizable slots let you drop in any symbols you want — majors,
alts, or your current rotation. No waiting for an update to track a new coin.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Strong Breakout — any tracked coin crosses ABOVE score 70
• Weak Breakdown — any tracked coin crosses BELOW score 30
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
★ Best used on the 4H or 1D timeframe. This is a regime dashboard — its job
is to read the bigger picture, and higher timeframes give cleaner, more
stable scores.
★ On very low timeframes (1m–15m) the panel needs to pull deep history for
10 assets and will load noticeably slower. That is expected. If you want
a fast, stable board, stay on 4H / 1D.
★ Green cluster = broad strength, favor long-biased setups on your own
system. Red cluster = broad weakness, tighten risk.
★ Use the Top 3 panel to spot where relative strength is rotating.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NOTES & LIMITATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• In broad bear phases, most scores will sit low together — that is a correct
reflection of the market, not a malfunction.
• The panel updates on the latest bar. Historical bars intentionally do not
render the table.
• Symbols default to BINANCE pairs; you can swap any slot to another exchange.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is for educational and informational purposes only. It is not
financial advice, not a recommendation to buy or sell any asset, and not a
trading system. Scores, Pattern Match values, and alerts describe historical
and current market conditions — they do not predict future prices. Crypto
markets are highly volatile and you can lose money. Always do your own
research and manage your own risk. Past behavior of similar regimes does not
guarantee future results. Indicator

Theta Decay Tracker [AlgoChief]Theta Decay Tracker
What This Indicator Does
When you're holding an option and the underlying index moves, the option's premium doesn't always move the way you'd expect. Part of the gap is Delta (how much the option should move per point of index movement), and part of it is Theta (time decay) eating into your premium — even when the index hasn't reversed.
This indicator separates those two effects on every candle, so you can see exactly how many points you lost purely to time decay, independent of index direction.
How It Works (Logic)
Fetches the underlying index price (NIFTY, BANKNIFTY, FINNIFTY, MIDCPNIFTY, SENSEX, or any custom symbol) alongside your option chart, using request.security on the same timeframe (no repainting, no lookahead).
Solves Implied Volatility live from the option's own closing price using a Newton-Raphson iteration on the Black-Scholes formula — no need to manually check the option chain for IV.
Calculates real-time Delta and Theta using the standard Black-Scholes model (Strike, Time-to-Expiry, IV, Risk-Free Rate).
Compares actual vs expected move, every candle:
Expected Option Move = Delta × Index Move
Decay = Actual Option Move − Expected Move
If Decay is negative while the index barely moved, that gap is mostly time decay (plus minor vega/gamma effects).
Tracks cumulative decay over a configurable lookback window (e.g., last 15 candles) and fires an alert when decay crosses your threshold while the index stays flat/no reversal — this is the clearest signal of pure theta bleed.
How to Use It
Add the indicator to your option's chart (not the index chart).
In settings, pick your Index Preset (NIFTY/BANKNIFTY/FINNIFTY/MIDCPNIFTY/SENSEX) or choose Custom and enter your own symbol.
Enter the Strike Price, Option Type (CE/PE), and Expiry Date & Time.
Leave "Auto-solve IV" ON (recommended) — it reads IV directly from the option's live price.
Adjust the Decay Alert settings:
Lookback (bars) — the time window to check
Decay Threshold — how many points of unexplained loss triggers an alert
Flat Threshold — how much index movement still counts as "no reversal"
Set a PulseWire alert on "Theta Decay Threshold Hit" to get notified in real time.
What It Helps With
Knowing whether your option is losing value because the index moved against you, or purely because of time decay — critical for deciding whether to hold, exit, or roll a position.
Spotting theta acceleration near expiry, especially during range-bound/sideways sessions.
Avoiding the common mistake of blaming "index isn't moving enough" when the real issue is decay eating the premium regardless.
Works on any NSE/BSE index option (or global index options via Custom symbol).
Panel Elements
Green/Red columns: Decay per candle (green = option outperformed delta expectation, red = decayed more than expected)
Orange line: Theoretical Black-Scholes theta/day, for reference
Purple line: Cumulative decay over your lookback window
Red background zone: Marks bars where the decay alert condition is active
Table (top-right): Live IV, Delta, Theta/day, Index move, Expected move, Decay, and Cumulative decay
Important Notes / Disclaimer
This is a Black-Scholes approximation, not a live options-chain feed. The "Decay" value bundles theta with minor vega/gamma effects — it is not a pure isolated theta number.
IV is solved from the option's own price using Newton-Raphson; in illiquid/wide-spread strikes, solved IV can be noisy on individual ticks — use candle-close values for reliability.
This tool is for educational and analytical purposes only. It does not predict future price movement and is not financial advice. Always do your own due diligence before making trading decisions.
Works best on liquid strikes (near or at-the-money) where bid-ask spreads are tight and Black-Scholes assumptions hold reasonably well. Indicator

CRT H4 NomadaScalper [Mntdude65]This is CRT EDGE · H4 · NomadaScalper
Candle Range Theory (CRT) — timed H4 candles, multi-timeframe Turtle Soup, and a self-scoring probability dashboard, built on John Tracy's Time-Based Trading Blueprint.
OVERVIEW
This indicator builds the three timed 4-hour candles the CRT model keys on, maps out the previous candle's high/low across five timeframes (Monthly, Weekly, Daily, H4, H1) with automatic Turtle Soup detection, and scores every setup against the chart's own history — so instead of eyeballing whether "CRT usually works," you get a running, self-updating win-rate for every slot, every session.
Everything is clock-aggregated from the chart's own bars (not repainted from a higher-timeframe security() call), so it stays exact on symbols like CME futures where the native exchange H4 bars don't open at 1/5/9 — the script detects the real native H4 phase and snaps the slots to it automatically.
WHAT IT DRAWS
Timed H4 Candles
— Three 4-hour clock-window candles per day (auto-aligns to 1AM/5AM/9AM on forex-style symbols, 2AM/6AM/10AM on CME futures — matches the real H4 candles Tracy reads, not just a fixed clock guess).
— Full anatomy: range box, body box (bullish/bearish), CRT-High / CRT-Low / 50% lines projected forward with price labels.
— Dashed while forming live, frozen solid at the close.
— Configurable projection window, history depth, and manual override hours if you don't want native alignment.
HTF CRT Levels + Turtle Soup (Tracy multi-timeframe bias)
— Draws the previous completed candle's high/low for Monthly, Weekly, Daily, H4, and H1, each in its own color.
— A Turtle Soup latches when a confirmed candle wicks beyond one of these levels and closes back inside — once per side, per period.
— Bias engine: 3 or more timeframes souped at the lows = BULLISH bias · 3+ at the highs = BEARISH bias · both = CONFLICT (Tracy's rule: stand aside).
— Faded gray "ts·" tags mark these sweeps on the chart, color-coded so you can tell direction at a glance without reading the text: faded red = a high was swept, faded green = a low was swept. Toggle on/off independently.
CRT Box Sweep (★TS)
— A second, distinct sweep detector focused specifically on the CRT box itself (the timed H4 candle's own range), not the HTF levels.
— Marks every candle — not just the first — that wicks beyond the box's high or low and closes back inside, live while the sweeping candle is still forming and finalized the moment it confirms.
— Bold gold "★TS" tag with a user-selectable color, separate toggle from the HTF Turtle Soup marks above.
Session Ranges (Tracy step 3)
— Asia range (8PM–12AM NY) and P12 range (6PM–6AM NY), boxed with the high/low projected forward — a secondary confirmation check against the CRT bias.
CRT EDGE DASHBOARD
A self-computing panel, split into two clearly labeled sections:
LIVE — what has actually happened, right now, on this chart:
— CRT BOX: has this slot's box been swept yet? ▼ red = the box HIGH was swept (bearish) · ▲ green = the box LOW was swept (bullish) · — = neither side yet.
— STATUS: this cycle's live state — forming… / armed · waiting purge / ↓ purged (bearish, high swept) / ↑ purged (bullish, low swept), plus whether price has reached the 50% and/or the full opposite extreme.
HISTORICAL ODDS (all-time %) — a running backtest, not a live target:
— ↑→50% / ↑→HIGH: of all the times this slot's low was purged FIRST (bullish), what % of the time did price also reach the 50% / fully deliver to the CRT-High before the projection window expired.
— ↓→50% / ↓→LOW: the mirror image for a high-purge-first (bearish) scenario.
— Heat-colored by win rate, with a low-sample warning (amber) under 8 occurrences.
Plus a top-line VERDICT row (Tracy's 3+/5 bias rule), an HTF SOUP row showing which of the five timeframes are currently souped, and a footer crediting the underlying concept.
ALERTS
— Standard alertcondition() entries for every candle close and every purge (high/low, per slot) — usable from the classic "Create Alert" dropdown.
— Additional dynamic alert() calls fire alongside them with the actual resolved slot time baked into the message (e.g. the real "2AM" on CME futures rather than a hardcoded "1AM") — select "Any alert() function call" in the Create Alert dialog to receive these.
SETTINGS
— Light/Dark theme (Obsidian & Gold on dark backgrounds).
— Native H4 auto-align on/off, manual slot hours, projection window length, history depth.
— Independent show/hide for every layer: body box, 50% line, labels, each HTF level, HTF Turtle Soup marks, CRT box ★TS marks (with color picker), Asia/P12 sessions, and the dashboard itself (position + size).
HOW TO READ IT
Check the VERDICT row for the multi-timeframe bias.
Watch the LIVE columns (CRT BOX + STATUS) for what's actually unfolding on the current slot.
Use the HISTORICAL ODDS columns as context, not a signal — they tell you how this slot has behaved historically, conditional on a purge already happening.
Cross-check against Asia/P12 session ranges for Tracy's step-3 confirmation.
Best used on chart timeframes of 1m–30m (works up to 4h); a warning label appears if the chart timeframe is too high for the timed candles to resolve.
CREDITS
Concept: John Tracy — Time-Based Trading Blueprint (Candle Range Theory), johntracy.me.
This implementation, the CRT box sweep detection, per-TF sweep coloring, and the probability dashboard: Mntdude65.
This script is provided for educational and informational purposes. It does not constitute financial advice. Past performance (including the historical odds shown on the dashboard) does not guarantee future results. Indicator
