Loading…

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

SettingDefaultWhat it does
WatchlistEURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,USDCHComma-separated symbols to rank
Symbol suffixBroker suffix appended to every symbol, leave blank if none
Session start hour0Server-time hour the trading session is deemed to start (0-23)
Atr timeframePERIOD_H1Timeframe the normalising ATR is measured on
Atr period14ATR period used to normalise each symbol's session move
CornerCORNER_LEFT_UPPERPanel corner
X distance10Panel horizontal offset, pixels
Y distance20Panel vertical offset, pixels
Font size9Panel font size
AlertstrueAlert once when the top-ranked symbol changes on a new closed bar

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Indicators.
  3. Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
  4. Open the .mq5 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: Gold (XAUUSD) · ATR · Trading Sessions · Alerts · MT5 Indicator · MQL5 Source Code

MetaTrader 4 & 5 indicators · PolyMaria