Swing Range High Low


Swing Range High Low — 4-Level Market Structure & Range

Automatic swing highs/lows with confirmed level lines and a price range channel. Clean structure, no repaint option, alerts and push.

Full description

Swing Range High Low is a chart indicator that marks confirmed swing pivots and turns them into four readable price levels: the last confirmed Swing High, the last confirmed Swing Low, and the upper/lower boundaries of the working range.

What it draws

Element Meaning
Red ▼ arrow Confirmed Swing High (bar's high is higher than LeftBars bars to the left and not lower than RightBars bars to the right)
Blue ▲ arrow Confirmed Swing Low (mirrored logic on lows)
Orange dashed line Level of the last confirmed Swing High, carried forward
Aqua dashed line Level of the last confirmed Swing Low, carried forward
Red solid line Range High
Blue solid line Range Low
Dotted segments (optional) Connect consecutive Swing Highs and consecutive Swing Lows

All six series are visible in the Data Window with explicit labels.

How it works

  1. Pivot detection. A bar is a Swing High when its high strictly dominates the LeftBars bars to the left and is not lower than the RightBars bars to the right (mirrored for lows). An optional tolerance in ticks treats near-equal extremes as equal and prevents duplicate signals on plateaus.
  2. Level carry-forward. Once a pivot is confirmed, its price becomes a horizontal level that extends to the right until the next pivot of the same type appears. These are the “last recognised” support/resistance levels.
  3. Range channel. Two modes:
    • Price extremes — max high / min low over a rolling window (or the whole loaded history);
    • Confirmed swing levels — max swing high / min swing low inside the window. The window can be a fixed bar count, 0 for the full history, or -1 for auto (the currently visible chart area).
  4. Incremental calculation. Only the “dirty” tail is recalculated on new ticks; a full recalculation is O(N) using monotonic queues. No handles, no history loops per tick.
  5. No repaint mode (optional). With Confirm only after bar i+RightBars closes a pivot is published only after its right context is fully closed — signals are delayed but never change afterwards.

Alerts

  • Popup alert on a new confirmed swing;
  • Mobile push notification;
  • Sound file playback. Alerts fire once per confirmed bar (never per tick), with a configurable backfill limit to avoid spam after weekends or reconnects.

Inputs

Input Default Description
Bars to the left 5 Left context for pivot detection
Bars to the right 5 Right context for pivot confirmation
Equal-extreme tolerance, ticks 0 Treats near-equal extremes as equal
Confirm only after bar i+RightBars closes false Non-repainting mode
Arrow offset from level, ticks 10 Vertical arrow offset, based on tick size
Draw segments between consecutive swings false Optional dotted trend segments
Max segments per swing type 50 Limit for objects
Range mode Price extremes Price extremes or swing levels
Range window, bars -1 -1 = visible area, 0 = full history
Build range on closed bars only false Range does not move intrabar
Popup alert / Push / Sound false Notification channels
Sound file name alert.wav File from MQL5\Files or Sounds
Max alerts per call 5 0 = unlimited

How to use

  • Levels for entries and stops: long from a Swing Low bounce with the stop below the level; short from a Swing High with the stop above it.
  • Range trading: buy near Range Low, sell near Range High; a confirmed break outside the channel switches the context to breakout.
  • Structure filter: rising swing lows allow longs, falling swing highs allow shorts. The buffers (indices 2–5) can be read via iCustom to build EA filters.

Recommended settings

  • M1–M5 scalping: 2/2 , price mode, window 60–200
  • M15–H1 intraday: 5/5 , price mode, window 100–500 or auto
  • H4–D1 swing: 8/12 , swing mode, window 300–1000
  • MN1 positional: 5/8 , swing mode, window 12–36

Notes and limitations

  • With non-repainting mode off, the newest confirmed pivot may still change until its right context closes — this is normal fractal behaviour.
  • In price mode with window 0 the Range lines show the all-history extreme and never move down (by definition).
  • This is an analysis/visualisation tool, not a trading system. It provides no entry signals and no risk management. Past price structure does not guarantee future results.

Altri dall’autore
Bjorgum Key Levels (Bj Key Levels) MT5 Multi-timeframe support/resistance indicator that builds automatic price zones around pivot points — not just single lines. Zones are dynamic: width adapts to current volatility (ATR), every touch is counted, and each zone has its own life cycle — age, max touches, breakout, or role reversal.  Key features - **Automatic S/R zones from pivots** — pivot lookback is configurable (default 7 bars left / 7 bars right) - **Volatility-adaptive width** — zone wi
Pro_Multi_Timeframe_SR_Zones.mq5 — Description A multi-timeframe support/resistance (S/R) indicator for MetaTrader 5. The name is Pro_Multi_Timeframe_SR_Zones. It draws support and resistance price zones (rectangles) on the chart, found on 8 higher timeframes, with lines in the center of the zone, strength labels (hits), and control buttons. The file header states "Version 6.02 (Enhanced)," and #property version states 6.07. What the indicator does Scans 8 higher timeframes: M5, M15, M30, H1,
ManualTradePanel — manual trading panel for MetaTrader 5 Short description: A manual trading panel for MT5: one-click entries and exits, pending orders placed by drawing a line on the chart, visual SL/TP lines with risk in points, money and percent, a position monitor with partial close, risk control and notifications. PURPOSE The panel is built for manual and semi-automatic trading from the chart. It does not open trades from indicator signals: the trader makes every decision, while the panel h
SimpleTerminal — manual trading panel for MetaTrader 5 SimpleTerminal is a convenient expert advisor for manual trading directly on the chart. The panel always stays on top of other chart objects, can be dragged by its background with the mouse, and all its settings are saved separately for each symbol. The interface is available in English and Ukrainian, including tooltips. Instant trade entry One click opens BUY and SELL market orders, as well as BUY STOP, SELL STOP, BUY LIMIT and SELL LIMIT p
Overview Session_VWAP is a custom indicator for MetaTrader 5 (version 1.33) that calculates the Volume-Weighted Average Price (VWAP) within a trading session and builds ±1σ and ±2σ deviation bands around it (standard deviations). It also fills the area between the bands, shows a statistics panel, and fires alerts on line crossings. It draws in the main chart window and is designed for intraday timeframes M1–H12. How it works 1. VWAP calculation (cumulative across session bars) typical = (High +
Short description A professional manual trading panel for MetaTrader 5: one-click market and pending orders, adaptive ATR grid, break-even, trailing stop, deposit protection, projected P/L with spread and commission, draggable SL/TP lines, EN/UA/RU interface and three themes. Full description Fury Trading Panel — manual trading panel for MetaTrader 5 Fury Trading Panel is a compact on-chart control center for manual trading on MetaTrader 5. It combines fast order entry, full risk control and gri
Short description ProScalpPanel is a manual trading panel for MetaTrader 5. One-click market entries with Stop Loss and Take Profit in points, fixed or risk-based volume, quick position management, trailing stop, automatic breakeven and protection filters for spread, daily limits, session time and loss streak. The panel trades only on the trader's explicit command. Full description ## What it is ProScalpPanel is a chart panel for manual trading on MetaTrader 5. The program does not open or
ScalpPanel is a compact manual trading panel for MetaTrader 5 that turns the chart into a scalping cockpit. One-click BUY / SELL with preset Stop Loss and Take Profit, pending Limit/Stop orders, position management (Close All / Profitable / Losing / partial / Reverse), draggable SL/TP lines with live R:R, risk in money and in % of balance, automatic breakeven , trailing stop (fixed step / moving average / candle extremes) and auto partial close — plus per-position Partial/Close/Reverse buttons a
Anchored VWAP Pro — Anchored VWAP with standard deviation bands and an interactive panel SHORT DESCRIPTION (119 chars) Anchored VWAP with ±1σ/±2σ bands, zone fill, extra anchors (PDH, PDL, week, month), signals, alerts, interactive panel. FULL DESCRIPTION Anchored VWAP Pro is a professional implementation of the Anchored Volume Weighted Average Price (AVWAP) with standard deviation bands, zone fill, additional anchored series, signal arrows, alerts and an interactive information panel. Unlike th
Filtro:
Nessuna recensione
Rispondi alla recensione