ADX Volatility Waves [BOSWaves]ADX Volatility Waves - Trend-Weighted Volatility Mapping with State-Based Wave Transitions
Overview
ADX Volatility Waves is a regime-aware volatility framework designed to map statistically significant price extremes through adaptive wave structures driven by trend strength.
Rather than treating volatility as a static dispersion metric, this indicator conditions all volatility expansion, contraction, and zone placement on ADX-derived trend intensity. Price behavior is interpreted through wave-like transitions between balance, expansion, and exhaustion states rather than isolated band interactions.
The result is a dynamic, gradient-based wave system that visually encodes volatility cycles and regime shifts in real time, allowing traders to contextualize price movement within trend-weighted volatility waves.
Price is evaluated not by static thresholds, but by its position and progression within adaptive volatility waves shaped by directional strength.
Conceptual Framework
ADX Volatility Waves is built on the premise that volatility unfolds in waves, not straight lines.
Traditional volatility tools identify dispersion but fail to account for how volatility behaves differently across trend regimes. By embedding ADX directly into volatility construction, this indicator ensures that volatility waves expand during strong directional phases and compress during weak or transitioning regimes.
Three guiding principles define the framework:
Volatility must be conditioned on trend strength
Extremes occur within zones, not at lines
Signals should emerge from completed wave transitions, not instantaneous touches
This reframes analysis from reactive mean-reversion toward regime-aware wave interpretation.
Theoretical Foundation
The indicator fuses directional movement theory with statistical volatility modeling.
Bollinger-derived dispersion provides the structural base, while ADX normalization controls the amplitude of volatility waves. As ADX increases, volatility waves widen and deepen; as ADX weakens, waves compress and tighten around equilibrium.
From this foundation, extended upper and lower wave zones are constructed and smoothed to represent statistically significant expansion and contraction phases.
At its core are three interacting systems:
ADX-Controlled Volatility Engine : Standard deviation is dynamically scaled using normalized ADX values, producing trend-weighted volatility waves.
Wave Zone Construction : Smoothed volatility boundaries are offset and expanded to form upper and lower wave zones, defining overextension and compression regions.
State-Based Wave Transition Logic : Signals occur only after price completes a full wave cycle: expansion into an extreme wave zone followed by a confirmed return to equilibrium.
This structure ensures that signals reflect completed volatility waves, not transient noise.
How It Works
ADX Volatility Waves processes price action through layered wave mechanics:
Trend-Weighted Volatility Calculation : Volatility boundaries are dynamically adjusted using ADX influence, allowing wave amplitude to scale with trend strength.
Structural Smoothing : Volatility boundaries are smoothed to stabilize wave geometry and reduce short-term distortions.
Wave Offset & Expansion : Upper and lower wave zones are positioned beyond equilibrium and expanded proportionally to volatility range, forming clearly defined expansion waves.
Gradient Wave Depth Mapping : Each wave zone is subdivided into multiple gradient layers, visually encoding increasing extremity as price moves deeper into a wave.
Wave State Tracking & Cooldown Control : The system tracks prior wave occupancy, enforces neutral stabilization periods, and applies cooldowns to prevent overlapping wave signals.
Compression Detection : Volatility width monitoring identifies compression phases, highlighting conditions where new volatility waves are likely to form.
Together, these processes create a continuous, adaptive wave map of volatility behavior.
Interpretation
ADX Volatility Waves reframes market reading around volatility cycles:
Upper Volatility Waves (Red Gradient) : Represent upside expansion phases. Deeper wave penetration indicates increased overextension relative to trend-adjusted volatility.
Lower Volatility Waves (Green Gradient) : Represent downside expansion phases. Sustained presence signals pressure, while exits toward balance suggest wave completion.
Equilibrium Zone : The neutral region between volatility waves. Confirmed re-entry into this zone marks the completion of a wave cycle and forms the basis for BUY and SELL signals.
Regime Context via ADX : Strong ADX regimes widen waves, reducing premature reversal signals. Weak ADX regimes compress waves, increasing sensitivity to reversion.
Wave progression and completion matter more than single-bar interactions.
Signal Logic & Visual Cues
ADX Volatility Waves produces single-entry BUY and SELL labels as its visual cues, plotted only when price first enters a volatility wave zone after the defined cooldown period.
Buy Signal (Bottom Zone Entry) : A BUY label appears when price enters the lower volatility wave (oversold zone). This highlights potential expansion into undervalued extremes, providing visual context for trend assessment rather than a guaranteed execution trigger.
Sell Signal (Top Zone Entry) : A SELL label appears when price enters the upper volatility wave (overbought zone). This marks potential overextension into upper volatility extremes, serving as a contextual indicator of trend stress.
All labels respect cooldown tracking to prevent clustering. Alerts are tied directly to these zone-entry signals, and a separate alert monitors volatility squeezes for awareness of compression periods.
Strategy Integration
ADX Volatility Waves integrates cleanly into volatility-aware trading frameworks:
Wave Context Mapping : Use wave depth to assess expansion and exhaustion risk rather than forcing immediate entries.
Transition-Based Execution : Prioritize BUY and SELL signals formed after confirmed wave completion.
Trend-Regime Filtering : In strong ADX regimes, treat waves as continuation pressure. In weak regimes, favor completed wave reversions.
Volatility Cycle Awareness : Monitor compression phases to anticipate the emergence of new volatility waves.
Multi-Timeframe Alignment : Apply higher-timeframe ADX regimes to contextualize lower-timeframe wave behavior.
Technical Implementation Details
Core Engine : ADX-normalized volatility expansion
Wave System : Smoothed, offset, expanded volatility waves
Visualization : Multi-layer gradient wave zones
Signal Logic : State-based wave transitions with cooldown enforcement
Alerts : Wave entry, wave completion, volatility compression
Performance Profile : Lightweight, real-time optimized overlay
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Short-term volatility waves and intraday transitions
15 - 60 min : Structured intraday wave cycles
4H - Daily : Macro volatility regimes and expansion phases
Suggested Baseline Configuration:
BB Length : 20
BB StdDev : 1.5
ADX Length : 14
ADX Influence : 0.8
Wave Offset : 1.0
Wave Width : 1.0
Neutral Confirmation : 5 bars
These suggested parameters should be used as a baseline; their effectiveness depends on the asset volatility, liquidity, and preferred entry frequency, so fine-tuning is expected for optimal performance.
Performance Characteristics
High Effectiveness:
Markets exhibiting rhythmic volatility expansion and contraction
Assets with responsive ADX regime behavior
Reduced Effectiveness:
Erratic, news-driven price action
Illiquid markets with distorted volatility metrics
Integration Guidelines
Confluence : Combine with BOSWaves structure or trend tools
Discipline : Respect wave completion and cooldown logic
Risk Framing : Interpret wave depth probabilistically, not predictively
Regime Awareness : Always contextualize waves within ADX strength
Disclaimer
ADX Volatility Waves is a professional-grade volatility and regime-mapping tool. It does not predict price and does not guarantee profitability. Performance depends on market conditions, parameter calibration, and disciplined execution. BOSWaves recommends using this indicator as part of a comprehensive analytical framework incorporating trend, volatility, and structural context.
볼린저 밴드 (BB)
Vector Trinity I: Structure [VWAP-DBB] This indicator is **Part 1** of the "Vector Trinity" trading system—a comprehensive, data-driven framework designed to analyze market behavior through three distinct physical dimensions:
* **I: Structure (Space):** Defines the battlefield and volatility boundaries (Current Indicator).
* **II: Impulse (Time):** Identifies momentum ignition and energy release.
* **III: Flow (Energy):** Validates the move via volume and capital flow.
**2. Core Logic: Why Rolling VWAP?**
Most standard Bollinger Bands use a Simple Moving Average (SMA) as the centerline. The flaw in SMA is that it treats every candle equally, regardless of trading activity.
**Vector Trinity I** replaces the SMA with a **Rolling VWAP (Volume-Weighted Average Price)** over a rolling window (default 20).
* **Data Logic:** Price combined with Volume represents the true "cost basis" of the market.
* **Behavior:** The centerline becomes "sticky" during high-volume nodes and moves faster when real capital enters. It represents the *True Mean* of the market structure.
**3. The Dual-Band "Highway" Structure**
Instead of a single channel, this system utilizes a Double Bollinger Band (DBB) architecture based on Standard Deviations (StdDev) from the VWAP:
* **The Noise Zone (Basis to 1.0 StdDev):** The empty space in the middle. Price action here is often choppy and directionless.
* **The Acceleration Zone (1.0 to 2.0 StdDev):** The filled "Cloud." When candles close and stay within this zone, it indicates a strong trend (The Highway).
* **The Reversion Zone (> 2.0 StdDev):** Price is statistically extended and may revert to the mean.
**4. Volatility Squeeze Detection**
The indicator integrates a mechanical "Squeeze" detection based on the relationship between the Bollinger Bands (Variance) and Keltner Channels (ATR).
* **Squeeze ON (Orange Cloud & Dots):** Daily variance is at extreme lows. Energy is compressing. Do not trade direction; prepare for a breakout.
* **Squeeze OFF (Grey Cloud):** Expansion phase. Volatility is returning to the market.
**5. How to Use**
* **Step 1:** Observe the **Purple Line (VWAP)**. Its slope dictates the dominant trend structure.
* **Step 2:** Look for **Orange Zones**. This indicates a "Squeeze." Wait for the cloud to turn Grey.
* **Step 3:** Trade the breakout when price closes inside the "Acceleration Zone" (between the inner and outer bands) accompanied by Volume.
**Settings:**
* **Rolling Length:** 20 (Standard for swing/day trading).
* **Inner/Outer Bands:** 1.0 / 2.0 (The standard trend definition).
* **Squeeze Sensitivity:** 1.5 (Standard KC Multiplier).
---
### **中文说明**
**1. 简介:矢量三位一体系统 (Vector Trinity)**
本指标是“矢量三位一体”交易系统的 **第一部分**。这是一套基于数据逻辑的综合分析框架,旨在通过三个物理维度解构市场行为:
* **I: Structure 结构 (空间):** 定义价格运行的战场边界与波动率结构(本指标)。
* **II: Impulse 脉冲 (时间):** 识别动能的点火与能量释放。
* **III: Flow 流向 (能量):** 通过成交量与资金流验证突破的真伪。
**2. 核心逻辑:为什么要用 Rolling VWAP?**
传统的布林带使用简单移动平均线 (SMA) 作为中轨。SMA 的缺陷在于它平等地对待每一根 K 线,而忽略了成交量的权重。
**Vector Trinity I** 使用 **Rolling VWAP (滚动成交量加权平均价)** 替代了 SMA。
* **数据逻辑:** 只有结合了成交量的价格,才代表市场真实的“平均持仓成本”。
* **表现特征:** 在放量交易区,中轨会表现出更强的支撑/阻力特性;在缩量区则表现平滑。它代表了市场结构的*真实均值*。
**3. 双通道“高速公路”结构**
本系统不使用单条轨道,而是基于 VWAP 的标准差 (StdDev) 构建了双重布林带 (DBB) 架构:
* **噪音区 (中轨 到 1.0 标准差):** 中间的空白区域。在此区域内的价格通常是无方向的震荡。
* **加速区 (1.0 到 2.0 标准差):** 填充颜色的“云带”。当 K 线收盘并运行于此区域时,代表趋势确立,价格进入了“高速公路”。
* **回归区 (> 2.0 标准差):** 价格在统计学上过热,可能面临均值回归。
**4. 波动率挤压监测 (Squeeze)**
指标内置了基于布林带(方差)与肯特纳通道(ATR)对比的机械化“挤压”监测。
* **挤压状态 (橙色云带 & 底部圆点):** 每日方差处于极低值 (Variance at extreme lows)。市场正在积蓄能量。此时不应猜测方向,而应等待爆发。
* **扩张状态 (灰色云带):** 挤压结束,波动率回归,趋势展开。
**5. 使用方法**
* **第一步:** 观察 **紫色中轨 (VWAP)**。它的倾斜方向决定了主要的结构趋势。
* **第二步:** 寻找 **橙色区域**。这代表“挤压”正在发生。耐心等待云带变回灰色。
* **第三步:** 当价格突破并收盘在“加速区”(内轨与外轨之间)时,配合成交量介入交易。
**参数设置:**
* **Rolling Length (周期):** 20 (波段/日内交易的标准设置)。
* **Inner/Outer Bands (内外轨):** 1.0 / 2.0 (经典的趋势定义范围)。
* **Squeeze Sensitivity (敏感度):** 1.5 (标准肯特纳通道倍数)。
Tiered Buy IndicatorTiered Buy Indicator
accumulation strategy using 120 day sma + bollinger bands + RSI
TTM Squeeze Candles (Custom Colors) with Dynamic Strength BarHere is my tribute, tip of the cap to one of the greatest traders of our generation John F. Carter
It was my goal to try and simply visualize the squeeze with candle sticks, dynamic momentum, and signals all on one chart in one indicator. Please study and master the squeeze setup before trying to apply this indicator . You must have a deep understanding of how to trade the squeeze. Read "Mastering The Trade " watch JC's videos etc, and practice with a simulated or paper account before ever trying out new strategies with real money. Not financial advice, I am not a financial advisor! DYOR- with that said - I hope you like it :)
TTM squeeze candles **custom TradingView Pine Script (v6)** indicator that visualizes the **TTM Squeeze** strategy — a popular volatility-based momentum system originally developed by John Carter of TradeTheMarkets (TTM). This version enhances the classic TTM Squeeze with **custom candle coloring**, **dynamic momentum strength**, **visual alerts**, and a **real-time strength meter**.
---
## OVERVIEW: What is the TTM Squeeze?
The **TTM Squeeze** identifies periods when **volatility is contracting** (price is consolidating), followed by a **potential explosive breakout** when volatility expands.
It combines:
1. **Bollinger Bands (BB)** – measure statistical volatility
2. **Keltner Channels (KC)** – measure average true range (ATR) volatility
3. **Momentum Oscillator** – determines direction and strength of potential breakout
> **Squeeze ON** = BB inside KC → Low volatility (consolidation)
> **Squeeze OFF** = BB outside KC → Volatility expanding (breakout possible)
## BEST USED ON
- **Timeframes**: 15m, 1H, 4H, Daily
- **Markets**: Stocks, Forex, Crypto, Futures
- **Pairs well with**: Volume, VWAP, Support/Resistance
---
## SUMMARY
> **This is a highly visual, trader-friendly squeeze candle indicator that:
> - **Colors candles** based on squeeze state and momentum strength
> - **Shows real-time momentum intensity** via histogram + strength bar
> - **Alerts on squeeze start/release**
> - **Normalizes momentum** for fair strength comparison
> - **Provides clean, actionable signals** for breakout trading
---
**Ideal for swing traders and day traders** looking to catch **high-momentum breakouts from low-volatility consolidations** with **clear entry signals and conviction levels**.
Bollinger Bands MTF with Individual DMI Colors V1As we know prices react to volatility hence this indicator was made by me to know next move the market little back testing can give you wonderous results.
Squeeze Momentum con AlertasSqueeze Momentum with alerts to detect pattern changes from light green to dark green or from light red to dark red.
Best used in combination with ADX.
Squeeze Momentum FelipeSqueeze Momentum with alerts to detect pattern changes from light green to dark green or from light red to dark red.
Best used in combination with ADX.
BBMA Signal ProBBMA Signal Pro
BBMA Signal Pro is a professional BBMA (Bollinger Band + Moving Average) cycle indicator designed to identify structure, momentum, and continuation — not random signals.
This script strictly enforces the BBMA trading cycle and only allows continuation and re-entry signals when the market context is valid.
Core Components
Bollinger Bands (20 SMA, configurable)
WMA 5 & WMA 10 (High / Low)
EMA 50 for trend confirmation
BBMA Cycle Logic (Strict Flow)
All continuation setups require the full BBMA sequence to complete:
EXT (Extreme)
TPW (TP Wajib)
MHV (Market Hilang Volume)
Only after this sequence is completed will continuation setups be allowed.
This prevents early, unstructured, and low-quality signals.
Signals Included
EXT – MA pushes outside Bollinger Band
TPW – price reacts to opposite MA5 after EXT
MHV – price fails to break Bollinger Band
CSAK – continuation candle inside BB zone
CSM – strong momentum candle closing fully outside BB
Re-Entry – controlled pullback after CSAK or CSM
Each CSAK / CSM setup:
Appears only once
Waits for re-entry or invalidation
Is canceled immediately by an opposite CSAK or CSM
Re-Entry Conditions
Pullback to MA5 High (Sell) or MA5 Low (Buy)
Default Trend Confirmation (IMPORTANT)
By default, Re-Entry uses the CURRENT timeframe trend as confirmation:
Sell Re-Entry → Mid BB below EMA50
Buy Re-Entry → Mid BB above EMA50
This prevents:
Counter-trend re-entries
Late or forced continuation trades
Chasing exhausted moves
Optional entry confirmation:
-Touch MA5 only
-Touch MA5 + close inside MA5 band
Valid within 10 candles after the setup
Must match the last active setup (CSAK or CSM)
Dynamic Multi-Timeframe Trend Confirmation
Trend confirmation adapts automatically to the chart timeframe:
Chart TF | Trend Confirmation
5m | M15 + H1
15m | H1 + H4
1H | H4
4H | Daily
Daily | Current TF
Used for:
Filtering CSAK / CSM setups
Optional Re-Entry confirmation
Visual trend tables
Alerts
Trend Filter Modes
You control how strict the trend filtering is:
-No Filter
-Higher TF Only
-Current TF Only
-Higher TF + Current TF
A Skip Current TF Check option is available for advanced users who want earlier signals before full confirmation.
Invalidation Rules
Any opposite CSAK or CSM immediately cancels all pending setups and re-entries
Prevents holding bias when market structure flips
Visual & UX Features
Clean BB + MA layout (matches BBMA Signal Pro reference)
No duplicate labels
Clear setup → continuation → re-entry flow
Dynamic trend tables
-Higher timeframe trend table
-Current timeframe trend (Mid BB vs EMA50)
Alerts (Production-Ready)
Matches visual logic exactly
Supports webhook automation
Re-Entry alerts respect:
-Trend confirmation
-Re-Entry mode timing (touch vs close)
JSON payload includes:
Price
SL / TP reference
Trend context
Chart link
Who This Script Is For
✔ BBMA traders who follow structure
✔ Traders who respect trend alignment
✔ Traders who want re-entries done properly
✖ Not for scalping noise
✖ Not for counter-trend gambling
Final Note
This is not a signal spam indicator.
It is a decision-filtering system .
If you understand BBMA, this script enforces discipline.
If you don’t, it will expose impatience very quickly.
Trade the cycle. Follow the trend. Re-enter with confirmation.
rj_temu_pair_tradea simple "temu" implementation of a pair trade
see robotjames.substack.com for details.
Bollinger Bands Forecast with Signals (Zeiierman)█ Overview
Bollinger Bands Forecast with Signals (Zeiierman) extends classic Bollinger Bands into a forward-looking framework. Instead of only showing where volatility has been, it projects where the basis (midline) and band width are likely to drift next, based on recent trend and volatility behavior.
The projection is built from the measured slopes of the Bollinger basis, the standard deviation (or ATR, depending on the mode), and a volatility “breathing” component. On top of that, the script includes an optional projected price path that can be blended with a deterministic random walk, plus rejection signals to highlight failed band breaks.
█ How It Works
⚪ Bollinger Core
The script first computes standard Bollinger Bands using the selected Source, Length, and Multiplier:
Basis = SMA(Source, Length)
Band width = Multiplier × StDev(Source, Length)
Upper/Lower = Basis ± Width
This remains the “live” (non-forecast) structure on the chart.
⚪ Trend & Volatility Slope Estimation
To project forward, the indicator measures directional drift and volatility drift using linear regression differences:
Basis slope from the Bollinger basis
StDev slope from the Bollinger deviation
ATR slope for ATR-based projection mode
These slopes drive the forecast bands forward, reflecting the market’s recent directional and volatility regime.
⚪ Projection Engine (Forecast Bands)
At the last bar, the indicator draws projected basis, upper, and lower lines out to Forecast Bars. The projected basis can be:
Trend (straight linear projection)
Curved (ease-in/out transition toward projected endpoints)
Smoothed (extra smoothing on projected basis/width)
⚪ Price Path Projection + Optional Random Walk
In addition to projecting the bands, the script can draw a price forecast path made of a small number of zigzag swings.
Each swing targets a point offset from the projected basis by a multiple of the projected half-width (“width units”).
Decay gradually reduces swing size as the forecast deepens.
The Optional Random Walk Blend adds a deterministic drift component to the zigzag path. It’s not true randomness; it’s a stable pseudo-random sequence, so the drawing doesn’t jump around on refresh, while still adding “natural” variation.
⚪ Rejection Signals
Signals are based on failed attempts to break a band:
Bear Signal (Down): price tries to push above the upper band, then falls back inside, while still closing above the basis.
Bull Signal (Up): price tries to push below the lower band, then returns back inside, while still closing below the basis.
█ How to Use
⚪ Forward Support/Resistance Corridors
Treat the projected upper/lower bands as a future volatility envelope, not a guarantee:
The upper projection ≈ is likely a resistance level if the regime persists
The lower projection ≈ is likely a support level if the regime persists
Best used for trade planning, targets, and “where price could travel” under similar conditions.
⚪ Regime Read: Trend + Volatility
The projection shape is informative:
Rising basis + expanding width → trend with increasing volatility (needs wider stops / more caution)
Flat basis + compressing width → contraction regime (often precedes expansion)
⚪ Signals for Mean-Reversion / Failed Breakouts
The rejection markers are useful for fade-style setups:
A Down signal near/after upper-band failure can imply rotation back toward the basis.
An Up signal near/after lower-band failure can imply snap-back toward the basis.
With MA filtering enabled, signals are constrained to align with the broader bias, helping reduce chop-driven noise.
█ Related Publications
Donchian Predictive Channel (Zeiierman)
█ Settings
⚪ Bollinger Band
Controls the live Bollinger Bands on the chart.
Source – Price used for calculations.
Length – Lookback period; higher = smoother, lower = more reactive.
Multiplier – Bandwidth; higher = wider bands, lower = tighter bands.
⚪ Forecast
Controls the forward projection of the Bollinger Bands.
Forecast Bars – How far into the future the bands are projected.
Trend Length – Lookback used to estimate trend and volatility slopes.
Forecast Band Mode – Defines projection behavior (linear, curved, breathing, ATR-based, or smoothed).
⚪ Price Forecast
Controls the projected price path inside the bands.
ZigZag Swings – Number of projected oscillations.
Amplitude – Distance from basis, measured in bandwidth units.
Decay – Shrinks swings further into the forecast.
⚪ Random-Walk
Adds controlled randomness to the price path.
Enable – Toggle random-walk influence.
Blend – Strength of randomness vs. zigzag.
Step Size – Size of random steps (band-width units).
Decay – Reduces randomness as the forecast deepens.
Seed – Changes the (stable) random sequence.
⚪ Signals
Controls rejection/mean-reversion signals.
Show Signals – Enable/disable signal markers.
MA Filter (Type/Length) – Filters signals by trend direction.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Long Bollinger Bands StrategyLong Bollinger Bands Strategy (XAUUSD) — Lower Band Reversal + 4-Step Scaling + Daily DD Guard
Long Bollinger Bands Strategy is a long-only Bollinger Bands reversal/mean-reversion strategy designed mainly for XAUUSD. It looks for a bearish push below the Lower Band followed by a bullish reclaim on candle close, then optionally scales in up to 4 entries (E1–E4) as price pulls back.
1) Risk Management & Position Sizing
The strategy includes a USD-based risk input: Risk per setup (USD).
It automatically calculates position size using the average SL distance across the 4-entry structure, then distributes size across entries with built-in weighting.
BackTest Lot checkbox:
OFF (default): uses normalized sizing (qty divided by 100)
ON: uses raw qty for backtesting workflows
2) SL/TP Management (Locked SL + Optional Range TP)
Stop Loss (SL): based on SL distance (pips from entry) from E1.
Take Profit (TP):
If TP (pips) > 0: fixed pip TP from E1
If TP (pips) = 0: TP is based on the signal candle range (high–low)
SL Lock: once the stop is tightened, it never loosens again (only moves in a protective direction) until the trade closes.
3) Daily Drawdown Protection
Tracks equity by day and stops opening new positions once Max daily drawdown (USD) is reached for that day.
4) Notes / Disclaimer
This strategy does not use volume, RSI, fundamentals, news filters, or session filters. Users should apply discretion and consider confirmations from other tools and market context. Results depend on symbol settings, spread, commission, and volatility regime. Always forward-test before using in live trading.
Designed for XAUUSD. The script uses an internal pip conversion (pipSize = 0.1) consistent with common gold quoting; verify your broker’s pip definition for best alignment.
5) Suggested Usage
Best used during volatile conditions or after a clear lower-band sweep and reclaim.
Consider pairing with trend filters or higher-timeframe bias.
6) Release Notes
Initial release: Long-only BB reclaim logic with 4-step scaling
Added: SL/TP lock logic and visual SL/TP lines
Added: Daily drawdown guard and backtest lot toggle OANDA:XAUUSD
Trinity Bollinger Bands Pro with BreakoutsTrinity Bollinger Bands Pro Indicator
The **Trinity Bollinger Bands Pro + Triple Bands & Expansion** is a highly customized, advanced volatility and breakout indicator built on the classic Bollinger Bands framework. It expands the standard single-pair bands into **three independent deviation levels** (typically 1σ, 2σ, and 3σ) around a user-selectable moving average basis (default EMA 20). This creates clear "zones" of volatility, with dynamic trend-based coloring, layered fills, fixed-style labels, and a statistical volatility expansion detector shown as a directional background highlight in a separate pane. The result is a visually intuitive tool that helps traders identify consolidation, building momentum, confirmed trends, and rare explosive moves with high-probability filtering.
### Why It's Good and Different from Standard Indicators
This indicator stands out by addressing common limitations of traditional Bollinger Bands and multi-deviation scripts:
- **Layered statistical significance**: Unlike single (2σ) or basic double-band setups, it provides three distinct levels—early momentum (1σ), standard confirmation (2σ), and extreme/rare breakouts (3σ)—making it easier to stage trades progressively rather than relying on one ambiguous cross.
- **Trend-aware visuals**: Bands, basis, and fills change color based on price position relative to a separate trend MA, giving immediate bullish/bearish bias without needing additional indicators.
- **Clean, fixed labels**: Tiny, arrow-pointing labels ("1/2/3 SD Above/Below", "BB Basis") with consistent colors (purple upper, blue lower, yellow basis) provide instant identification
- **Statistical expansion detection**: Uses percentile ranking of band width "bell curve" concept" to identify abnormally high volatility, triggering directional background highlights (green bullish, red bearish) earlier than raw width spikes.
- **Reduced noise and fakeouts**: Tiered breakouts + expansion filter focus alerts on high-probability moves, unlike most BB scripts that flood signals on every touch.
Compared to popular public scripts (e.g., standard Bollinger Bands, Triple BB variants, or separate BBW Percentile tools), this combines everything into one cohesive indicator with superior visual clarity and statistical rigor.
### Key Features
- **Triple customizable bands**: Enable/disable and adjust multipliers for 1σ (early), 2σ (confirmed), 3σ (extreme) deviations.
- **Trend-based dynamic coloring**: Separate editable colors for each band set (bullish/bearish).
- **Layered zone fills**: Colored between bands with transparency, reflecting current trend.
- **Fixed tiny labels**: All left-pointing arrows with purple (upper), blue (lower), yellow (basis) backgrounds for quick reference.
- **Statistical expansion overlay**: with directional background (green/red) during extreme volatility expansions (earlier trigger using 2σ width).
- **Tiered alerts**: Early (Band 1), Confirmed (Band 2), Extreme (Band 3), High-Probability (Extreme + expansion), and general expansion alerts.
- **Fully configurable basis**: Length, type (SMA/EMA/WMA/RMA), and thin fixed lines for minimal clutter.
### How Traders Can Use It
- **Spot squeezes and breakouts**: Watch for tight bands (low width) → expansion background → price closing outside Band 1 (early entry), Band 2 (add/confirm), Band 3 (strong trend conviction).
- **Filter fakeouts**: Only act on crosses accompanied by expansion background color matching trend direction—dramatically reduces whipsaws.
- **Trend riding**: Price "walking" colored bands (e.g., hugging upper purple-label bands in green background = strong bullish momentum).
- **Scalping/intraday**: On lower timeframes (e.g., 10min), use early Band 1 signals with expansion for quick moves.
- **Swing/position trading**: Wait for Band 3 extreme breakout + colored background for higher-probability, larger moves.
- **Risk management**: Place stops near basis or inner band; trail using outer bands during expansions.
Overall, this indicator excels at turning volatility into actionable, staged signals with visual simplicity—ideal for traders seeking an edge in identifying real explosive trends over noise. It's particularly powerful on volatile stocks like AMD/INTC or indices during news/events.
Multi Timeframe Signal DashboardShows 10 indicators across 6 timeframes (5M, 15M, 30M, 1H, 4H, 1D):
EMA 50/100 crossover
RSI (with oversold/overbought highlighting)
MACD
DMI (DI+/DI-)
Stochastic (with extremes)
CCI
Bollinger Bands
VWAP
EMA 200 Trend
Momentum
Each cell shows ▲ (bullish/green) or ▼ (bearish/red), with scores per row and column, plus an overall BUY/SELL/HOLD signal.
CODEX OB + BBMA V1CODEX OB + BBMA is a multi-purpose Smart Money Concepts (SMC) indicator that automatically detects and visualizes key institutional trading elements such as Order Blocks, Fair Value Gaps, Rejection Blocks, Break of Structure, Pivots, High Volume Bars, and several qualitative SMC signals.
In addition to SMC tools, this indicator also incorporates multi-timeframe BBMA logic, allowing traders to view higher-timeframe momentum, trend direction, and volatility envelopes directly from the current chart. This makes it easier to align SMC setups—like OB, FVG, and BOS—with BBMA structure such as MA touches, re-entry zones, extreme candles, and volatility expansions.
This combination helps traders identify institutional footprints, multi-timeframe confluence, and displacement-based setups with high clarity.
Bollinger Bands Forecast [QuantAlgo]🟢 Overview
Bollinger Bands are widely recognized for mapping volatility boundaries around price action, but they inherently lag behind market movement since they calculate based on completed bars. The Bollinger Bands Forecast addresses this limitation by adding a predictive layer that attempts to project where the upper band, lower band, and basis line might position in the future. The indicator provides three unique analytical models for generating these projections: one examines swing structure and breakout patterns, another integrates volume flow and accumulation metrics, while the third applies statistical trend fitting. Traders can select whichever methodology aligns with their market view or trading style to gain visibility into potential future volatility zones that could inform position planning, risk management, and timing decisions across various asset classes and timeframes.
🟢 How It Works
The core calculation begins with traditional Bollinger Bands: a moving average basis line (configurable as SMA, EMA, SMMA/RMA, WMA, or VWMA) with upper and lower bands positioned at a specified number of standard deviations away. The forecasting extension works by first generating predicted price values for upcoming bars using the selected method. These projected prices then feed into a rolling calculation that simulates how the basis line would update bar by bar, respecting the mathematical properties of the chosen moving average type. As each new forecasted price enters the calculation window, the oldest historical price drops out, mimicking the natural progression of the moving average. The system recalculates standard deviation across this evolving price window and applies the multiplier to determine where upper and lower bands would theoretically sit. This process repeats for each of the forecasted bars, creating a connected chain of potential future band positions that render as dashed lines on the chart.
🟢 Key Features
1. Market Structure Model
This forecasting approach interprets price through the lens of swing analysis and structural patterns. The algorithm identifies pivot highs and lows across a definable lookback window, then tracks whether price is forming higher highs and higher lows (bullish structure) or lower highs and lower lows (bearish structure). The system looks for break of structure (BOS) when price pushes beyond a previous swing point in the trending direction, or change of character (CHoCH) when price starts creating opposing swing patterns.
When projecting future prices, the model considers current distance from recent swing levels and the strength of the established trend (measured by counting higher highs versus lower lows). If bullish structure dominates and price sits near a swing low, the forecast biases upward. Conversely, bearish structure near a swing high produces downward bias. ATR scaling ensures the projection magnitude relates to actual market volatility.
Practical Implications for Traders:
Useful when you trade based on swing points and structural breaks
The Structure Influence slider (0 to 1) lets you dial in how much weight structure analysis carries versus pure trend
Helps visualize where bands could form around key structural levels you're watching
Works better in trending conditions where structure patterns are clearer
Might be less effective in choppy, sideways markets without defined swings
2. Volume-Weighted Model
This method attempts to incorporate volume flow into the price forecast. It combines three volume-based metrics: On-Balance Volume (OBV) to track cumulative buying/selling pressure, the Accumulation/Distribution Line to measure money flow, and volume-weighted price changes to emphasize moves that occur on high volume. The algorithm calculates the slope of these indicators to determine if volume is confirming price direction or diverging from it.
Volume spikes above a configurable threshold are flagged as potentially significant, with the direction of the spike (whether it occurred on an up bar or down bar) influencing the forecast. When OBV, A/D Line, and volume momentum all align in the same direction, the model projects stronger moves. When they conflict or show weak volume support, the forecast becomes more conservative.
Practical Implications for Traders:
Relevant if you use volume analysis to confirm price moves
More meaningful in markets with reliable volume data
The Volume Influence parameter (0 to 1) controls how much volume factors into the projection
Volume Spike Threshold adjusts sensitivity to what constitutes unusual volume
Helps spot scenarios where volume doesn't support a move, suggesting possible consolidation
Might be less effective in low-liquidity instruments or markets where volume reporting is unreliable
3. Linear Regression Model
The simplest of the three methods, linear regression fits a straight line through recent price data using least-squares mathematics and extends that line forward. This creates a clean trend projection without conditional logic or interpretation of market characteristics. The forecast simply asks: if the recent trend continues at its current rate of change, where would price be in 10 or 20 bars?
Practical Implications for traders:
Provides a neutral, mathematical baseline for comparison
Works well when trends are steady and consistent
Can be useful for backtesting since results are deterministic
Requires minimal configuration beyond lookback period
Might not adapt to changing market conditions as dynamically as the other methods
Best suited for trending markets rather than ranging or volatile conditions
🟢 Universal Applications Across All Models
Regardless of which forecasting method you select, the indicator projects future Bollinger Band positions that may help with:
▶ Pre-planning entries and exits: See where potential support (lower band) or resistance (upper band) might develop before price gets there
▶ Volatility context: Observe whether forecasted bands are widening (suggesting potential volatility expansion) or narrowing (possible compression or squeeze setup)
▶ Target setting: Reference projected band levels when determining profit targets or stop placement
▶ Mean reversion scenarios: Visualize potential paths back toward the basis line when price extends to a band extreme
▶ Breakout anticipation: Consider where upper or lower bands might sit if price begins a strong directional move
▶ Strategy development: Build trading rules around forecasted band interactions, such as entering when price is projected to return to the basis or exit when forecasts show band expansion
▶ Method comparison: Switch between the three forecasting models to see if they agree or diverge, potentially using consensus as a confidence filter
It's critical to understand that these forecasts are projections based on recent market behavior. Markets are complex systems influenced by countless factors that cannot be captured in a technical calculation or predicted perfectly. The forecasted bands represent one possible scenario of how volatility might unfold, so actual price action may still diverge from these projections. Past performance and historical patterns provide no assurance of future results. Use these forecasts as one input within a broader trading framework that includes proper risk management, position sizing, and multiple forms of analysis. The value lies not in prediction accuracy but in helping you think probabilistically about potential market states and plan accordingly.
Fekry BB Entry/Exit with EMA FilterThis indicator is based on Bollinger Bands and exponential moving average strategy by Mr Kekry Zain
8EMA+BB-SubiProvides the facility to display 8 EMAs along with Bollinger Bands in the same indicator.
Bollinger Bands Mean Reversion using RSI [Krishna Peri]How it Works
Long entries trigger when:
- RSI reaches oversold levels, and
- At least one bullish candle closes inside the lower Bollinger Band
Short entries trigger when:
- RSI reaches overbought levels, and
- At least one bearish candle closes inside the upper Bollinger Band
This approach aims to capture exhaustion moves where price pushes into extreme deviation from its mean and then snaps back toward the middle band.
Important Disclaimer
This is a mean-reversion strategy, which means it performs best in sideways, ranging, or slowly oscillating market conditions. When markets shift into strong trends, Bollinger Bands expand and volatility increases, which may cause some signals to become inaccurate or fail altogether.
For best results, combine this script with:
- Price action
- Market structure
- Higher-timeframe trend context
- Previous day/week/month highs & lows
- Untested liquidity levels or imbalance zones
- Session timing (Asia, London, NY)
Using these confluences helps filter out low-probability trades and significantly improves consistency and precision.
Center and Volume AnalyzerCenter and Volume Analyzer that utilizes the chart's Center of Gravity alongside the Rate of Change with Bollinger Bands with a basis for the midpoint. As always, none of this is investment or financial advice. Please do your own due diligence and research.
MPI Strategy (Hardcoded 2025)MPI Strategy (Hardcoded 2025)MPI Strategy (Hardcoded 2025)MPI Strategy (Hardcoded 2025)MPI Strategy (Hardcoded 2025)
Pro Bollinger Bands Strategy [Breno]This strategy excels in highly volatile financial instruments, including cryptocurrencies, high-beta stocks, commodity futures, and certain exchange-traded funds (ETFs) that exhibit clear mean-reversion characteristics around their Bollinger Bands. The system's ability to utilize scaling (position averaging) and an ATR-based stop loss makes it particularly effective in markets with significant price swings, allowing the trader to capture profits from price extremes while managing increased volatility-related risk.
Core Strategy Logic
This Strategy implements a comprehensive trend-following and mean-reversion strategy primarily leveraging the Bollinger Bands (BB) indicator for entry and exit signals, complemented by an Average True Range (ATR)-based Stop Loss mechanism and an optional EMA filter. It is designed with robust features for capital management, including configurable leverage and a sophisticated position averaging (scaling) system.
Long Entry: A long position is initiated when the closing price crosses over the Lower Bollinger Band (ta.crossover(close,lowerBB)). This signals a potential mean-reversion opportunity following a price dip.
Short Entry: A short position is initiated when the closing price crosses under the Upper Bollinger Band (ta.crossunder(close,upperBB)). (Note: Short entries are disabled by default in the script inputs).
Exit Conditions (Profit Target): Long positions aim to exit upon interaction with the Upper Bollinger Band. Users can select from three exit methods:
"Close When Touch": Exits when close≥upperBB.
"Close Above then Below": Exits when the previous close was above the upper band, and the current close is below it (a reversal signal).
"High Above": Exits when high>upperBB. The strategy features an optional profitOnly setting, which restricts all exits to only occur if the trade is currently in profit (i.e., close is above the strategy.position_avg_price for longs).
Key Features and Customization
Bollinger Bands & Filters -
Customizable BB Parameters: The Length and Deviation of the Bollinger Bands are fully adjustable, allowing users to fine-tune the sensitivity of the entry and exit signals.
Optional EMA Filter: An optional EMA Filter can be enabled to align entries with the prevailing trend, where a Long entry is only permitted if close≥EMA(EmaFilterRange).
Risk and Capital Management -
Equity Allocation: Position size is dynamically calculated based on a Percentage of Equity (capitalPerc) combined with the set Leverage multiplier.
Dynamic Stop Loss (ATR-Based):
An optional Stop Loss (SL) is calculated using a multiple (slAtrInput) of the Average True Range (ATR).
The SL is set relative to the entry price upon trade activation, providing a volatility-adjusted risk management layer.
Position Averaging (Scaling): The script supports the addition of multiple units (pyramiding) to an existing position based on three user-selected criteria:
"No": No averaging.
"Percent": Adds to the position if the price has dropped by a set percentage (addPct) from the average price.
"ATR": Adds to the position if the current price is significantly below a calculated ATR-based support level from the average price.
Global BB Resonance [by TESTEDED]📈 Global BB Resonance Hunter
1. Design Philosophy: Dimensional Reduction
In modern trading, "Information Overload" is the enemy. Traders often clutter their charts with 15+ Bollinger Band lines across 1H, 4H, Daily, and Weekly timeframes, resulting in a "spaghetti chart" that is impossible to read quickly.
The core logic of this indicator is "Dimensional Reduction." Instead of drawing every single line, this script runs a background algorithm to detect "Confluence" (Resonance).
The Thesis: A single Bollinger line (e.g., 1H Upper) is easily broken. However, when multiple dimensions overlap (e.g., 1H Upper + Daily Mid + Weekly Low) at the exact same price level, a "Market Consensus" is formed. These are the critical "Walls" of the market.
The Solution: We sort all data by Price, not Time. If lines cluster together within a specific threshold (e.g., 0.15%), the script draws a single Resonance Box instead of multiple confusing lines.
2. Key Features
🛡️ Multi-Timeframe Monitoring: Simultaneously monitors 1H, 4H, Daily, Weekly, and Monthly Bollinger Bands in the background, regardless of your chart's current timeframe.
⚡ Smart Resonance Detection: Automatically groups overlapping levels into "Resonance Boxes."
⚡ (2-Line Confluence): Watch closely.
⚡⚡ (3-Line Confluence): Strong Support/Resistance.
⚡⚡⚡ (4+ Lines): "Iron Wall" Resonance.
📊 Volatility State Perception: Detects if the bands are Squeezing (accumulating energy) or Expanding (trending).
Style Options: Choose between Icons (🧊/🔥) or Geek Symbols (>.< / <^>).
🧘 Focus Mode (Sniper View): A unique feature that hides all individual lines, leaving only the Resonance Boxes and the Dashboard. This keeps your chart clean and distraction-free.
🔔 Smart Alerts: Get notified immediately when Price touches a Resonance Box or when a Squeeze occurs.
3. Visual Guide
A. The Symbols (State Indicators)
You can switch styles in the settings.
B. The Resonance Boxes
Red Box: Resistance Zone (Above Price).
Green Box: Support Zone (Below Price).
Label: E.g., ⚡⚡ 1H Up + D Mid. This tells you exactly which levels are overlapping.
4. Usage Strategy
The "Reversal" Setup: Look for a Green Resonance Box below price with High Confluence (⚡⚡). Ensure the state is NOT Expanding (<^> or 🔥).
The "Breakout" Setup: Look for the Squeeze Symbol (>.< or 🧊) on the dashboard. If price approaches a Resonance Box while Squeezing, expect a breakout.
The "Sniper" Method: Turn on Focus Mode. Set Alerts. Only look at the chart when price hits a "Wall."
How to use: youtu.be
📈 布林带多维共振捕猎者
1. 设计哲学:降维打击
在现代交易中,“信息过载”是最大的敌人。交易者经常在图表上叠加 1H、4H、日线、周线等 15 条以上的布林带线条,导致图表像“盘丝洞”一样难以阅读。
本指标的核心逻辑是“降维打击”与“数据可视化”。 我们不再画出每一条线,而是在后台运行算法来捕捉**“共振”(Confluence)**。
核心理念:单一周期的布林线(如 1H 上轨)很容易被刺破。但是,当多个维度的力量(如 1H 上轨 + 日线中轨 + 周线下轨)在同一个价格水平重叠时,就形成了**“市场合力”**。这些位置才是市场真正的“铜墙铁壁”。
解决方案:系统按价格而非时间对数据进行排序。如果多条线在特定阈值(如 0.15%)内聚集,脚本会画出一个**“共振框”**,而不是无数条混乱的线。
2. 核心功能
🛡️ 全维幽灵监控:无论当前图表周期如何,脚本都会在后台实时监控 1H, 4H, 日线, 周线, 月线 的数据。
⚡ 智能共振雷达:自动检测并合并重叠的关键位。
⚡ (2线共振):值得关注。
⚡⚡ (3线共振):强力支撑/阻力。
⚡⚡⚡ (4线以上):核弹级/铁壁共振。
📊 波动率状态感知:自动识别布林带是处于 挤压蓄势 还是 扩张爆发 阶段。
风格切换:支持 图标模式 (🧊/🔥) 或 极客符号模式 (>.< / <^>)。
🧘 专注模式 (Focus Mode):一键隐藏所有单线,只保留共振框和仪表盘。让您的图表瞬间清空,像狙击手一样只关注目标。
🔔 智能警报:当价格触及共振框,或出现极度压缩信号时,立即发送警报。
3. 视觉指南
A. 状态符号说明
您可以在设置中切换显示风格。
B. 共振框说明
红色方框:上方阻力区 (Resistance)。
绿色方框:下方支撑区 (Support)。
标签示例:⚡⚡ 1H Up + D Mid —— 明确告知您是哪几条线发生了共振。
4. 实战策略
“反转”交易:寻找价格下方的绿色共振框,且具有高星级 (⚡⚡)。前提是当前状态不是扩张状态 (<^> 或 🔥)。
“突破”交易:在仪表盘上看到 挤压符号 (>.< 或 🧊)。如果价格在挤压状态下逼近共振框,不要逆势阻挡,大概率会发生强力突破。
“狙击”模式:开启 专注模式。设置好警报。不要盯着 K 线波动,直到价格撞上“墙壁”触发警报时再介入。
使用说明: youtu.be
Intraday Volatility Map (Bajrang Bali Indicator)Indicator Name
Bollinger Bands on Historical Volatility (BB-HV) – Intraday Volatility Map
Concept
This indicator applies Bollinger Bands directly on Historical Volatility (HV) instead of price.
HV tells you the “energy” behind the move
Bollinger Bands on HV tell you when volatility is compressing or expanding
Works on all intraday timeframes for indices and stocks
You are not watching price alone — you are watching the strength behind price movement .
---
Core Logic
Historical Volatility is calculated using log returns, annualized
Bollinger Bands are plotted on the HV line (separate pane)
Upper/Lower bands show volatility expansion or contraction
User inputs: HV length, BB length, BB multiplier
---
What This Indicator Shows
Volatility Squeeze (Low HV) – HV stays below lower BB → quiet market, breakout coming
Volatility Expansion (High HV) – HV breaches upper BB → trend day or news-driven move
Normal Regime – HV oscillates between bands → balanced intraday structure
---
How to Use – Indices (NIFTY / BankNifty)
Trend Day Detection – Early HV breakout above upper band suggests strong directional movement
Range Day Identification – HV hugging lower band implies consolidation and mean reversion
Event Risk Mapping – Sudden HV spikes warn of macro data, gaps, policy events
---
How to Use – Stocks
Stock Selection – Choose stocks where HV is rising above mid-band → active, tradable
Entry Confirmation – Breakouts with rising HV have stronger follow-through
Risk Management – High HV → wide stops, low size; Low HV → tight stops, fakeouts possible
---
Signals Generated (For Alerts)
Squeeze Signal – HV < lower band for a set number of bars
Expansion Signal – HV crossing above upper band
Reversion Signal – HV falls back inside bands after a volatility spike
---
Best Timeframes
1m, 3m, 5m, 15m intraday
Works best on indices and liquid stocks
---
Suggested Inputs
HV Length: 20
BB Length: 20
BB Multiplier: 2.0
Squeeze Bars: 5–10
Expansion Filter: HV closing above upper band
---
Who Should Use This Indicator?
Scalpers – Identify high-energy zones
Day Traders – Ride trend days via volatility regime shifts
Option Traders – Read intraday realized volatility patterns
---
Trading Notes
This is a volatility-regime tool, not a buy/sell signal generator
Works best when combined with VWAP, structure, volume, or trend indicators
Always use personal judgment and risk management
---
Disclaimer
This script is for educational and research use only. It does not provide investment advice or guaranteed trading outcomes. Use at your own risk.






















