Hi Cagliostro, thanks for the great indicator. It doesn't seem to be updating on every candle; could you please check it?Cagliostro wrote: Fri Jan 02, 2026 12:00 am TwinSmooth ATR Bands
Happy New Year folks. Here you can find my MT5 port of QuantEdgeB's TradingView indicator: TwinSmooth ATR Bands.
image_2026-01-01_135841588.png
---
What Is It?
TwinSmooth ATR Bands combines two powerful smoothing techniques - SMMA (Smoothed Moving Average) and TEMA (Triple Exponential Moving Average) - to create a responsive yet stable trend baseline. ATR-based bands then define dynamic support/resistance zones that adapt to market volatility.
The result? Clear trend signals with minimal noise and whipsaws.
---
How It Works
1. SMMA (24) - Provides stability and filters out noise
2. TEMA (8) - Adds responsiveness to price changes
3. Base Line - Average of SMMA + TEMA
4. Trend Base - EMA(14) smoothing of the base line
5. ATR Bands - Trend Base ± ATR × Multiplier
Signal Logic:
-LONG: Close breaks above upper band
-SHORT: Close breaks below lower band
- Signal persists until opposite breakout occurs
---
Key Features
Mathematically Verified - Exact port of the original Pine Script formulas
18 Color Themes - Including Alpha, Premium, Classic, Ice, Blood Moon, and more
Colored Candles - Instant visual trend identification
Dynamic Cloud Fill - Shows distance between price and active band
Signal Arrows - Confirmed reversal markers
Full Alert System - Popup, Sound, Push Notification, Email
Chart Background Themes - Optional dark/light backgrounds per theme
Clean Code - Follows MQL5 best practices, no repainting
---
Trading Applications
- Trend Following: Stay in trades while price remains on the correct side of the band
- Volatility Filter: ATR bands automatically widen in volatile markets, tighten in calm periods
- Trailing Stop Loss: ATR bands are good to trail open trades and exit the trade before a trend reverse
Attachments forums
Re: 👨🔬 Cagliostro's MT5 Laboratory
asgariHoo, Mon Jan 05, 2026 7:40 pm