Loading…

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 · MT4 · v1.0 · Free

About Multi Symbol Drawdown Sync Panel

Multi Symbol Drawdown Sync Panel is an indicator for MetaTrader 4. 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.ex4, DrawdownSyncPanel.mq4, DrawdownSyncPanel.txt.

Settings

SettingDefaultWhat it does
WatchlistEURUSD,GBPUSD,USDJPY,USDCHF,AUDUSD,USDCAComma-separated symbols
Symbol suffixBroker suffix appended to every symbol, leave blank if none
High lookback50Trailing closed bars the recent high is measured over
Drawdown alert pct1.0A symbol counts as "in drawdown" once it is this % or more below its recent high
Sync count3Alert when at least this many symbols are simultaneously in drawdown
Refresh seconds20Seconds between automatic rescans
AlertstrueAlert once per rescan when the sync count is newly reached
CornerCORNER_LEFT_UPPERPanel corner
X10Panel horizontal offset, pixels
Y20Panel vertical offset, pixels
Font size9Panel font size

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the indicator from the Navigator onto a chart and adjust the settings.

Download the PDF guide

Tags: Buy/Sell Arrows · Trading Sessions · Multi-Currency · Alerts · MT4 Indicator · MQL4 Source Code

MetaTrader 4 & 5 indicators · PolyMaria