Multi Symbol Drawdown Sync Panel
One symbol pulling back from a recent high is routine and says little on its own. Several watched symbols doing it at the same time is a different kind of signal - it points at something happening to the wider market or session rather than one instrument's local pattern, and a single-symbol drawdown indicator has no way to show that by itself. This panel measures every symbol in a configurable watchlist against its own highest high over a trailing window, expressed as a percentage below that high, and lists them sorted deepest-drawdown-first. A synchronised-drawdown alert fires once at least InpSyncCount symbols are simultaneously beyond the drawdown threshold, edge-triggered so it does not repeat every rescan while the condition persists. Nothing here is tracked as a running peak carried forward between scans - the recent high is recalculated fresh from the lookback window every time, which means the panel always reflects the genuine current window rather than a stale peak the window has since rolled past. Notes and limitations - The recent high is measured on the CHART'S timeframe for every watched symbol, so a lower timeframe chart measures a shorter-duration high than the same lookback count on a daily chart. - A row shows "n/a" if that symbol's history has not synced far enough yet (common right after attaching to a chart with a freshly added Market Watch symbol) rather than a fabricated drawdown figure. - This is a snapshot panel refreshed on a timer, not a plotted historical series - scrolling the chart back does not change what the panel shows. - Drawdown here is purely price-based, measured against the chart symbol's own quoted price - it is not account equity drawdown and does not account for open position sizing or direction. - Sorting is a simple O(n^2) insertion sort, which is intentional: the symbol cap is small enough that this is simpler and just as fast as a general-purpose sort.
Indicator · MT5 · v1.0 · Free
About Multi Symbol Drawdown Sync Panel
Multi Symbol Drawdown Sync Panel is an indicator for MetaTrader 5. It can alert you with a pop-up, sound, email or push message. It has 11 settings, such as Watchlist, Symbol suffix and High lookback. MQL source code included.
Files in the download: DrawdownSyncPanel.ex5, DrawdownSyncPanel.mq5, DrawdownSyncPanel.txt.
Settings
| Setting | Default | What it does |
|---|---|---|
| Watchlist | EURUSD,GBPUSD,USDJPY,USDCHF,AUDUSD,USDCA | Comma-separated symbols |
| Symbol suffix | Broker suffix appended to every symbol, leave blank if none | |
| High lookback | 50 | Trailing closed bars the recent high is measured over |
| Drawdown alert pct | 1.0 | A symbol counts as "in drawdown" once it is this % or more below its recent high |
| Sync count | 3 | Alert when at least this many symbols are simultaneously in drawdown |
| Refresh seconds | 20 | Seconds between automatic rescans |
| Alerts | true | Alert once per rescan when the sync count is newly reached |
| Corner | CORNER_LEFT_UPPER | Panel corner |
| X | 10 | Panel horizontal offset, pixels |
| Y | 20 | Panel vertical offset, pixels |
| Font size | 9 | Panel font size |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Indicators.
- Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
- Open the .mq5 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the indicator from the Navigator onto a chart and adjust the settings.
Tags: Buy/Sell Arrows · Trading Sessions · Multi-Currency · Alerts · MT5 Indicator · MQL5 Source Code