What Are Magic Bands?
Magic Bands is a volatility-adaptive trend system that combines a Modified ATR SuperTrend with Fibonacci retracement zones to create clear trend direction and optimal pullback entries. It serves as the foundation component in 4 other AIO indicators (Banker Momentum, Advanced Market Structure, Market Structure Light, and All In One v2), making it the most reused algorithm in the entire AIO suite.
Modified True Range: Why It Matters
Standard True Range (TR) is defined as max(H-L, |H-Cprev|, |L-Cprev|). While functional, it can produce erratic readings during gap-heavy markets. AIO Magic Bands uses a Modified True Range with three custom components:
The Three Components
- HiLo:
min(High - Low, 1.5 × SMA(High - Low, Period))
Caps the basic range at 1.5× the average range, preventing single volatile bars from distorting the trailing stop. - HRef (High Reference): Captures gap-up situations:
- If today’s low ≤ yesterday’s high: simple
High - Closeprev - If gap up (low > highprev): reduces the gap component by 50% to avoid over-expanding the bands
- If today’s low ≤ yesterday’s high: simple
- LRef (Low Reference): Same logic for gap-down situations:
- If today’s high ≥ yesterday’s low: simple
Closeprev - Low - If gap down: reduces the gap component by 50%
- If today’s high ≥ yesterday’s low: simple
The final Modified TR = max(HiLo, HRef, LRef). This produces smoother bands that don’t whipsaw during gaps while still being responsive to genuine volatility expansion.
Wilder’s Smoothing (Not Standard EMA)
The Modified TR is smoothed using Wilder’s Moving Average instead of the standard SMA or EMA:
WilderMA = WilderMAprev + (Source - WilderMAprev) / Period
This is equivalent to an EMA with a much longer effective period (Wilder’s MA with period 34 is roughly equivalent to an EMA of period 67). The result is a very stable trailing stop that doesn’t get shaken out by normal pullbacks.
The Trail Stop
With ATR Factor = 6 and Period = 34:
- loss = 6 × WilderMA(ModifiedTR, 34)
- TrendUp = Close - loss (ratchets up in uptrend)
- TrendDown = Close + loss (ratchets down in downtrend)
The high ATR factor (6×) means the trail stop is set wide enough to survive normal market noise while catching genuine trend reversals.
Three-Layer Fibonacci Bands
Once the trend direction and trail stop are established, the space between the trail stop and the extreme (highest high in uptrend or lowest low in downtrend) is divided into Fibonacci zones:
Main Bands (Pullback Zones)
- Band 1 (61.8%): The first pullback support — the most common entry zone
- Band 2 (78.6%): Deeper pullback — stronger support if reached
- Band 3 (88.6%): Near the trail stop itself — last defense zone
- Trail Stop (100%): The actual trend-reversal level
Sub-Bands (Extension Zones, Optional)
- Band 4 (-16.8%): First extension target
- Band 5 (-26.8%): Second extension target
- Band 6 (-38.2%): Extended target zone
The visual encoding uses increasing opacity (85% → 70% → 60%) so deeper bands appear darker, intuitively conveying stronger support/resistance.
Alert System
Two key alert types:
- Band Level 3 Break (Trend Reversal): When the trail stop is broken, the trend flips. This is the highest-conviction signal from Magic Bands.
- Pullback Touch (Buy/Sell Zone): When price touches the 61.8% band in trend direction. Includes configurable cooldown (default 5 bars) and optional candle color matching (green candle for buy zone, red for sell zone).
Why Magic Bands Is the Foundation
Magic Bands is embedded in multiple AIO indicators:
- AIO Banker Momentum: Uses Magic Band for pullback confluence with Banker signals
- AIO Advanced Market Structure: Uses Magic Band direction for BOS trend alignment scoring
- AIO Market Structure Light: Uses Magic Band direction to filter pullback marks (long pullbacks only when band is UP)
- All In One v2: Includes full Magic Bands with sub-bands as one of its 20+ features
Practical Trading Setup
Trend Pullback Entry
- Confirm uptrend: Magic Bands green (trail below price)
- Wait for pullback to the 61.8% band (Band 1)
- Look for a green candle at the band touch
- Enter long with stop below the trail stop (Band 3 / 88.6%)
- Target: Sub-band extensions or next structural resistance
Trend Reversal Trade
- Wait for Band Level 3 break (trail stop penetrated)
- Bands flip from green to red (or vice versa)
- Enter in the new trend direction on the first pullback to the 61.8% band
- Stop above the prior extreme
See Magic Bands in Action
Clean trend identification with Fibonacci pullback zones.
View on TradingViewTry All AIO Indicators Free for 5 Days
Full access to the entire suite. No credit card required.
Start Free Trial