Live Spread and Volatility HUD
- Utilities
- Jevon Naldo Yoshield
- Version: 1.0
Shows the live spread, today's range against the daily ATR, the server time, GMT offset, the countdown and the open sessions.
FEATURES
- Live spread in points and pips, colour coded tight, moderate or wide. Optional push alert.
- Today's range in pips, the daily ATR share, the server time, GMT offset, the countdown and the sessions.
HOW TO USE IT
1. Attach it to any chart.
2. Set the spread limits for the symbol.
3. Choose the ATR period and corner.
PARAMETERS
InpCorner, InpOffsetX, InpOffsetY, InpSpreadGood, InpSpreadWarning, InpSpreadAlert, InpATRPeriod, InpShowSessions, InpShowCountdown.
LIMITATIONS
- The spread is your broker's quote on the symbol, not a market wide one.
- The limits are in points, so the same number means a different distance on each symbol.
- The alert is a push notification and a journal entry, not a popup.
COMPATIBILITY
Forex, Gold, Indices and Crypto. Any account type. Native MQL5, no DLLs.
SUPPORT
Questions through the MQL5 message system. First reply within two working days.
HOW THE READINGS ARE TAKEN
- The spread is the symbol's own current spread, read from the terminal as it is quoted for your account.
- Today's range is the high and the low of the daily bar that is still forming, so it grows through the session. The label says live for that reason.
- The ATR is the daily ATR of the symbol, and the panel shows the share of it that today's range has used. The label on the panel always reads ATR(14), even if you change the ATR period input.
- The server time is the terminal's server clock. The GMT offset is the difference between the trade server time and UTC, rounded to the nearest hour and clamped to the range UTC minus 14 to UTC plus 14. It is read once when the panel is attached.
- The countdown is the time left until the current bar closes, taken from the bar's open time on the chart's timeframe.
- The session badges use the same offset: Asia from 00:00 to 08:00 GMT, London from 06:00 to 15:00 GMT, New York from 12:00 to 21:00 GMT, and off hours when none of them is open.
PARAMETERS IN DETAIL
- InpCorner, InpOffsetX, InpOffsetY: where the panel sits on the chart.
- InpBgColor, InpBorderColor, InpHeaderColor: the panel colours.
- InpSpreadGood: the upper bound of the tight, green status. Default 15 points.
- InpSpreadWarning: the upper bound of the moderate, gold status, and the level above which the alert fires. Default 30 points.
- InpSpreadAlert: send a push notification to the MetaTrader mobile app and write a journal entry when the spread passes the warning level. Off by default. There is no sound and no terminal popup.
- InpATRPeriod: the period of the daily ATR. Default 14.
- InpShowSessions, InpShowCountdown: show the session badges and the bar close countdown.
The panel reports conditions. It places, modifies and closes nothing.
