Dynamic ATR Channel MT5
- Göstergeler
- Sürüm: 2.0
Dynamic ATR Channel MT5 plots a dual-layer, volatility-adaptive price envelope centered on a slope-colored Moving Average, helping traders measure real-time volatility, spot clean breakouts, and place dynamic Stop Loss and Take Profit levels.
Unlike fixed-pip channels that break down across different instruments or sessions, Dynamic ATR Channel MT5 automatically scales its inner and outer bands using the Average True Range (ATR). This gives you an objective map of normal price swings versus overextended volatility spikes on any asset.
Key Features
- Dual ATR Volatility Envelope: Displays both an Inner Channel (default 1.5x ATR) for pullback/breakout structure and an optional Outer Extreme Channel (default 2.5x ATR) for overextension and target zones.
- Slope-Colored Center Baseline: Native MQL5 DRAW_COLOR_LINE highlights rising (Green), falling (Red), and flat (Gray) trend bias in real time.
- Objective Stop Loss & Take Profit Guide: Use the inner or outer ATR bands to adapt risk placement to current market volatility.
- Non-Repainting Breakout Alerts: Optional Popup, Mobile Push, and Email notifications when price closes outside either the Inner or Outer ATR band.
- Fully Customizable: Configure MA period, MA method (EMA, SMA, SMMA, LWMA), ATR period, and both band multipliers.
- Lightweight Native MQL5 Code: Uses native handles with incremental calculation for zero lag across Forex, Gold (XAUUSD), Indices, and Crypto.
How to Use
- Breakout Trading: Watch for strong candle closes outside the Inner ATR Band aligned with the slope of the Center MA.
- Mean Reversion & Profit Taking: Price touching or piercing the Outer ATR Band (2.5x ATR) often signals short-term exhaustion — ideal for scaling out profits or watching for reversal confirmations.
- Dynamic Trailing Stops: Trail stops behind the opposite Inner Band during sustained directional moves.
Input Parameters
- Center MA Period (20): Period for the central moving average baseline.
- Moving Average Method (MODE_EMA): Calculation method (EMA, SMA, SMMA, LWMA).
- Applied Price (PRICE_CLOSE): Price source for the baseline.
- ATR Period (14): Lookback period for Average True Range volatility.
- Inner Band Multiplier (1.5): ATR multiplier for the inner channel bands.
- Outer Band Multiplier (2.5): ATR multiplier for the outer extreme bands.
- Show Outer Extreme ATR Bands (true): Toggle visibility of the outer bands.
- Alert on Closed Bar (true): Evaluates breakout alerts strictly on closed candles (no repaint).
- Use Outer Band for Alerts (false): Trigger alerts on Outer Band breakouts instead of Inner Band.
- Enable Popup / Push / Email Alerts (false): Independent toggles for each alert channel.
More Tools
Visit my MQL5 Seller Profile to explore the complete Adaptive Indicator Suite and our automated Expert Advisors for MetaTrader 5.
