Dynamic ATR Buy Sell Zones

Dynamic Buy/Sell S/R Zones with Fibonacci & D/W/M Levels


Adaptive buy/sell zones powered by ATR volatility, anchored to swing highs/lows, with Fibonacci retracement and previous Day/Week/Month levels — all in one clean chart overlay.


Overview

ATR Zones is a professional-grade MetaTrader 5 indicator that automatically plots dynamic support and resistance zones directly on your chart. Unlike static S/R tools, ATR Zones adapts to real-time market volatility using the Average True Range (ATR), ensuring your zones remain relevant whether the market is quiet or explosive.

The indicator identifies swing highs and lows on a higher timeframe, then projects precisely calculated BUY zones (near swing lows) and SELL zones (near swing highs) onto your current chart. Each zone is width-scaled by ATR, so it breathes with the market.

✨ Key Features

🎯 Dynamic Buy & Sell Zones

  • Anchored to swing highs/lows on a user-selected higher timeframe (default: M30)

  • Zone thickness automatically scales with ATR volatility (default: M5 ATR)

  • Retracement-based positioning for precise entry areas

  • Smart overlap prevention — buy and sell zones never conflict

  • Optional distance filter to hide zones too far from current price

📐 Fibonacci Retracement Levels

  • Auto-drawn between the detected swing low and swing high

  • Fully customizable levels (default: 0.236, 0.382, 0.5, 0.618, 0.786)

  • Clean labels showing both percentage and price

  • Toggle on/off with a single input

📊 Previous Day / Week / Month High & Low

  • Automatically plots PDH, PDL, PWH, PWL, PMH, PML

  • Customizable colors and line styles

  • Extends cleanly to the right edge of your chart

  • Perfect for institutional-level confluence

🎨 Fully Customizable Visuals

  • Buy zone color (default: Lime green)

  • Sell zone color (default: Crimson red)

  • Fibonacci line and label colors

  • D/W/M high/low colors and line style

  • Toggle labels, zones, and Fib independently

⚙️ Flexible Timeframe Configuration

  • Swing detection timeframe: any TF (M1 to MN1)

  • ATR timeframe: independent from swing TF

  • Lookback period: fully adjustable

  • Works on any symbol — Forex, indices, commodities, crypto

🧠 How It Works

  1. Swing Detection — Scans the last N bars on your chosen Swing Timeframe to find the highest high and lowest low.

  2. Volatility Scaling — Reads ATR from your chosen ATR Timeframe to determine zone thickness.

  3. Zone Projection — Places a BUY zone above the swing low and a SELL zone below the swing high, using your retracement fractions.

  4. Fibonacci Overlay — Draws retracement levels between the swing extremes.

  5. D/W/M Levels — Adds previous period highs/lows for confluence.

  6. Auto-Update — Recalculates on every new bar, keeping zones fresh.

🎛️ Input Parameters

Group Parameter Default Description
Zones Show buy/sell zones true Enable/disable zones
Swing Timeframe M30 TF for swing detection
Swing Lookback 30 Bars to scan
ATR Timeframe M5 TF for ATR
ATR Period 14 ATR averaging period
Zone Width (ATR) 1.0 Thickness multiplier
Buy Retracement 0.05 Buy zone offset from swing low
Sell Retracement 0.05 Sell zone offset from swing high
Display Show Labels true Price labels on zones
Max Distance (ATR) 0.0 Hide distant zones (0 = off)
Buy Zone Color Lime Green zone color
Sell Zone Color Crimson Red zone color
Fibonacci Enable Fib true Show Fib levels
Fib Levels 0.236,0.382,0.5,0.618,0.786 Comma-separated
Fib Color Gold Line color
Fib Price Color White Label color
D/W/M Show Prev Day true PDH/PDL
Show Prev Week true PWH/PWL
Show Prev Month true PMH/PML
High Color DeepSkyBlue Previous high color
Low Color Orange Previous low color
Line Style Dash D/W/M line style

📈 Recommended Usage

  • Trend Trading — Use BUY zones in uptrends, SELL zones in downtrends as pullback entries.

  • Range Trading — Fade the edges of BUY/SELL zones in consolidation.

  • Confluence Trading — Combine zones with Fib levels and PDH/PDL for high-probability setups.

  • Multi-Timeframe Analysis — Set Swing TF higher than your chart TF for stronger zones.

  • Volatility Awareness — Watch ATR-scaled zones widen during news events.

💡 Best Practices

  • Use on liquid symbols with reliable ATR data.

  • Combine with price action confirmation (candlestick patterns, breakouts).

  • Adjust InpZoneATRWidth for tighter or wider zones depending on your strategy.

  • Set InpMaxDistATR to filter out irrelevant distant zones on volatile pairs.

  • Backtest on your preferred timeframe before live trading.

⚠️ Disclaimer

This indicator is an educational tool only — not financial advice. The levels and zones shown are reference points, not buy/sell signals.

Trading involves risk. You may lose some or all of your capital. All trading decisions and risk management are your responsibility.

No profit is guaranteed. Results may vary between brokers and market conditions. The developer is not liable for any losses or damages.

All sales are final after download, except where required by law. MQL5 Market policies also apply.

By using this indicator, you accept these terms.

Mais do autor
Range Detector Boxes
Jose Rodrgues Chaves
Range Detector Boxes draws clean range boxes on your chart and  freezes them only after a confirmed breakout — no repainting,  no fakeout green/red jumps on reload. KEY FEATURES • Consolidation box continuation: the box right edge extends while    price stays inside the range, pauses on volatile bars, and    resumes when the range is intact again. • Confirmed breakout logic: a box is frozen only after a close    at least N points beyond the edge (user-defined), optionally    requiring multiple
FREE
ELOHIM FX & GERT FX — TRADE MANAGER EA Manual Trading Panel | Position Management | Order Execution | Risk & Trade Control [NOTE: This trade manager is set for XAUUSD / GOLD symbol] Discount Ends SOON   next price 69 $ Trade Manager EA is a professional manual trading panel for MetaTrader 5 designed to give traders direct control over market orders, pending orders, position management, partial profit taking, break-even protection, trailing stops, TP ladders, grid orders, trigger lines, news awar
MACD Support & Resistance Levels with Previous D/W/M Highs & Lows Overview Elohim FX – MACD SNR is a powerful chart overlay indicator that automatically detects and draws support and resistance levels based on MACD crossovers with its signal line. It combines momentum analysis with price action to reveal high-probability zones where price is likely to react — all without cluttering your chart with a separate oscillator window. Whether you're a scalper, day trader, or swing trader, this tool give
Vwap Ema Crossover
Jose Rodrgues Chaves
Anchored VWAP + EMA(9) Bias Engine with Clean Entry & Exit Signals Elohim FX – VWAP EMA Crossover is a precision trend-and-bias tool that combines the institutional strength of an Anchored VWAP with a fast EMA(9) to define market direction, then delivers clean, bias-gated entry and exit signals — all on closed-bar confirmation so you never chase a repainting signal. No clutter. No bands. No noise. Just two lines, one bias, and clearly defined arrows. How It Works The indicator is built around a
FREE
SNR Detection SMC Trendline Pro Non-repainting Smart Money Concepts indicator — BOS, CHoCH, Order Blocks, Fair Value Gaps, Liquidity Sweeps, Premium/Discount zones, multi-timeframe bias dashboard, accurate auto-trendlines, ZigZag S/R and live Range Detector boxes. All signals fire on closed bars only. Elohim FX — SNR Detection SMC Trendline Pro A complete Smart Money Concepts (SMC) toolkit built for traders who are tired of indicators that repaint, lag, or clutter the chart with noise. Every
Filtro:
Sem comentários
Responder ao comentário