Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Telegram üzerinde bulun!
Fan sayfamıza katılın
Kodu ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Kodu beğendiniz mi? MetaTrader 5 terminalinde deneyin
Göstergeler

Support/Resistance and Fair Value Gap Zones - MetaTrader 5 için gösterge

Saad Ferdi
Saad Ferdi
MQL5 and Python developer focused on gold and forex.
I build and fix MT5 Expert Advisors and indicators, with clean source code and clear input settings.
Görüntülemeler:
73
Yayınlandı:
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

The indicator draws two kinds of objects on the main chart, both from fixed rules so that the result is the same for every trader and can be tested.

Support and resistance. A level is a confirmed swing high or swing low: the bar's high (or low) must be the extreme of the InpPivotLen bars on each side. A pivot is therefore confirmed only InpPivotLen bars after it formed and never moves afterwards. The scan starts from the most recent pivot and goes back in time; a new level is skipped if it lies closer than InpMergeATR × ATR to a level already kept, so clusters of nearby swings become one line. Levels above the current price are drawn in the resistance colour, levels below in the support colour, and the colour is updated on every tick.

Fair value gaps. A bullish gap exists when the low of a bar is above the high of the bar two positions earlier; a bearish gap when the high of a bar is below the low of the bar two positions earlier. Gaps smaller than InpMinGapATR × ATR are ignored. A gap is drawn as a rectangle from its first bar to the right edge of the chart and is removed as soon as any later bar trades back into the far side of the gap (low at or below the gap bottom for a bullish gap, high at or above the gap top for a bearish gap). Only the newest InpMaxGaps open gaps are shown.

Everything is recalculated once per new bar, so the indicator is light even on M1 charts. It has no buffers and creates only chart objects with the prefix SRFVG_, which are deleted when the indicator is removed.

Inputs

  • InpPivotLen (10) – bars on each side that a swing high/low must dominate. Larger values keep only the major levels.
  • InpMaxLevels (8) – number of support/resistance lines.
  • InpMergeATR (0.5) – levels closer than this multiple of ATR are merged into one.
  • InpMinGapATR (0.1) – minimum gap size as a multiple of ATR.
  • InpMaxGaps (15) – maximum number of open gaps drawn.
  • InpLookback (1500) – number of bars scanned.
  • InpAtrPeriod (14) – ATR period used for merging and for the minimum gap size.
  • Colours – resistance, support, bullish gap and bearish gap.

The levels and gaps are a description of past price structure, not trading signals. A practical use is to export them into an Expert Advisor's logic and measure in the Strategy Tester whether reactions at these zones are better than at random prices on your symbol and timeframe.

Golden Cross Trend Filter (50/200 SMA on daily closes) Golden Cross Trend Filter (50/200 SMA on daily closes)

Classic 50/200-day Golden Cross trend filter: long while the fast SMA of daily closes is above the slow SMA, flat (or optionally short) otherwise. One decision per completed D1 bar, sizing by % of balance or fixed lot.

Equity/Drawdown Monitor Panel Equity/Drawdown Monitor Panel

A live account-level readout — equity, balance, tracked peak, and current drawdown % from that peak — the one risk number most charts never show you.

Multi-Timeframe Trend Dashboard Multi-Timeframe Trend Dashboard

A compact dashboard that classifies EMA trends across multiple timeframes and displays slope, ATR distance, duration and an alignment summary.

News Event Marker News Event Marker

Marks built-in economic calendar events on the chart with time lines, optional windows, labels, a panel and alerts.