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

Range Expansion Clock: When the Day's Range Actually Gets Made. - MetaTrader 5용 지표

조회수:
125
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Range Expansion Clock

Category: Indicators.

The idea behind it

"Range expands during London/NY overlap" is something every trader has heard, but almost nobody has actually looked at their own chart's history to check which hours, specifically, build the range on the pairs and sessions they trade. This indicator does that check for you, continuously. It walks back over a chosen lookback window, buckets every hour of the day by how much of that day's eventual high-low range got added during that hour, and keeps a running average per hour. The result is a small histogram sitting on your chart showing, hour by hour, roughly what share of a typical day's range shows up there.

The live half of the panel takes that same profile and compares it to today. It tracks today's range so far against the average full-day range and compares that to what the historical profile says you should typically have built by the current hour. Running ahead of the typical pace suggests an expansion day; running behind it suggests compression — useful context before deciding whether a breakout is likely to hold or a range is likely to keep holding.

How to interpret it

  • Each bar in the mini histogram is one hour of the day (broker/server time); taller bars are hours that historically contribute more to the day's total range.
  • The current hour's bar is highlighted so you can see at a glance where "now" sits on the historical profile.
  • The "Today built" figure is today's running range as a percentage of the average full-day range over the lookback window — it can exceed 100% on an unusually volatile day.
  • The "Typical by now" figure is the historical average of how much of the day's range is normally in place by this hour — compare the two directly.
  • A backfill runs once on attach, so the histogram is populated immediately rather than needing weeks to fill in from scratch.

External variables (inputs)

Input Default Purpose
InpWorkTimeframe PERIOD_H1 Timeframe the hourly buckets are measured on. Keep at H1 for a true hour-by-hour profile.
InpLookbackDays 40 How many days of history the one-time backfill walks to seed the averages.
InpCorner CORNER_LEFT_UPPER Chart corner the panel is anchored to.
InpCornerX 20 Panel X offset in pixels.
InpCornerY 20 Panel Y offset in pixels.
InpBarWidth 10 Width in pixels of each hourly histogram bar.
InpBarMaxH 80 Maximum height in pixels for the tallest histogram bar.

Recommended use

  • Attach once per symbol — the hour-of-day profile is specific to that symbol's own session behavior and won't transfer cleanly to a different instrument.
  • Most useful on symbols with a clear session structure (FX majors, indices); a near-24-hour, session-flat market like some crypto pairs will show a much flatter histogram, which is itself informative.
  • Treat it as context, not a signal — it tells you how typical today's pace is, not which direction the remaining range will run.
  • Re-attaching resets the backfill from current history; the live averages improve further the longer the indicator stays running going forward.
  • Pure visualization — it places no orders and holds no position.


Fig. 1. Range Expansion Clock panel — hourly contribution histogram with the current hour highlighted, and the live today-vs-typical readout (shown in black & white per Code Base image guidelines).

Symbol Trading Hours: broker trade sessions, countdown and off-session bars Symbol Trading Hours: broker trade sessions, countdown and off-session bars

An indicator that reads the broker's weekly trade-session schedule for the chart symbol and shows whether trading is open, when the next close or open happens and a live countdown to it. It also marks bars that lie completely outside the trade sessions.

Backtest Data Preflight: check broker bar and tick history Backtest Data Preflight: check broker bar and tick history

Check the first and last available bars, gaps between bars, and available MT5 tick history for a date range before a backtest.

Round Number Reaction Map: Touch, Reject or Break at 00 and 50 Levels Round Number Reaction Map: Touch, Reject or Break at 00 and 50 Levels

Tracks every touch of a round "00" or "50" level and keeps a running scorecard of how often price rejects versus breaks through — then maps that history onto the levels nearest to current price.

GSLP Active Research EA for Gold GSLP Active Research EA for Gold

Free MT5 research EA with three closed-bar entry models, ATR stops, fixed-R targets and a tester cost ledger. Version 2.31 uses the chart symbol and timeframe. Historical research: XAUUSD M5. Educational source; published tests were loss-making.