Range Bars MT5
- Utilità
- Versione: 1.0
- Attivazioni: 10
MetaTrader 5 has no range bars. Range Bars MT5 adds them. Every bar has exactly the same high-low range, and a new bar forms only when price has moved by that range. Time is ignored, so quiet periods produce no noise and fast moves are drawn in full detail.
How it works
- Attach it to any normal chart (for example EURUSD).
- It creates a custom symbol such as EURUSD_R100 and builds it from real tick history (1 to 90 days).
- It then keeps that symbol updated live, tick by tick.
- The range chart opens automatically. Add any indicator, template or drawing tool, just like on a normal chart.
Features
- Range size in points, for any symbol: forex, gold, indices, crypto, futures.
- Price source: Bid (forex/CFD) or Last (exchange instruments).
- Gap handling: fill gaps with full range bars, or let one bar span the gap.
- Bars close exactly at their range limit, and each new bar opens where the previous one closed.
- Alerts and push notifications on every closed bar, or only when the bar direction changes.
For EA developers
- The last closed bar is published as terminal global variables: direction, open, close, bar count and update time (prefix RB_<symbol>_).
- Your own EA on the real chart can read them and trade from range-bar signals.
Inputs
- Range size (points)
- Price source: Bid or Last
- Gap handling
- Days of tick history to build (1-90)
- Custom symbol suffix (the range size is added automatically)
- Open the range chart automatically
- Template for the new chart (optional)
- Alert on every closed bar / alert on direction change / push notifications
- Publish last bar to global variables
Notes
- Keep the source chart open: it feeds the range chart.
- Range charts are built on a live terminal. Custom symbols cannot be created inside the Strategy Tester, so the program only shows a message there.
- Many range bars can close inside one minute. MT5 needs a unique time for each bar, so bar timestamps are spaced one minute apart. Price data is exact; the time axis is only a sequence.
- The program never opens, modifies or closes trades.
