Session Leaders Board
Ranking a watchlist by raw pip or percentage move since the session opened systematically favours whichever instrument naturally moves the most - a gold or index CFD will out-rank a quiet forex cross most days regardless of which one is actually behaving unusually. This board instead divides each symbol's session move by its own ATR before ranking, so the question becomes "how many of this symbol's typical daily ranges has it covered since the session started", which is comparable across instruments with very different natural volatility. The session start for each symbol is located by walking its own InpAtrTimeframe bars back from the current time to the most recent bar whose server hour equals InpSessionStartHour - a simple, robust anchor that works the same way across every symbol on the watchlist without needing a per-symbol session calendar. The panel refreshes both on every tick of the host chart and on a 5-second timer, since the watchlist symbols move independently of whatever the host chart's own symbol is doing. Notes and limitations Session-start detection resolves to the chosen timeframe's own bar resolution, not to the exact minute - on H1 that means up to just under an hour of imprecision in where "session start" actually falls, documented here rather than implied to be exact. A symbol whose broker-side session genuinely starts at a different server hour than the rest of the watchlist will be measured from the wrong anchor; adjust InpSessionStartHour per broker, not per symbol (this tool uses one hour for the whole watchlist). Symbols the broker does not offer read as "n/a" rather than being silently dropped from the ranking, so the row count stays stable.
Indicator · MT5 · v1.0 · Free
About Session Leaders Board
Session Leaders Board is an indicator for MetaTrader 5 based on ATR. It can alert you with a pop-up, sound, email or push message. It has 10 settings, such as Watchlist, Symbol suffix and Session start hour. MQL source code included.
Files in the download: SessionLeadersBoard.ex5, SessionLeadersBoard.mq5, SessionLeadersBoard.txt.
Settings
| Setting | Default | What it does |
|---|---|---|
| Watchlist | EURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,USDCH | Comma-separated symbols to rank |
| Symbol suffix | Broker suffix appended to every symbol, leave blank if none | |
| Session start hour | 0 | Server-time hour the trading session is deemed to start (0-23) |
| Atr timeframe | PERIOD_H1 | Timeframe the normalising ATR is measured on |
| Atr period | 14 | ATR period used to normalise each symbol's session move |
| Corner | CORNER_LEFT_UPPER | Panel corner |
| X distance | 10 | Panel horizontal offset, pixels |
| Y distance | 20 | Panel vertical offset, pixels |
| Font size | 9 | Panel font size |
| Alerts | true | Alert once when the top-ranked symbol changes on a new closed bar |
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: Gold (XAUUSD) · ATR · Trading Sessions · Alerts · MT5 Indicator · MQL5 Source Code