거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

Support/Resistance and Fair Value Gap Zones - MetaTrader 5용 지표

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.
조회수:
68
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

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.