Liquidity Entry Signals [MarkitTick]💡 A comprehensive, multi-faceted approach to identifying potential market reversals based on classic liquidity sweep mechanics. By scanning for instances where price briefly breaches a significant structural high or low before immediately rejecting and closing back within the range, this tool highlights areas where trap-based price dynamics may be in play. It is designed to offer a complete trading framework rather than just a simple signal, integrating dynamic stop-loss and take-profit plotting, real-time advanced dashboard analytics, and comprehensive alert payloads. This indicator assists in bridging the gap between raw price action analysis and structured trade management.
● ✨ Originality and Utility
Many basic technical indicators simply look for higher highs or lower lows without assessing the quality of the rejection. This script elevates that concept by requiring strict closing conditions to validate a sweep. What truly sets it apart is its integration of multiple intelligent filters. Rather than relying on price action alone, users can mandate that sweeps align with the prevailing trend, occur during periods of sufficient volatility, and are backed by relative volume strength.
Additionally, the built-in risk management visualizations automatically calculate position risk parameters right on the chart. By projecting stop-loss and take-profit levels based on current volatility, it transforms a static signal into an actionable trade plan. The inclusion of dynamic JSON payload generation for alerts also makes this an incredibly versatile tool for those looking to automate their execution through third-party platforms.
● 🔬 Methodology and Concepts
The core logic of this script is built around the concept of a liquidity sweep, verified through price action closes, and filtered through statistical market conditions.
Bullish Sweep: The script continuously calculates the lowest low over a user-defined lookback window. A valid bullish signal occurs when the current bar's lowest price penetrates this recent low, but the closing price decisively reclaims it by closing higher than the structural low and higher than its own open.
Bearish Sweep: Conversely, the script identifies the highest high over the recent lookback period. If the current bar's high breaches this level, but the close falls below the recent high and below its own open, a short signal is triggered.
Trend Filtration: The indicator uses a Simple Moving Average (SMA) on both the current chart and a selected higher timeframe to establish a directional bias. Signals that conflict with these moving average baselines are suppressed to prevent counter-trend trading.
Volatility and Volume Analysis: The script evaluates the Average True Range (ATR) as a percentage of the current closing price to ensure sufficient market movement is present. It also compares the current volume to a standard moving average of volume, filtering out setups that lack participation.
● 🎨 Visual Guide
The script draws extensive visual overlays to assist in real-time decision-making and trade management.
• Signal Labels
When a valid sweep occurs, an "LS" label is plotted. Green labels positioned below the candle indicate bullish setups, while red labels above indicate bearish setups.
• Trade Execution Lines
Upon a signal, the indicator projects trade management lines directly on the chart for the next 50 bars.
Entry Line: A dashed blue line marking the closing price of the signal bar.
Stop Loss (SL): A solid red line placed away from the entry, calculated based on the ATR multiplied by the user's risk factor.
Take Profit (TP): Three dashed teal lines representing Take Profit 1, 2, and 3. These are calculated using specific Risk-to-Reward multiples of the stop-loss distance.
• Risk and Reward Zones
Semi-transparent colored fills visually separate the trade zones. A red fill highlights the risk zone between the entry and the stop loss, while a teal fill highlights the reward zone extending from the entry to the final take-profit level.
• Advanced Dashboard
A multi-row informational table appears in the selected corner of the chart. This dashboard provides a real-time status check of the prevailing trend bias, the number of bars since the last signal, exact entry/SL/TP price levels, current ATR, and visual progress bars for volatility and signal cooldown periods.
● 📖 How to Use
Traders can utilize this script as a complete top-down methodology for analyzing market structure. First, observe the dashboard to confirm that the current market environment aligns with your desired filters (e.g., ensuring the higher timeframe trend is supportive and volume thresholds are met).
When a valid "LS" label appears on the chart, immediately note the projected Entry, Stop Loss, and Take Profit lines. The dashed blue line serves as your reference for a potential entry point. You can calculate your position sizing based on the fixed distance between this blue Entry line and the solid red Stop Loss line.
The three Take Profit levels allow for a tiered approach to trade management, enabling partial profit-taking as the price advances in your favor. Advanced users can configure the custom string inputs to send highly detailed webhook payloads directly to execution platforms, passing the exact dynamically calculated price levels directly to their broker.
● ⚙️ Inputs and Settings
The script is highly customizable through categorized input groups, allowing adaptation to any asset class or timeframe.
• SMC Settings
Sweep Lookback: Defines the number of historical bars used to calculate the structural high and low points.
• Smart Filters
Trend Filter: Enables an SMA condition to dictate the allowed signal direction.
Volatility Filter: Requires the ATR to be a minimum percentage of the asset's price before a signal can fire.
Volume Filter: Demands that the current bar's volume exceeds a defined multiple of the volume moving average.
HTF Timeframe: Selects the specific higher timeframe used for long-term trend alignment.
Signal Cooldown: Prevents consecutive signals within a specified number of bars to reduce chart noise during extended consolidations.
• Trade Tools
SL ATR Mult: Determines the distance of the Stop Loss based on the current ATR, adjusting risk based on market volatility.
TP1 / TP2 / TP3 RR: Sets the specific Risk-to-Reward multiples for the three profit targets.
• Alerts
Action Strings: Customizable fields to inject specific commands into the JSON alert payloads for entries, exits, and partial take-profits.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
From a market microstructure perspective, liquidity sweeps represent a temporary imbalance in supply and demand. In auction market theory, price frequently probes beyond established boundaries to test for the presence of resting orders. When price penetrates a historical extreme but fails to sustain value there—evidenced by the immediate reversal and closing within the prior range—it indicates an absorption of liquidity by counter-trend market participants. This exhaustion of directional momentum is a well-documented phenomenon in order flow analysis.
To normalize these price extensions, the indicator applies the Average True Range (ATR). Developed by J. Welles Wilder, the ATR provides a robust statistical measure of absolute price volatility, capturing gaps and limit moves that standard standard-deviation metrics might underrepresent. By tying the Stop Loss logic directly to the ATR, the indicator adapts to heteroskedasticity, which is the changing variance of asset returns over time. This ensures that risk parameters dynamically widen during highly volatile periods to prevent premature stop-outs, and contract during quiet phases to optimize capital efficiency.
Furthermore, the reliance on moving averages for trend and volume filtration applies fundamental time-series smoothing. This inherently mitigates the noise of high-frequency price fluctuations, ensuring that the localized microstructure event (the sweep) is aligned with the macro directional drift of the broader dataset.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Indicator

DELTA Stochastic🔵 DELTA Stochastic** is a self-configuring stochastic oscillator that selects the right variant, OB/OS thresholds, trend filter, and signal parameters automatically based on what you're trading and what timeframe you're on. Drop it on a chart and it works — no manual tuning required.
* * *
### Why another stochastic?
The classic stochastic has two failure modes:
1. **Wrong speed** — a 14,3,3 stoch is too slow for scalping and too noisy for swing trading. Most traders pick one and use it everywhere.
2. **Catching falling knives** — mean-reversion setups against a strong trend destroy accounts. Most stochastics don't know which direction the trend is going.
DELTA Stochastic solves both by auto-routing the lead variant to the chart timeframe and gating signals with a trend EMA filter.
* * *
### Auto-Routing — One Lead Line Per Chart
| Timeframe | Lead stochastic | Settings |
| --- | --- | --- |
| ≤ 5m (fast) | Fast StochRSI | 3,3,14,14 |
| 15m–2H (medium) | Standard Stoch | 14,3,3 |
| 4H+ / Daily (slow) | Slow StochRSI | 5,5,21,21 |
You always see one clean K/D pair. No multi-line clutter. No averaging that dilutes signals.
* * *
### 5 Asset Presets
Preset routing adjusts OB/OS thresholds, cooldown, trend filter, and EMA length per asset class:
* **X-ETF** — leveraged ETFs (SOXL, TQQQ, etc.) · tight 80/20 zones · fast 20-EMA filter
* **STK** — stocks (AAPL, PLTR, etc.) · 75/25 zones · 50-EMA filter
* **ETF** — non-leveraged funds (SPY, QQQ) · 75/25 · 50-EMA filter
* **Met** — miners and metals (AG, SLV, NUGT, GDX) · wider 73/27 zones
* **CPT** — crypto (BTC, ETH) · 78/22 · trend filter OFF by default
Detection is fully automatic. A 🎯 in the info table means auto-detected. ✋ means manually overridden.
* * *
### 3 Signal Types
🟢 **BUY triangle** — K crosses above D inside the OS zone (with trend filter agreement)🔴 **SELL triangle** — K crosses below D inside the OB zone (with trend filter agreement)💎 **S-BUY / S-SELL** — cross + divergence within the lookback window = highest conviction setup
Plain triangles = watch. 💎 labels = act with conviction.
* * *
### Momentum K Line Coloring
Default mode mirrors SMTF-style trend coloring:
* 🟢 **Green** = K above D and rising — bullish momentum flowing
* 🔴 **Red** = K below D and falling — bearish momentum flowing
* 🟡 **Yellow** = flat or transitioning — wait
Alternative modes: **Zone** (OB=red / OS=green) or **Flat Cyan** (monochrome).
* * *
### Divergence Engine
Ported from **tista's "Stochastic RSI Divergences"** (MPL 2.0, attribution preserved).
Detects all four divergence types — regular bullish/bearish and hidden bullish/bearish — on the smoothed lead K. Pivot lookback of 5 bars on each side = **repaint-free signals** (fires 5 bars late, never redraws history).
Divergences feed directly into the 💎 Strong Signal logic — a cross that agrees with a recent divergence upgrades to S-BUY or S-SELL automatically.
* * *
### Info Table (top-right)
Shows live: preset, TF tier, K value + zone status, last signal, and signal count today.
* * *
### Alerts
Six alert conditions: BUY · SELL · S-BUY · S-SELL · Bull Divergence · Bear Divergence
All alerts respect the signal cooldown — no duplicate alerts in choppy zones. Wire to TradersPost, Telegram, or any webhook-compatible service.
* * *
### Part of the DELTA Trading Suite
DELTA Stochastic is designed to run alongside **🔺 DELTA Go Desk** (master dashboard) and includes a Go Desk integration hook for future confluence scoring.
-------------------------------------------------------------------------------------------
🔵 DELTA Stochastic — Quick Start Guide
**Part of the DELTA Trading Suite · PJ_FatCat (DELTA Trading)***v2.13+ · Pine Script v6 · PulseWire*
* * *
## What It Does in 30 Seconds
DELTA Stochastic automatically selects the right stochastic variant for your asset and timeframe — one clean K/D pair, three signal types, and a divergence engine underneath. Drop it on any chart and it routes itself.
* * *
## The 3 Signal Types
| Signal | What it means | How to act |
| --- | --- | --- |
| 🟢 **BUY triangle** | K crosses above D inside the OS zone | Entry candidate — confirm with trend tint |
| 🔴 **SELL triangle** | K crosses below D inside the OB zone | Exit/short candidate |
| 💎 **S-BUY / S-SELL** | Cross + divergence within 10 bars | Highest conviction — size up |
> **Rule of thumb:** Plain triangles = watch. 💎 labels = act.
* * *
## 5-Minute Setup
### Step 1 — Load the indicator
Add `🔵 DELTA Stochastic` to any chart. It auto-detects everything.
### Step 2 — Check the info table (top-right of pane)
| Table field | What to look for |
| --- | --- |
| **Preset** | 🎯 = auto-detected · ✋ = manual override needed |
| **Lead** | Which stochastic is active (Fast StochRSI / Standard Stoch / Slow StochRSI) |
| **K value** | Live K reading + zone status (OVERBOUGHT / OVERSOLD / Bullish / Bearish) |
| **Signal** | Last signal fired this session |
| **Today** | Count of buys and sells fired today |
### Step 3 — Confirm the preset is right
* On SOXL/TQQQ → should show **X-ETF 🎯**
* On AAPL/AMZN → should show **STK 🎯**
* On AG/SLV/NUGT → should show **Met 🎯**
* On BTC/ETH → should show **CPT 🎯**
* On SPY/QQQ → should show **ETF 🎯**
If wrong: Settings → **Instrument** → pick the right one manually.
### Step 4 — Confirm Auto-Apply is ON
Settings → **🎯 Auto-Apply Preset** → ON ✅
This is the master switch. OFF = fully manual, you're on your own for all 6 parameters.
* * *
## The K Line Colors
Default mode is **Momentum** (SMTF-style):
| Color | Meaning |
| --- | --- |
| 🟢 **Green** | K > D and rising — bullish momentum flowing |
| 🔴 **Red** | K < D and falling — bearish momentum flowing |
| 🟡 **Yellow** | Flat or transitioning — stand aside |
Alternative modes (Settings → **K Line Color Mode**):
* **Zone** — green in OS, red in OB (pure mean-reversion view)
* **Flat Cyan** — monochrome, no dynamic color
* * *
## Trend Filter (Default ON for all non-crypto)
The trend filter blocks counter-trend signals:
* **BUY signals only fire when price is ABOVE the trend EMA**
* **SELL signals only fire when price is BELOW the trend EMA**
This is the #1 protection against catching falling knives. Leave it ON unless you're testing raw stochastic crosses.
> ⚠️ **CPT (crypto) only:** Trend filter defaults OFF. Silvia P8 showed it doesn't help on BTC.
* * *
## Auto-Routing Logic
| Chart timeframe | Lead stochastic selected | Why |
| --- | --- | --- |
| ≤ 5m | Fast StochRSI (3,3,14,14) | Speed for scalps |
| 15m – 2H | Standard Stoch (14,3,3) | Balanced noise/speed |
| 4H+ / Daily | Slow StochRSI (5,5,21,21) | Structure, fewer false signals |
Override: Settings → **Timeframe Tier** or **Lead Stochastic** → select manually.
* * *
## Per-Asset Preset Defaults
| Preset | OB/OS | Cooldown | Trend Filter | EMA | Notes |
| --- | --- | --- | --- | --- | --- |
| **X-ETF** | 80/20 | 6 bars | ✅ ON (20-EMA) | 20 | Fast-trending leveraged |
| **CPT** | 78/22 | 8 bars | ❌ OFF | 50 | Crypto — Silvia P8 |
| **STK** | 75/25 | 4 bars | ✅ ON (50-EMA) | 50 | Standard stocks |
| **ETF** | 75/25 | 5 bars | ✅ ON (50-EMA) | 50 | Non-leveraged funds |
| **Met** | 73/27 | 5 bars | ✅ ON (50-EMA) | 50 | Miners / metals (wider zones) |
> All presets are Silvia-validation pending (Project 14e). Treat as smart defaults, not gospel.
* * *
## The Divergence Engine
Ported from tista's "Stochastic RSI Divergences" (MPL 2.0). Runs on a smoothed version of the lead K line.
| Divergence type | What it signals |
| --- | --- |
| **Bull (regular)** | Price making lower lows, K making higher lows → reversal up |
| **Bear (regular)** | Price making higher highs, K making lower highs → reversal down |
| **Bull (hidden)** | Price higher low, K lower low → uptrend continuation |
| **Bear (hidden)** | Price lower high, K higher high → downtrend continuation |
**Key setting:** Pivot Lookback Right (default 5) = signals fire 5 bars late, but are **repaint-free**.
Enable divergence lines: Settings → **Show Divergence Lines** → ON (off by default to keep pane clean).
* * *
## RSI Overlay Line
Optional dashed RSI(14) line on the same 0-100 scale. Mirrors the K line color mode.
**Why it's useful:** When K and RSI agree (both green rising / both red falling) = momentum confluence. When they disagree = one is transitioning ahead of the other = potential turn warning.
* * *
## Alerts Setup
Six alert conditions available:
| Alert name | When it fires |
| --- | --- |
| `BUY Signal` | Any BUY (plain or strong) |
| `SELL Signal` | Any SELL (plain or strong) |
| `STRONG BUY (cross + divergence)` | 💎 S-BUY only |
| `STRONG SELL (cross + divergence)` | 💎 S-SELL only |
| `Bullish Divergence` | Any bull divergence confirmed |
| `Bearish Divergence` | Any bear divergence confirmed |
**Alert cooldown is automatic** — baked into the same signal cooldown logic. No duplicate alerts in choppy zones.
* * *
## Go Desk Integration Hook
Settings → **🔵 DELTA Stoch Active (Go Desk hook)** → ON
Turn this on when DELTA Stochastic is on your chart. A future Go Desk version will read this flag to incorporate stochastic confluence into its overall signal score.
No functional effect in the current Go Desk version — it's a reserved wire.
* * *
## Quick Troubleshooting
| Problem | Fix |
| --- | --- |
| No signals firing | Check trend filter isn't blocking everything. Try Settings → Trend Filter → OFF temporarily to test. |
| Too many signals | Increase signal cooldown (default 6). Try 8–10 for noisy assets. |
| Wrong preset auto-detected | Settings → Instrument → manually select correct preset. |
| Signals firing mid-zone | Check Zone Tolerance isn't set too high (default 0). |
| K line is all yellow | Usually means the asset is in consolidation. This is correct behavior. |
| Divergence labels showing too early | Increase Pivot Lookback Right (increases confirmation delay). |
* * *
*For strategy context, backtest results, and validation status see DELTA_MASTER.md**Author: PJ_FatCat (DELTA Trading) — //@PJ_FatCat Indicator

CQ_(6)_MTF EMA Monitor Suite V4================================================================================
CQ_(6)_MTF EMA MONITOR SUITE V3
Description and User Manual
Some modules based on Zeierman and Ukutalabs public code.
================================================================================
--------------------------------------------------------------------------------
1. OVERVIEW
--------------------------------------------------------------------------------
MTF EMA Monitor Suite V3 is a multi-module price-chart overlay that bundles
six largely independent trading tools into a single indicator:
A) EMA Monitor - 3-EMA trend engine with bar coloring, channel fill,
breakout/breakdown shapes, and a per-timeframe
EMA relationship dashboard.
B) Breakout Probability Meter - a statistical "likely next move" ladder
projected to the right of price, based on how
often price has historically reached each
percentage step from the prior bar's high/low.
C) ZigZag - a swing-pivot ZigZag with HH/LH/HL/LL labeling
and optional support/resistance dotted lines.
D) MTF RSI - a compact 6-timeframe RSI heat-strip appended to
the EMA Monitor dashboard.
E) RSI Divergence - classic + hidden RSI divergence detection, plus a
"predictive" real-time projection of the price
level needed to confirm a divergence on the
current live bar, complete with a strength score.
F) Swing Pivots - current-timeframe and higher-timeframe swing
High/Low detection with classification boxes,
extension lines, and colored supply/demand zones.
Each module has its own input group in the settings panel (prefixed with the
🟧 icon for the primary toggle of that section) and can be enabled/disabled
independently.
--------------------------------------------------------------------------------
2. MODULE A - EMA MONITOR
--------------------------------------------------------------------------------
WHAT IT DOES
- Plots three EMAs (Fast/EMA1, Trigger/EMA2, Slow/EMA3) directly on price,
each colored based on whether it is currently rising or falling.
- Fills the channel between EMA1 and EMA2, colored green when EMA1 is
above EMA2 (bullish) and red when below (bearish).
- Optionally colors the chart's candles/bars:
* "Color Bars?" recolors every bar green/red based on EMA1 vs EMA2.
* "Color Bar when price closes Under/Above EMA 1 & 2?" recolors bars
blue/orange specifically when price crosses above/below BOTH EMA1
and EMA2 simultaneously.
- Plots small triangle markers above price when a "Breakout" (fast EMA
turning up) or "Breakdown" condition is met.
- Optional background tint reflecting the EMA1/EMA2 relationship.
- Optional "EMA Deviations" labels showing how far (in %) price currently
sits from each EMA.
- Fires alerts when price crosses above/below both EMA1 and EMA2.
KEY INPUTS (group: "EMA Monitor")
Turn on EMA cross Alerts? - master alert toggle for the cross-above/
cross-below-both-EMAs condition.
Color Bars? - green/red bar coloring by EMA1 vs EMA2.
Color Bar when price closes... - blue/orange bar coloring on dual-EMA cross.
Turn on EMA Lines? - shows/hides the three EMA plots.
Enable Background Color? - shows/hides the channel-fill background tint.
Fast/Trigger/Slow EMA lengths - the three EMA periods (defaults 20/55/200).
Opacity for all EMAs - shared transparency for all three EMA lines.
EMA Deviations - toggles the %-distance-from-EMA labels.
--------------------------------------------------------------------------------
3. MODULE A(continued) - MULTI-TIMEFRAME EMA DASHBOARD
--------------------------------------------------------------------------------
WHAT IT DOES
- Requests EMA1/EMA2/EMA3 values from six user-selected timeframes and
displays, per timeframe: the EMA1-vs-EMA2 bias (with % separation),
plus price's distance from each of the three EMAs (with directional
arrows and color-coded backgrounds).
- Supports both a horizontal layout (timeframes as columns, the classic
layout) and a vertical layout (timeframes as rows) via a single toggle -
all cell-placement logic is handled by a shared "tc()" helper so the
same data populates either orientation.
KEY INPUTS (group: "EMA Monitoring Dashboard")
Display (EMA) Dashboard - master on/off switch for the whole table.
Dashboard Position? - anchor corner/edge of the chart.
Dashboard Size? - text size (Tiny recommended for mobile).
Vertical Layout (Timeframes as Rows) - flips the table orientation.
Time Frame 1-6 - the six timeframes monitored (defaults:
5m, 15m, 1H, 4H, 1D, 1W).
--------------------------------------------------------------------------------
4. MODULE B - BREAKOUT PROBABILITY METER
--------------------------------------------------------------------------------
WHAT IT DOES
- Builds a small ladder of horizontal price levels above and below the
prior candle's high/low, spaced by a user-defined percentage step.
- For each level, it tracks (since the indicator was added to the chart)
how often price has historically reached that many steps away on a
green vs. red candle, and displays the resulting hit-rate as a
percentage label at each level.
- Optionally shades the region between consecutive levels for a
heat-map-style visual, and can display a running win/loss "Statistic
Panel" for whichever side (high or low) was projected as most likely.
- Can fire a consolidated alert() call containing the ticker, the most
recent high/low, the bullish/bearish bias, and the percentage
likelihoods, gated by four independent content toggles.
KEY INPUTS (group: "Break Out Probability Meter")
Show Break Out Probability Meter - master toggle.
Percentage Step - vertical spacing between levels (default 0.5%).
Number of Lines - how many levels to project (max 5).
Label Size? - text size for the level labels.
Labels / Background colors - separate up/down colors for label text and
the optional shaded background.
Meter Background Shade - toggles the shaded fill between levels.
Meter Offset (Horizontal) - how far right of price the ladder is drawn.
Disable 0.00% - hides levels with a 0% historical hit rate.
Show Statistic Panel - shows the win/loss/win-rate mini table.
Any alert() function call - four toggles controlling which pieces of
information (Ticker, High/Low, Bias,
Percentage) are included in the alert text.
--------------------------------------------------------------------------------
5. MODULE C - ZIGZAG
--------------------------------------------------------------------------------
WHAT IT DOES
- Detects swing highs/lows over a configurable lookback ("Length") and
connects them with a ZigZag line.
- Classifies each new pivot as Higher High (HH), Lower High (LH), Higher
Low (HL), or Lower Low (LL), each with its own color, and optionally
labels each pivot on the chart.
- Optionally draws dotted support/resistance lines projecting from each
pivot level, including one live "developing" dotted line that extends
to the current bar until price moves past it.
KEY INPUTS (group: "ZigZag")
Length - pivot lookback length (default 20; higher = fewer, larger
swings).
SR Lines - toggles the dotted support/resistance projections.
Labels - toggles the HH/LH/HL/LL text labels at each pivot.
ZigZag - toggles the connecting ZigZag line itself.
--------------------------------------------------------------------------------
6. MODULE D - MTF RSI (HEAT STRIP)
--------------------------------------------------------------------------------
WHAT IT DOES
- Computes RSI on six independently selectable timeframes and appends a
one-row heat-strip to the bottom of the EMA dashboard table, colored on
a 7-band scale from "Max Bearish" (RSI <= 25) to "Max Bullish"
(RSI >= 75), with a neutral band in between.
- Respects the same horizontal/vertical orientation toggle as the EMA
dashboard, so it always lines up with the correct timeframe column/row.
KEY INPUTS (group: "MTF RSI")
Resolution 1-6 - the six timeframes analyzed (defaults: 5m,
15m, 1H, 4H, 1D, 1W).
Max/Med/Min Bullish Cell Color, Neutral Cell Color,
Min/Med/Max Bearish Cell Color - the 7-step color scale.
Cell Transparency - shared transparency for all heat-strip cells.
Length - RSI calculation length (default 14).
--------------------------------------------------------------------------------
7. MODULE E - RSI DIVERGENCE (WITH PREDICTIVE PROJECTION)
--------------------------------------------------------------------------------
WHAT IT DOES
- Detects Regular Bullish, Hidden Bullish, Regular Bearish, and Hidden
Bearish divergence between price and RSI, using pivot detection with
configurable left/right lookback and a valid pivot-distance range.
- Source for price pivots can use either candle Wicks (high/low) or
Bodies (max/min of open/close).
- PREDICTIVE DIVERGENCE (unique feature): on the live/current bar, before
a divergence has technically confirmed, the script projects the exact
closing price that WOULD confirm a divergence against the last
confirmed pivot, and draws a dashed projection line plus an info label
showing that "Confirmation Price."
- DIVERGENCE STRENGTH SCORE: an optional 0-10 score combining a
"location" component (how overbought/oversold the RSI pivots are,
using two configurable levels each for overbought/oversold) and a
"magnitude" component (how much RSI's percentage change disagrees with
price's percentage change between the two pivots).
- Alerts can fire the moment a potential (not-yet-confirmed) divergence
is detected, separately for each of the four divergence types.
KEY INPUTS (group: "RSI Divergence")
RSI Period - RSI calculation length (default 14).
Use Price Wicks or Bodies? - pivot source selection.
Pivot Lookback Left/Right - standard pivot detection window.
Lookback Range Max/Min - valid bar-distance range between two pivots.
Plot Bullish / Hidden, Plot Bearish / Hidden - independent toggles for
each of the four divergence types.
Predictive Divergences group:
Show Predictive Divergences - master toggle for the live-bar
projection feature.
Min Bars Since Last Pivot for Predictive - cooldown before a new
potential divergence is considered.
Show Divergence Confirmation Price - toggles the projection line/label.
Alerts group:
Alert on Potential Bullish/Bearish (+ Hidden variants) - four independent
alert toggles for potential (not yet
confirmed) divergences.
Divergence Strength Score group:
Show Strength Score - toggles the 0-10 score display in labels/alerts.
RSI Overbought Level 1/2 - thresholds used for the bearish location score.
RSI Oversold Level 1/2 - thresholds used for the bullish location score.
--------------------------------------------------------------------------------
8. MODULE F - SWING PIVOTS
--------------------------------------------------------------------------------
WHAT IT DOES
- Identifies swing Highs/Lows on the CURRENT chart timeframe and,
optionally, on up to six independently selectable higher timeframes
(5m, 15m, 30m, 1H, 4H, Daily), each mirrored onto the current chart.
- Classifies each new swing as Higher High, Lower High, Lower Low, or
Higher Low, drawing a small classification box + label, a colored
supply/demand "shadow" zone, a dashed midline, a dotted extension line
at the pivot price, and a price box showing the exact level.
- Each higher-timeframe stream keeps its own rolling history (bars +
swing-point collections), so multiple timeframes can be displayed
simultaneously without interfering with each other.
- "Pivot Strength" controls how many bars on each side must confirm a
high/low before it is accepted as a valid swing (higher = fewer, more
significant pivots).
KEY INPUTS (group: "Swing Pivots Configuration")
Pivot Strength - sensitivity of the pivot calculation.
Font Size - text size for classification/price labels.
Per-classification color + zone toggle (Higher High, Lower High, Lower
Low, Higher Low groups):
Color - color used for that classification's box/label/zone.
Show Zones - toggles the shaded supply/demand zone for that type.
Higher Time Frame group:
Display Current Timeframe - toggles current-TF swing pivots.
5/15/30 Minute, 1 Hour, 4 Hour, Daily Higher Timeframe - independent
toggles for each mirrored HTF stream.
--------------------------------------------------------------------------------
9. GENERAL NOTES
--------------------------------------------------------------------------------
- This script is written in Pine Script v6 and declared as an overlay
indicator (draws directly on the price chart).
- Several modules (EMA Dashboard, MTF RSI, Breakout Probability Meter,
Predictive Divergence) only redraw on the last/live bar
(barstate.islast), which keeps the chart responsive while still
updating in real time as new bars form.
- The EMA Dashboard and MTF RSI heat-strip share a single table object
and orientation toggle; toggling "Vertical Layout" affects both at once.
- Multiple modules use array/matrix-based object pooling (lines, labels,
boxes) with fixed maximum sizes, so older drawings are automatically
cleaned up as new ones are created - no manual cleanup is required.
--------------------------------------------------------------------------------
10. ALERTS SUMMARY
--------------------------------------------------------------------------------
- EMA Monitor: price rises above / drops below both EMA1 and EMA2.
- Breakout Probability Meter: consolidated alert with ticker, high/low,
bias, and percentage likelihoods (each field independently toggleable).
- RSI Divergence: potential Regular Bullish / Hidden Bullish / Regular
Bearish / Hidden Bearish divergence detected on the live bar, including
the projected confirmation price and (optionally) the strength score.
================================================================================
End of manual.
================================================================================
Indicator

Multi EMA + Forecast (5,30,60,120,250,500)Multi-Timeframe (MTF) EMA Group
Overview
The Multi-Timeframe (MTF) EMA Group is a powerful trend-following indicator designed to give traders a clearer perspective on market direction by projecting higher-timeframe data onto their current chart. By combining a cluster of Exponential Moving Averages (EMAs) with Multi-Timeframe capabilities, this tool helps you filter out market noise and align your entries with the macro trend.
Whether you are a scalper looking for higher-timeframe context or a swing trader managing dynamic support and resistance, this indicator provides a clean, customizable visual ribbon to guide your bias.
Key Features
Multi-Timeframe (MTF) Selection: Plot EMAs from any timeframe (e.g., 1-Hour, 4-Hour, Daily) onto your current working chart (e.g., 5-Minute, 15-Minute).
Customizable EMA Cluster: Includes multiple EMA inputs (e.g., 5, 9, 20, 50, 100, 200) allowing you to build a dense "ribbon" or a simple two-line crossover system.
Trend Visualizer: When the shorter EMAs are stacked above the longer EMAs, the ribbon indicates a bullish trend. When the order is reversed, it indicates a bearish trend. The widening of the group signifies trend strength, while a pinching or twisting group warns of consolidation or a potential reversal.
Non-Repainting MTF Data: Built using standard PulseWire MTF protocols to ensure the data is accurate and does not repaint once the higher timeframe candle closes.
How to Use It in Your Trading
Trend Alignment: Avoid trading against the dominant trend. For example, if you are trading on a 15-minute chart, set the indicator's timeframe to 1-Hour or 4-Hour. Only take long setups when the price is above the higher-timeframe EMA group, and short setups when it is below.
Dynamic Support & Resistance: A tightly clustered group of EMAs often acts as a strong zone of dynamic support in an uptrend or resistance in a downtrend. Look for price to pull back into the EMA "value area" for optimal trade entries.
Crossovers & Reversals: Watch for the shortest EMA in the group to cross through the longer EMAs as an early warning sign that the macro trend might be shifting.
Customization Options
Resolution/Timeframe: Easily toggle the timeframe drop-down in the settings to pull data from your desired chart interval.
Lengths: Fully adjustable lengths for every EMA in the group to suit your specific trading style.
Colors & Styling: Customize the thickness and color gradients of the lines to make the ribbon visually intuitive on both dark and light chart themes.
Disclaimer: This indicator is for educational and analytical purposes only. Past performance does not guarantee future results. Always combine moving averages with other forms of technical analysis, such as price action and volume, before making trading decisions. Indicator

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

DELTA Go Desk**DELTA Go Desk** is a multi-stack signal dashboard and trade management system built for active traders of leveraged ETFs, stocks, crypto, and metals. It's not a single indicator — it's a coordinated decision engine with validated research behind every default setting.
* * *
## 🧠 It knows what you're trading
Load it on SOXL and it automatically applies leveraged ETF parameters — tighter SL multipliers, breakeven ratchet ON, trail mode active. Switch to BTCUSD and it shifts to crypto mode with wider ATR-based stops. Move to AAPL and it routes to stock presets. No manual reconfiguration. The instrument tells the system how to behave.
Auto-routing covers **90+ tickers** including 67 leveraged ETFs, precious metals miners, and full crypto detection via `syminfo.type`.
* * *
## 📊 Three-Stack Signal Architecture
Three independent signal stacks fire from orthogonal indicators — meaning they're built from different data sources so they don't all agree or disagree for the same reason:
* **Stack A** — Primary signal. Full SL/TP/trail labels on chart.
* **Stack B (👀)** — Scout. Confirms or questions Stack A. Configurable label detail.
* **Stack ST** — Structural filter. Trend-aligned bias layer.
Stacks are scored 1–4. An **S-Grade** fires when all three stacks align — the highest-conviction setup the system recognizes.
* * *
## 📐 Exit Architecture Validated by Research
DELTA's exits aren't defaults — they're the result of systematic Python/yfinance backtesting across thousands of trades. Key validated findings:
| Finding | Implication |
| --- | --- |
| Exit management > entry selection | All profitable behavior concentrated in 11+ bar holding bucket |
| ATR-adaptive trailing beats fixed stops | Tested across SOXL, TQQQ, AAPL, AG |
| Random entries matched disciplined entries on exit alone (RESE test) | The edge lives in *how* you exit, not *when* you enter |
| ADX floors do not fix chop | Zero winners at every threshold tested — trend-strength gating closed |
| SOXL's edge is contrarian/early-reversal | Inverse HTF gate is the correct architecture |
Three exit modes: **Traditional** (fixed SL/TP), **Fixed Trail**, and **Adaptive Trail** (ATR-multiplier that widens progressively as the trade matures).
* * *
## 🏗️ What's Built In
* **236 tooltips** — every input documented in WHAT / USE / TIP format
* **44+ confirmation indicators** — organized by type (Momentum / Trend / Structure / Breadth / Volume / Volatility)
* **Live Trade Tracker** — dashboard rows show active TP/SL prices, distance %, breakeven lock status, and direction in real time
* **Trail Alert Suite** — webhook-ready payloads for BE_LOCKED, SL_MOVED, and TRAIL_EXIT events (Telegram or broker bridge)
* **Switchboard** — toggle overlays on/off (EMA, VWAP, PVSRA candles, Pivot Levels, Price Targets, FVG, Liquidity Zones) without touching settings
* **PVSRA Candles** — volume-spread analysis candle override; climax and rising volume highlighted
* **Clean Capture Mode** — second indicator instance suppresses all overlays for clean screenshot export
* **Regime + ADX Filter** — bottom dashboard row shows STRONG/drift regime and live ADX value with configurable threshold
* * *
## 📌 Designed for Seriousness
Every version number is documented. Every default has a research citation. Every removal has a reason. This isn't a set-and-forget indicator — it's a live trading system under active development, with systematic backtesting continuously refining the edge.
The goal: the indicator does the heavy lifting. You make the call.
* * *
*Built by PJ_FatCat — //@PJ_FatCat · DELTA Trading**Base: "DIY Custom Strategy Builder" by zpayab (open-source)**Quantitative research: Silvia (systematic Python/yfinance backtesting engine) 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

Strategy

Indicator

[ A L P H A X ] BASTION - Support & Resistance PatternsAlphaX BASTION — Support & Resistance Lattice Engine: Touch-Clustered Zone Detection, HTF Level Blending, Four Interaction Playbooks & Level-to-Level Target System
AlphaX BASTION is a professional-grade support and resistance system built around the concept of a lattice — a dynamic, self-updating grid of strength-scored price zones that are continuously constructed from fractal pivot clusters, blended with higher timeframe levels, decayed over time as they lose relevance, and scored by touch frequency and institutional significance. Unlike static horizontal line indicators or basic pivot systems, BASTION treats every support and resistance level as a living structure with a birth date, a touch history, an HTF weight, and a decay clock. Where most S/R systems simply identify levels and leave the trader to decide what to do, BASTION goes one step further: it monitors every active level for four specific micro-pattern interactions — DEFEND, SWEEP, RETEST, and COIL — and fires precision entry signals when those interactions occur at qualified levels with sufficient confluence. The target for every signal is not an arbitrary ATR multiple or measured move — it is the next Bastion level in the signal direction, the natural institutional delivery destination from one defended wall to the next. Designed for traders across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏰 The Lattice — A Self-Building Defended Price Map
The word "lattice" captures the core concept precisely: BASTION constructs an interconnected grid of defended price levels that represents the current institutional support and resistance landscape. This lattice is not drawn manually, not imported from a fixed timeframe, and not redrawn from scratch on every bar. It is built incrementally — growing as new pivots form, strengthened as levels are retested, and pruned as levels age beyond their relevance window.
How the lattice is constructed:
On every bar, BASTION detects confirmed fractal pivot highs and lows (using a configurable pivot length, default: 5 bars each side). Each new pivot is fed into the lattice's merge algorithm:
If the new pivot is within the merge tolerance (default: 0.22× ATR) of an existing level, it merges with that level — the level's midpoint shifts to the weighted average of all contributing pivots, the touch count increments, the zone boundaries expand if necessary, and the last touch timestamp updates
If the new pivot is farther than the merge tolerance from any existing level, a new level is created with the pivot as its midpoint, zone height of ±0.18× ATR above and below, touch count of 1, and the current bar as its birth bar
When the number of levels per side exceeds the configured maximum (default: 4), the oldest level is dropped from the end of the array
Level decay:
Levels that have not been touched in more than the configured decay period (default: 250 bars) are pruned automatically. This ensures the lattice reflects current institutional market memory rather than accumulating ancient, irrelevant levels that clutter the chart and produce false signals.
Why touch clustering produces better levels than standard S/R: A single pivot high at a price is a weak level — it represents one instance of sellers overwhelming buyers. The same price area touched three times across different sessions represents a genuine institutional order cluster — the level where significant participants have repeatedly defended their position. BASTION's weighted averaging and touch counting system identifies these genuine defended levels and distinguishes them from noise pivots.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📡 HTF Level Blending — Multi-Timeframe Institutional Walls
Every Bastion level is either a current timeframe pivot cluster or a higher timeframe structural level . When Show HTF Swing Levels is enabled (default: on), BASTION pulls pivot highs and lows from the configured HTF (default: H4) and feeds them into the same merge algorithm as current timeframe pivots.
HTF levels receive a special weight in the strength calculation: +2 additional strength points beyond their touch count. This reflects the institutional significance differential — a resistance level formed on H4 represents a zone where a much larger institutional participant defended their position, and carries proportionally more weight than a current timeframe pivot at the same price.
HTF levels are visually distinguished: HTF-sourced zones are rendered with a slightly different purple color (slateblue rather than the standard purple), and HTF-contributing midlines use a thicker dashed line (width 2 vs 1 for standard levels). This allows you to immediately identify which levels have higher timeframe structural backing.
How HTF blending works in practice: When an H4 resistance level is at 2490.00 and a current timeframe resistance forms at 2491.50 — within the merge tolerance — they merge into a single strengthened level. The merged level receives the touch count of both the HTF pivot and any current timeframe retests, plus the HTF weight bonus, making it one of the strongest levels in the lattice. This is the precise behavior of real institutional support and resistance: the H4 level acts as the anchor, and intraday touches confirm it.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💪 Level Strength Scoring
Every level in the lattice has a dynamically computed strength score used to qualify signals and sort level priority.
Strength components:
Touch count — the primary strength component. Each time a new pivot merges into the level, touch count increments. A level with 4 touches is significantly stronger than one with 1
HTF bonus (+2) — levels that have HTF pivot contributions receive 2 additional strength points, reflecting their higher institutional significance
Recency bonus (+1) — levels born within the last 80 bars receive 1 additional point. Fresh levels that were recently created and immediately retested carry more immediate institutional relevance than older levels with the same touch count
Minimum strength gate: Signals are blocked from firing at levels with strength below the configured minimum (default: 2 touches). This single filter eliminates the single most common false signal in S/R trading — entering at an untested level that has not proven itself as a genuine defended zone.
Strength display on dashboard: The nearest support and resistance levels are displayed on the dashboard with their strength scores in brackets — e.g., "2450.50 " means the level at 2450.50 has a strength score of 4. At a glance, you know which levels are most defended.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎮 The Four Interaction Playbooks
The lattice provides the structural map. The playbook engine defines what to do when price arrives at a lattice level. Four specific micro-pattern interactions are monitored continuously — each representing a different way price can interact with a defended wall and a different entry scenario.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DEFEND — Wick Rejection at Level
The most common and cleanest S/R interaction. A wick rejection candle forms when price tests the level and is immediately repelled — buyers overwhelm sellers at support, or sellers overwhelm buyers at resistance, within a single candle.
Long conditions (support DEFEND):
The current bar's low is within the proxAtr distance of the nearest support level
The lower wick exceeds the configured minimum (default: 52% of bar range) — a dominant rejection wick
The close is in the upper quarter of the bar (above bodyBot + 25% of range)
The close is above the zone bottom — price rejected from inside the zone
The DEFEND signal tells you: The support level absorbed the selling pressure on this bar with a clear institutional response. The wick is the signature of buyers stepping in aggressively at the defended zone. This is the most textbook S/R signal available and the highest-frequency of the four playbooks.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SWEEP — Liquidity Grab + Reclaim
The institutional stop-hunt interaction. Price breaches the zone boundary to trigger stop orders, then immediately reverses and closes back inside the zone.
Long conditions (support SWEEP):
The current bar's low extends below the zone bottom by more than the minimum sweep depth (default: 0.12× ATR) — stop orders below support have been triggered
The bar closes above the zone midline — the reclaim is decisive, not just touching the boundary
The bar closes bullish (close above open) — institutional buying drove the recovery
Why SWEEP is the highest-conviction signal: A liquidity sweep at a lattice level combines two layers of institutional evidence. The level itself has been defended multiple times (touch count) and has institutional order significance. The sweep event confirms that institutions actively used the liquidity pool below the level to fill their buy positions — the same sweep-and-reclaim dynamic that underlies MAGNET, but now occurring specifically at a pre-qualified lattice level with known strength.
The SWEEP playbook carries a confluence bonus (+1 layer point) because of this elevated institutional evidence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
RETEST — Break Then Hold (S/R Flip)
The classic support-becomes-resistance and resistance-becomes-support interaction. Price previously broke through the level from the other side, and is now returning to test the flipped level.
Long conditions (support RETEST):
Within the lookback window (default: 12 bars), the close was below the zone bottom — a genuine prior breakdown
The current bar's low is within the zone and the close is above the zone midline — the retest from above is holding
The current bar closes bullish
The RETEST signal captures: The moment when a broken resistance becomes confirmed new support. When a level that previously acted as resistance is broken, retail traders who were long above the level are stopped out or become sellers. When price returns to test the level from above — and the close holds above the midline — the same institutional level that attracted sellers is now attracting buyers who missed the initial breakout. This is the "second chance" entry that offers excellent risk/reward relative to the original breakout candle.
The RETEST playbook also carries a confluence bonus (+1 layer point).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COIL — Compression into Level
The pre-breakout compression interaction. Price has been ranging with narrow ATR bars approaching the level — a coiling squeeze that frequently precedes an explosive directional move.
Long conditions (support COIL):
The last N bars (default: 4) each have an ATR of less than 0.75× the overall ATR — the market is compressing with below-average volatility
The close is within the proxAtr distance of the support level — the compression is occurring directly at the lattice level
The close is above the zone midline — the compression is occurring on the correct side of the level
The COIL signal captures: The energy-building phase at a defended level. When price approaches a lattice level with declining volatility over multiple bars, it indicates the institutional response to that level is suppressing price movement — buyers and sellers are in equilibrium at the level, but the institutional bias (toward defending it as support or resistance) creates a coiled spring. The first decisive bar after the coil frequently produces a large directional move.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Level-to-Level Target System — The Bastion's Unique Approach
Every other entry system in the AlphaX suite uses ATR multiples, Fibonacci measured moves, or pattern heights to compute take profit targets. BASTION uses none of these. The target for every BASTION signal is the next Bastion level in the direction of the trade.
For a long signal at support: The target is the nearest resistance level above the entry price in the current lattice. This is the next defended wall — the level where sellers are expected to step in and potentially cap the move.
For a short signal at resistance: The target is the nearest support level below the entry price — the next defended wall where buyers are expected to step in.
Why level-to-level targeting is superior to measured moves for S/R trading: The market does not move from support to an arbitrary ATR multiple above. It moves from support to resistance — from one institutional wall to the next. Using the actual lattice level as the target ensures the trade is exited at the next genuine institutional interaction point rather than at an arbitrary mathematical distance. This aligns the trade's exit with the same institutional framework that generated the entry.
NEXT WALL TGT on dashboard and chart: The target level is displayed on the dashboard as NEXT WALL TGT and plotted as a yellow-green dashed line on the chart labeled "NEXT WALL." When no opposing lattice level is currently qualified (the target would be beyond the available lattice), the system shows — rather than fabricating a target.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 The 7-Layer Confluence Engine
Every playbook signal is evaluated through a 7-layer scoring system. Signals below the minimum layer count (default: 4) are suppressed.
Layer 1 — Level Strength (1 point):
The interacted level meets the minimum strength threshold (touch count + HTF bonus + recency bonus ≥ minimum). Levels that do not meet this floor cannot produce signals regardless of playbook quality.
Layer 2 — HTF Trend Bias (1 point):
The higher timeframe EMA structure (default: 60-minute, 21/55 EMA) agrees with the signal direction. Bull signals require HTF bull, bear signals require HTF bear. When HTF bias is disabled, this layer is neutral (0 points). Note that the HTF bias is also enforced as a hard condition in the signal firing logic — signals opposing the HTF are blocked entirely when useHtfBias is on.
Layer 3 — Volume Expansion (1 point):
Current bar volume exceeds the volume moving average by the configured multiplier (default: 1.08×). Confirms institutional participation on the interaction bar.
Layer 4 — Non-Chop Market (1 point):
Choppiness Index is below the configured threshold (default: 62). Also enforced as a hard gate — extreme chop blocks all signals. S/R interactions during extreme chop frequently produce false breakouts and fake rejections.
Layer 5 — Playbook Bonus (1 point):
SWEEP and RETEST playbooks receive 1 additional point reflecting their elevated institutional evidence. DEFEND and COIL do not receive this bonus — they are valid but carry less structural confirmation than a sweep reclaim or S/R flip.
Layer 6 — Bar Range Quality (1 point):
The current bar's range is at least 0.35× ATR — the interaction bar has sufficient price action to produce a genuine signal. Doji and near-doji bars in critical zones do not score this point.
Layer 7 — Session Active (1 point):
The current bar is within the configured active session window when the session filter is enabled. When the filter is off, this layer always contributes its point.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The 14-row real-time dashboard displays the complete state of the lattice and the current signal context.
LATTICE
Nearest Sup — the price of the nearest support level below current price, with its strength score in brackets (e.g., "2450.50 "). Yellow-green color
Nearest Res — the price of the nearest resistance level above current price with strength score. Red color
Zone Count — the total number of active support and resistance levels in the lattice (e.g., "3 sup · 4 res"). Provides awareness of how populated the current lattice is
PLAYBOOK
State — the current playbook state: the active playbook name (DEFEND, SWEEP, RETEST, COIL) when a signal just fired; WATCH WALLS during the inter-signal period
Bias — ▲ LONG or ▼ SHORT when a signal fired; NEAR RES, NEAR SUP, or MID-RANGE based on current price position relative to the lattice when idle
Next Wall Tgt — the price of the next opposing lattice level — the level-to-level target for the current trade
FILTERS
HTF Bias — ▲ BULL, ▼ BEAR, or — FLAT
Chop — live Choppiness Index value. Orange when above the stand-aside threshold
Volume — EXPAND (above threshold) or QUIET
Playbooks On — abbreviations of all currently enabled playbooks (DEF SWP RET COIL) for quick reference
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Resistance Zone Boxes (purple / slateblue) — semi-transparent boxes spanning each resistance level from its birth bar to 15 bars beyond current. Standard purple for current timeframe levels, slateblue for HTF-blended levels
Resistance Midlines (purple dashed) — the exact midpoint of each resistance zone. Width 1 for standard, width 2 for HTF levels
Support Zone Boxes (yellow-green) — semi-transparent yellow-green boxes for all active support levels
Support Midlines (yellow-green dashed) — support zone midpoints. Width 2 for HTF levels
⬡ Diamond (below bar, bright yellow-green) — BASTION long signal. Playbook fired at a support level with qualifying confluence
⬡ Diamond (above bar, bright red) — BASTION short signal
Playbook Label — appears above or below the signal diamond showing "BASTION LONG/SHORT" + playbook name + level price
SL Guide (red dotted) — stop loss below the zone bottom plus ATR buffer (long) or above zone top plus ATR buffer (short), extending 30 bars forward with "SL" label
NEXT WALL Guide (yellow-green dashed) — the level-to-level target extending 30 bars forward with "NEXT WALL" label
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX BASTION — Step by Step
Step 1 — Read the Lattice
Check the NEAREST SUP and NEAREST RES rows on the dashboard. Note the strength scores in brackets. Levels with strength 4+ are the most defended — prioritize interactions at these levels
Look at the Zone Count row — a lattice with 3–4 levels on each side represents a well-populated market map. A sparse lattice (1–2 levels per side) means fewer reference points and potentially lower signal quality
Check whether the nearest support or resistance has HTF origin — the slateblue color on the chart or the higher strength score indicates institutional level significance
Step 2 — Monitor Price Approaching a Level
When the dashboard Bias row shows NEAR RES or NEAR SUP, price is approaching a lattice level within the proximity threshold. Watch for a playbook interaction to develop
Identify which playbook is most likely: Is price approaching with narrow bars (COIL)? Did price recently spike below (SWEEP potential)? Has the level previously been broken (RETEST setup)? Is price arriving with a clear wick forming (DEFEND setup)?
Check HTF Bias and Chop on the dashboard — both must be favorable before a signal can fire
Step 3 — Enter on the Diamond Signal
A ⬡ diamond below the bar confirms a qualifying long interaction. The playbook label shows which of the four setups fired and at which exact level
The SL guide shows the stop level — placed below the zone bottom plus ATR buffer (long) or above zone top plus buffer (short). This is the structural invalidation point: if price closes through the zone boundary in the wrong direction, the level has failed to defend
The NEXT WALL guide shows the target level — the next opposing lattice wall
SWEEP and RETEST signals carry the highest confluence (extra playbook layer point) — size these entries at full allocation. DEFEND and COIL at standard allocation
Step 4 — Manage to the Next Wall
The trade targets the NEXT WALL level shown on the chart. As price approaches that level, watch for rejection signals in the opposing direction — if BASTION fires a signal at the target level against your trade, this is a natural exit point
Monitor the lattice continuously — new levels may form during the trade that become relevant intermediate targets or stop adjustment points
If the lattice map shifts significantly (a level is pruned by decay or a strong new level forms), reassess the trade's target
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
Chop Index is orange on the dashboard — the hard gate is active. No signals fire in extreme chop. S/R levels lose their predictive power when the market is oscillating — every touch becomes ambiguous
Zone Count shows 1–2 levels per side — a sparse lattice means the system has insufficient structural reference. The market may be trending strongly through all levels or may be too early in the session to have built meaningful clusters. Wait for the lattice to populate
Nearest level strength is 1 — the minimum strength gate will block signals at untested levels, but if the nearest levels all show , the lattice is populated with fresh, unproven levels. Increase the minimum level strength in settings to require at least 2–3 touches
HTF Bias shows FLAT — no higher timeframe directional conviction. Counter-trend S/R interactions in a flat HTF environment fail at a higher rate because neither institutional buyers nor sellers have committed to a directional view
NEXT WALL TGT shows — — no opposing qualified level exists in the lattice above (for longs) or below (for shorts). Without a level-to-level target, the trade lacks a natural exit framework. Consider skipping signals when no next wall target is available
Playbook is COIL at a level with strength 2 — a coil at a weak, lightly-tested level carries the lowest probability of the signal matrix. COIL at high-strength (4+) levels with HTF backing is a quality setup; COIL at minimum-strength levels is marginal
The ideal BASTION setup:
Support or resistance level with strength 4+ (multiple touches, ideally HTF-blended)
HTF Bias aligned with the trade direction
SWEEP or RETEST playbook (highest confluence bonus)
Volume expanding on the interaction bar
Chop Index well below threshold
Clear NEXT WALL target on the opposing side of the lattice
Signal layers at 6–7 out of 7
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🏰 Dynamic S/R lattice — self-building, self-pruning grid of touch-clustered support and resistance zones. New pivots merge into existing levels, incrementing touch counts and adjusting zone boundaries automatically
📡 HTF level blending — H4 (or any configurable HTF) pivot levels fed into the same lattice with a strength bonus, producing a multi-timeframe S/R map in a single indicator
💪 Level strength scoring — touch count + HTF bonus + recency bonus produces a composite strength score for every level. Minimum strength gate blocks signals at untested levels
⏱ Level decay — zones older than the configurable decay period are automatically pruned, keeping the lattice relevant to current institutional market memory
🎮 Four interaction playbooks — DEFEND (wick rejection), SWEEP (liquidity grab + reclaim), RETEST (S/R flip), COIL (compression) — each detecting a different institutional level interaction scenario
🎯 Level-to-level target system — take profit targets the next opposing lattice wall rather than an arbitrary ATR multiple or measured move. The most institutionally grounded target method available
🛡 Zone-anchored stop loss — stop placed beyond the zone boundary plus configurable ATR buffer, at the structural invalidation point for each interaction type
🧠 7-layer confluence engine — Level Strength, HTF Trend Bias, Volume, Non-Chop, Playbook Bonus, Bar Range Quality, Session Active
📊 Live lattice dashboard — Nearest Support/Resistance with strength scores, Zone Count, active Playbook, Bias, Next Wall Target, and all filter states
🎨 Phase-coded zone visualization — resistance zones in purple/slateblue, support zones in yellow-green. HTF levels distinguished by color shade and line width
🔔 2 alert conditions + runtime alerts — Bastion Long and Bastion Short with level price and target in the alert message
⚙ Fully configurable — pivot length, zone merge and half-height tolerances, max levels per side, level decay, HTF timeframe for levels, all four playbook enables, proximity, wick minimum, sweep depth, retest lookback, coil bars, minimum level strength, confluence minimum, HTF bias timeframe and EMAs, volume filter, chop gate, session, cooldown, SL buffer, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
S/R Lattice
Swing Pivot Length — fractal sensitivity for pivot detection (default: 5)
Zone Merge (xATR) — ATR distance within which new pivots merge into existing levels (default: 0.22)
Zone Half-Height (xATR) — ATR distance above and below each level midpoint defining the zone boundaries (default: 0.18)
Max Levels per Side — maximum active resistance and support levels maintained simultaneously (default: 4 each)
Level Decay (bars) — bars since last touch after which a level is pruned from the lattice (default: 250)
ATR Length — ATR calculation lookback (default: 14)
Show S/R Zones — toggle lattice boxes and midlines
Blend HTF Swing Levels — toggle higher timeframe level incorporation
HTF for Levels — the higher timeframe from which pivot levels are imported (default: H4)
HTF Pivot Length — pivot length for HTF level detection (default: 5)
Interaction Playbooks
DEFEND — Wick Rejection at Level — toggle the rejection wick playbook
SWEEP — Liquidity Grab + Reclaim — toggle the sweep and reclaim playbook
RETEST — Break then Hold — toggle the S/R flip retest playbook
COIL — Compression into Level — toggle the narrow-bar compression playbook
Max Distance to Level (xATR) — ATR distance from level within which an interaction is considered proximate (default: 0.35)
Min Rejection Wick % — minimum wick fraction of bar range for DEFEND (default: 0.52)
Min Sweep Depth (xATR) — minimum extension below/above zone boundary for SWEEP (default: 0.12)
RETEST Lookback (bars) — bars to scan for the prior breakout in RETEST detection (default: 12)
COIL Min Narrow Bars — consecutive narrow-ATR bars required for COIL (default: 4)
Min Level Strength (touches) — minimum composite strength for a level to generate signals (default: 2)
Confluence
Min Layers (of 7) — minimum confluence score to fire a signal (default: 4)
HTF Trend Bias / HTF Bias TF / HTF Fast / Slow EMA — trend bias filter parameters
Volume Expansion / Volume vs Avg / Volume Avg Length — volume layer parameters
Block Extreme Chop / Choppiness Length / Chop Block Above — chop gate parameters
Session Filter / Active Session — trading hours restriction
Signal Cooldown (bars) — minimum bars between signals (default: 6)
Level-to-Level Guidance
Show SL + Next Level Target — toggle the stop and target guide lines
SL Beyond Sweep/Zone (xATR) — ATR buffer beyond the zone boundary for stop placement (default: 0.35)
Show Playbook Label — toggle the signal label showing playbook name and level price
Display
Show Entry Markers — toggle the ⬡ diamond signal shapes
Show Dashboard — toggle the full dashboard
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Support — yellow-green for support zones and bullish signal elements
Bear / Resistance — red for resistance zones and bearish signal elements
S/R Lattice — purple for standard lattice zones and midlines
HTF Level — slateblue for HTF-blended level zones and midlines
Sweep Accent — orange for SWEEP playbook accents and chop warnings
Stop Guide / Next Level Target — stop and target line colors
Dash Text / Dash BG / Dash Header / Dash Section / Dash Frame — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (2 total + runtime)
Entry Alerts
Bastion Long — qualifying long interaction fired at a support level. Alert message includes playbook name, level price, and next wall target
Bastion Short — qualifying short interaction fired at a resistance level
Runtime alerts (via the alert() function) fire simultaneously with the chart signals, also containing the playbook, level price, and target in the message for immediate actionability.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M5–H1 :
Pivot Length at 5 — balanced sensitivity for intraday lattice construction
Zone Merge at 0.22× ATR — appropriate for gold's tick structure; tighter than typical forex parameters
Level Decay at 250 bars — approximately 20 hours on M5; sufficient to maintain intraday relevance without accumulating ancient levels
HTF for Levels at H4 — the most widely respected swing timeframe for gold and forex institutional structure
Minimum Level Strength at 2 — requires at least two confirmed touches before a level can generate signals
For other instruments or timeframes, adjust:
M1–M3 scalping — reduce Pivot Length to 3, reduce Zone Merge to 0.15, reduce Level Decay to 100–150 bars, reduce Cooldown to 3, reduce COIL Min Narrow Bars to 2–3
H4–Daily swing trading — increase Pivot Length to 8–10, increase Zone Merge to 0.35, increase Level Decay to 500+, set HTF for Levels to Weekly, increase Min Level Strength to 3
Crypto (BTC, ETH) — increase Zone Merge to 0.28–0.35 for wider tick structure, increase Min Sweep Depth to 0.18, increase Level Decay to 300
Indices (NAS100, US30) — use session filter for cash market hours, increase Zone Merge to 0.25, increase Min Level Strength to 3 for index structure
More signals — lower Min Layers to 3, reduce Min Level Strength to 1, increase Max Distance to Level to 0.50
Highest-quality only — raise Min Layers to 5–6, increase Min Level Strength to 3+, enable only SWEEP and RETEST playbooks
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🏰 Support and resistance traders — BASTION is the most complete and systematic S/R implementation in the AlphaX suite. Every aspect of the S/R trading approach — level identification, strength scoring, interaction detection, stop placement, target identification — is automated and quantified
📡 Multi-timeframe S/R traders — the HTF level blending system automatically incorporates H4 (or any configurable timeframe) swing levels into the same lattice, producing a multi-timeframe S/R map without requiring manual level drawing across timeframes
💧 Liquidity sweep traders — the SWEEP playbook at lattice levels is the highest-conviction signal type in BASTION, combining the stop-hunt reversal concept from MAGNET with the pre-qualified, strength-scored level framework of the lattice
🎯 Traders who want structurally meaningful targets — the level-to-level target system is the most institutionally grounded TP approach available — targeting the next defended wall rather than an arbitrary distance
🧠 Systematic traders who want quantified S/R — touch counts, strength scores, decay parameters, and confluence layers replace entirely subjective level identification with objective, repeatable criteria
📈 Traders across all asset classes — the ATR-normalized zone parameters adapt naturally to gold, forex, crypto, and indices without manual recalibration between instruments
⚠ Traders who draw too many or too few S/R levels manually — BASTION manages level count automatically through the Max Levels per Side setting and the decay system — always showing the most current and most relevant levels without chart clutter
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Lattice construction, level strength, playbook detection, and confluence scoring all finalize on confirmed bars only
The lattice is built incrementally from the first bar of chart history. On initial chart loads, the lattice will be sparse for the first 50–100 bars as pivots begin to form and levels begin to cluster. Signal quality improves as the lattice populates
The level decay mechanism (default: 250 bars) means that on very active instruments with frequent pivots, the lattice refreshes relatively quickly. On slower instruments or higher timeframes, levels persist longer. Adjust the decay period to match your instrument's typical S/R memory window
HTF level blending uses Pine Script's request.security — HTF pivots are confirmed on the HTF's own bar close schedule, not the current timeframe. This is non-repainting and consistent with all standard security requests
When multiple playbooks fire at the same level on the same bar, the signal with the highest layer count is selected. The dashboard's playbook abbreviations show which playbooks are currently enabled
Maximum 500 lines, 500 labels, and 60 boxes are rendered. The lattice visualization uses boxes and lines for each level, the signal uses a label, and the guide uses lines and labels. On very active charts with maximum level counts, older elements may be removed by PulseWire rendering limits
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 price does not move in a vacuum — it moves between walls, and the key to reading the market is knowing where those walls are, how strong they are, and exactly what price does when it arrives at them. Indicator

Indicator

Indicator

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

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

Supply & Demand Zones[SideHustleTraders]v1.0Supply & Demand Zones v1.0
An advanced Supply & Demand zone indicator that automatically detects and scores high-probability institutional order zones using a quantitative multi-factor model.
Unlike basic S&D indicators that draw every zone, this tool ranks each zone using five weighted metrics — departure strength, volume, momentum, base width, and freshness — producing a composite score from 0 to 100 and assigning letter grades (A+, A, B). Only zones that meet your minimum score threshold are displayed, cutting through the noise and showing only the zones most likely to hold.
Each zone tracks its full lifecycle in real time — fresh, tested, and mitigated — with visual updates as price interacts with it. Fresh zones show solid borders, tested zones show dashed borders, and mitigated zones (where price closed through) fade to gray and auto-delete.
Built-in multi-timeframe support lets you stay on your 5 minute chart while projecting 30 minute or higher timeframe zones directly onto it, giving you full context without ever switching charts.
Includes a live dashboard table ranking all active zones by score, zone labels showing grade and touch count, and two alert conditions for new high-score zone formation and first retests of A/A+ zones.
Designed for futures, forex, and crypto. Works on any timeframe. Non-repainting. Indicator

Range Detectorrange detector is built to identify real consolidation zones directly on the chart.
instead of marking every small pause as a range, the tool waits for price to remain contained between two boundaries for a minimum number of bars. the range must stay compact compared to volatility, avoid strong directional expansion, and remain valid until a confirmed breakout or structural widening occurs.
the goal is simple: help traders separate true sideways compression from normal market noise.
what the indicator detects
range detector searches for market areas where price is moving inside a controlled box instead of trending aggressively. a valid range is built from three main conditions:
price must stay contained between a top and bottom boundary
the height of the box must remain reasonable compared to atr
the structure must last long enough to confirm consolidation
once a range is active, the indicator displays:
top of the range
bottom of the range
midline equilibrium
range size classification
breakout markers
dashboard status
range size classification
each range is classified by height using atr units.
small range
medium range
large range
this helps understand whether the market is compressing tightly or building a wider consolidation structure. a tight range can be useful for breakout preparation, while a wider range can be useful for mean reversion, liquidity sweeps, and boundary reactions.
multi-timeframe detection
one of the most important features is the detection timeframe input.
by default, the detection timeframe is empty. this means the indicator uses the current chart timeframe.
for stronger structure, you can select a higher timeframe.
examples:
on a 5 minute chart, set detection timeframe to 1h to see larger intraday ranges
on a 15 minute chart, set detection timeframe to 4h to track stronger session structures
on a 1h chart, set detection timeframe to 1d to follow major daily compression zones
this is useful because a range detected on a higher timeframe is generally more important than a small range detected only on the chart timeframe.
when using mtf, the range engine runs directly on the selected detection timeframe. this means the boxes are not simply visual approximations from the lower timeframe. the range logic is calculated from the chosen timeframe structure.
how to use mtf correctly
for scalping, use a chart timeframe such as 1m, 3m, or 5m, then set the detection timeframe to 15m, 30m, or 1h.
for intraday trading, use a chart timeframe such as 5m, 15m, or 30m, then set the detection timeframe to 1h or 4h.
for swing trading, use a chart timeframe such as 1h or 4h, then set the detection timeframe to daily or weekly.
the higher the detection timeframe, the fewer ranges will appear, but the zones usually become more meaningful.
basic trading workflow
1. choose the chart timeframe
start with the timeframe you trade most often.
scalpers may use 1m to 5m.
intraday traders may use 15m to 1h.
swing traders may use 4h to daily.
2. set the detection timeframe
leave it empty for chart timeframe detection.
select a higher timeframe when you want cleaner and more structural ranges.
3. wait for an active range
when a range appears, price is currently moving inside a consolidation box. the top acts as upper range resistance, the bottom acts as lower range support, and the midline represents equilibrium.
4. study price behavior inside the box
near the top of the range, traders often watch for rejection, failed breakouts, or liquidity sweeps.
near the bottom of the range, traders often watch for absorption, failed breakdowns, or reversal behavior.
near the midline, price is usually less attractive because it is balanced between both sides.
5. wait for breakout confirmation
breakout markers appear only when price closes beyond the range boundary with the selected atr buffer.
a break above the range suggests upside expansion.
a break below the range suggests downside expansion.
the breakout buffer helps reduce false breaks by requiring extra distance beyond the range boundary.
main inputs explained
detection timeframe
selects the timeframe used to detect ranges. leave empty to use the current chart timeframe. use higher timeframes for cleaner structural ranges.
min consolidation bars
sets the minimum number of bars required before a range can be confirmed. higher values create fewer but stronger ranges. lower values make the tool more reactive.
reference atr length
controls the volatility reference used to evaluate range height and breakout buffer. a longer atr length gives a smoother volatility base.
max range height
defines the maximum allowed range height in atr units. if the box becomes too wide, the structure is no longer treated as a clean range.
breakout buffer
adds confirmation beyond the range boundary before a breakout is validated. increasing this value makes breakouts stricter.
small range threshold
defines the maximum atr height for a small range.
medium range threshold
defines the maximum atr height for a medium range. anything above this level is classified as large.
show small, medium, large
allows each range category to be shown or hidden independently.
show midline
displays the equilibrium level of the range.
show range labels
displays the range class and range height directly on the chart.
show breakout markers
displays breakout markers when price confirms an upside or downside break.
show dashboard
shows the live range dashboard.
dashboard position
moves the dashboard to any side or corner of the chart.
dashboard size
changes the text size of the dashboard.
range colors and opacity
each range category can be customized with its own color. fill opacity, border opacity, midline opacity, and label opacity can also be adjusted to match any chart style.
dashboard
the dashboard gives a fast reading of the current market state.
it shows:
active timeframe
current state
range height
top level
midline
bottom level
when no valid range is active, the dashboard shows that the market is trending or that no range is currently detected.
alerts
the indicator includes alerts for:
range started
range break up
range break down
these alerts can be used to monitor new compression zones and confirmed exits from consolidation.
example setups
scalping setup
chart timeframe: 5m
detection timeframe: 1h
min consolidation: 10 to 20 bars
breakout buffer: 0.20 to 0.35 atr
this setup keeps the chart reactive while using stronger higher timeframe structure.
intraday setup
chart timeframe: 15m
detection timeframe: 4h
min consolidation: 10 to 30 bars
breakout buffer: 0.25 to 0.50 atr
this setup is useful for session ranges and larger intraday breakouts.
swing setup
chart timeframe: 1h or 4h
detection timeframe: daily
min consolidation: 10 to 50 bars
breakout buffer: 0.35 to 0.75 atr
this setup focuses on major compression zones before larger directional moves.
practical interpretation
inside the range, the market is balanced.
above the range, buyers are attempting expansion.
below the range, sellers are attempting expansion.
the midline is the equilibrium zone. reactions near the top and bottom are usually more meaningful than signals in the middle.
range detector is not designed to predict direction by itself. it is designed to map consolidation, structure, compression, and breakout conditions so traders can build cleaner decisions around price behavior.
best used with:
market structure
volume analysis
session timing
liquidity sweeps
support and resistance
trend filters
risk management
risk note
no indicator guarantees a winning trade. always use risk management, wait for confirmation, and avoid trading during unclear market conditions.
Indicator

Indicator

Stryk HTF Reversal Box# Stryk HTF Reversal Box — PulseWire publication description
*(Paste the section below into the description box when you publish. It is written to avoid performance or outcome claims. Keep it as-is; do not add win rates, returns, or "profitable" language.)*
---
## Stryk HTF Reversal Box
**Overview**
Stryk HTF Reversal Box is a market-analysis tool that carries a higher-timeframe reaction zone onto your entry chart. It draws a High/Low box from recent closed higher-timeframe bars, but only when a higher-timeframe bar closed at a conviction extreme of its ATR band with above-average volume — the kind of location where a reaction, or a strong push through it, tends to begin. The box then moves through a clear, colour-coded lifecycle so you can read its state at a glance, and an optional panel measures the behaviour of the boxes on your current chart.
**The idea**
Levels drawn purely from price often lack context: why should this high matter more than that one? This tool adds two pieces of information a bare level does not carry — where a higher-timeframe bar closed within its own volatility band, and whether it did so on meaningful volume. A close pinned to the top of the band on strong volume is a stretched, high-participation event; a shelf built there is a more considered level than an arbitrary swing high. The script turns that reasoning into a defined, repeatable object.
**How it works**
- **Band position.** On the selected higher timeframe, an EMA-of-close band of ±(width × ATR) is constructed. The last closed higher-timeframe bar's close is located inside that band on a 0-to-1 scale (0 = band low, 1 = band high).
- **Qualification.** A close in the top of the band (at or above the Top threshold) on above-average volume marks a stretched high and draws a red "expect-down" box. A close in the bottom (at or below the Bottom threshold) on above-average volume draws a green "expect-up" box.
- **The box.** It spans the High/Low of the last N closed higher-timeframe bars and re-rolls on each higher-timeframe close until a bar qualifies.
- **Breakout.** On your entry chart, a candle that closes beyond a box edge with volume above the chart average locks the box and projects a target a chosen multiple of ATR beyond the edge. The box then takes the colour of the actual break direction, so a push through the extreme flips its colour to the continuation side.
- **Retest shelves.** 25 / 50 / 75% levels inside the box mark common pullback references. If price closes through the opposite edge, the box holds position and re-projects a target in the new direction.
- **Consolidation.** If the target is not reached within the timeout while price remains inside the box, the box turns blue and removes its target, waiting for a fresh break rather than assuming direction.
**State colours (line style shows the state)**
- Grey dotted — forming, waiting for a qualifying higher-timeframe bar
- Red / green dotted — armed, expecting a reaction down / up
- Solid — a volume-backed break has set a target
- Blue dotted — consolidating inside the box after the timeout
**The panel**
The optional corner panel is a self-measuring summary of the boxes on your current chart and timeframe only: how many reached their target, how many entered consolidation, the resulting rate shown with its sample size (n), and the average number of bars taken to reach target. It describes what has already happened on this chart. It is a study aid, not a projection, and it recalculates when you change settings.
**How to use it**
1. Choose the higher timeframe you take context from and load the tool on the entry timeframe you actually trade.
2. Watch for an armed (red or green) box forming a reaction zone.
3. A box turning solid marks a volume-backed break with a projected target; the 25 / 50 / 75% shelves are retest references inside the zone.
4. Use the panel to understand how these boxes have behaved on your instrument and timeframe before relying on them.
Every threshold, length, colour, width, and label is adjustable in the settings, and each input carries an in-app tooltip describing exactly what it does.
**Notes on repainting**
Higher-timeframe data is read from confirmed, closed bars using a one-bar offset with lookahead disabled, and all state changes are evaluated on the bar close. The live projection to the right of price is cosmetic; the box edges, breakouts, targets, and states are fixed once determined on a closed bar.
**Disclaimer**
This script is a technical-analysis and study tool. It does not place orders, does not provide financial advice, and makes no claim about future results. Markets involve risk; use your own judgement and risk management.
Indicator

Quantum Trend SignalQuantum Trading Indicator
Quantum Trading Indicator is a multi-factor trend and momentum analysis tool designed to help traders identify high-probability trading opportunities while reducing market noise. Instead of relying on a single indicator, it combines several technical concepts into one decision-making system.
How It Works
The indicator evaluates market conditions using a confluence of signals, including:
- Trend Analysis: Identifies the dominant market direction to help traders trade with the prevailing trend.
- Momentum Confirmation: Measures buying and selling pressure to filter out weak setups.
- Volatility Filter: Detects whether market conditions are suitable for trading and avoids low-volatility periods that often produce false signals.
- Signal Validation: Generates Buy and Sell signals only when multiple conditions align, increasing signal quality and reducing unnecessary entries.
- Dynamic Risk Levels: Displays adaptive stop-loss and target levels based on current market volatility to support disciplined risk management.
Key Features
- Multi-factor signal confirmation
- Trend-following market analysis
- Momentum and volatility filtering
- High-quality Buy & Sell signals
- Non-repainting signal logic
- Suitable for Forex, Crypto, Stocks, Indices, and Commodities
- Compatible with scalping, intraday, swing, and position trading
- Customizable settings for different trading styles and timeframes
Best Practices
For improved decision-making, use the Quantum Trading Indicator alongside sound risk management, price action analysis, and key support and resistance levels. No indicator can guarantee profitable trades, and traders should always confirm signals within their own trading plan.
Trade with discipline. Trade with confidence. Trade with Quantum. Indicator

Indicator

Indicator

SMC + HTF LevelsSMC + HTF Levels — an overlay indicator that combines Smart Money liquidity (BSL/SSL, EQH/EQL) with previous higher-timeframe levels (D, 4H, W, M, Q, Y H/L). Auto-merges overlapping SMC and HTF levels, tracks sweeps (wick/close), shows developing week/month highs and lows (CWH/CWL, CMH/CML), includes a nearby-levels dashboard and alerts. Fully customizable: colors, tolerance, fade, dedupe, and scale filter. Built for forex, indices, crypto, and commodities. Indicator
