Multi Symbol Percent Overlay MT4
- Indicators
-
Kazuma Uezono
MQL5 / MQL4 / Pine Script v6 developer and active trader.
Seller on the MQL5 Market (indicators for MT4/MT5).
Services:
- TradingView Pine Script to MT5/MT4 conversion (bar-by-bar matching, with tester report)
- MT4 to MT5 migration - Version: 1.2
This free MT4 indicator puts the chart symbol and up to 7 more symbols into one sub-window and starts every line from the same bar at 0%. It shows which symbols have moved more or less from a common starting point, on one MT4 chart.
It draws lines from closing prices only: no trade signals, no alerts and no orders.
Features
- Up to 8 lines. Line 1 is the chart symbol; lines 2-8 come from your list (for example EURUSD,GBPUSD,XAUUSD).
- Start bar: left edge of the chart (follows scrolling and zooming), N bars back, or a fixed date and time.
- Percent change (start = 0%) or index (start = 100).
- Automatic broker prefix and suffix (for example .m or #). XAUUSD and GOLD, XAGUSD and SILVER are tried as each other's names.
- Right-edge labels with the symbol name and current value, and a legend with the start bar and the status of each symbol.
- Line colors, line widths, font size and 11 languages (Auto follows the terminal). The legend is drawn as an image, so every language is shown correctly on any Windows language setting.
- Up to 8 copies per chart.
Main Inputs
- Symbols to compare (comma separated, up to 7), prefix and suffix (empty = automatic).
- Start point: left edge / N bars back (default 100, 1-100000) / date and time (server time).
- Scale: percent change or index.
- Colors of lines 1-8, width of the chart symbol's line (default 2) and of the other lines (default 1).
- Right-edge labels, legend, font size (6-16), language.
- Debug CSV in the Common\Files folder (off by default).
How It Is Calculated
- Percent change = (close / start close - 1) x 100; index = close / start close x 100.
- The start is a bar of the chart symbol. For a date and time, the bar at that time is used, or the bar just before it.
- For every chart bar, each other symbol uses its newest bar that started at or before that server time. Closed-market periods keep the last value (flat line).
- Only the current bar moves with the price. Past values change only when the start bar changes.
Notes and Limits
- Display only. A symbol that has gained more since the start is not a buy or sell recommendation. Trade decisions are your own.
- MT4 keeps a limited number of bars per chart (Tools > Options > Charts, "Max bars in chart"). With an old start point, other symbols often show "not enough history before the start". Use a newer start or a higher timeframe, or open those symbols' charts to load more history.
- If the date and time is older than the chart's history, the first bar of the history becomes the start (shown in the legend). A date after the latest bar uses the current bar.
- Strategy Tester: only the chart symbol's line is drawn, as the legend states.
- The first 7 symbols of the list are used. Up to 8 copies per chart.
- "loading history..." is shown while another symbol's history loads, "symbol not found" for a symbol your broker does not have. A newly opened timeframe can need a few seconds. MT4 may show a finished line only with the next tick or when you click or scroll the chart.
- Trading hours and holidays differ between symbols; gaps are filled with the last value.
- Right-edge labels sit to the right of the latest bar when the chart shift is on. When it is off they are at the right edge and may overlap the lines (they can be turned off).
- With the left-edge start, the previous lines can stay for up to about 1 second after scrolling.
- A low sub-window cuts off the bottom of the legend (make it taller or turn the legend off). The legend can hide the left part of the lines.
- Symbols you enter are added to Market Watch.
- Rarely, after closing the terminal with many charts open, a leftover legend or label can appear for a moment at the next start and is then removed automatically.
Compatibility and Support
- MetaTrader 4 only. The MetaTrader 5 version is a separate free product.
- No DLLs, no WebRequest, no alerts, no trading.
- Support through MQL5 messages for installation and bug reports, on a best-effort basis (no guaranteed reply time). The MT4 history limit above is not a bug. Questions about market views or trade decisions cannot be answered.
