Spread By Hour Pro
- インディケータ
-
Saad Ferdi
MQL5 and Python developer focused on gold and forex.
I build and fix MT5 Expert Advisors and indicators, with clean source code and clear input settings. - バージョン: 1.0
- アクティベーション: 5
Spread By Hour Pro shows when trading your symbol is cheap and when the spread blows up at your broker, and warns you when the current spread is abnormal for this hour.
What you see
- Heatmap Monday to Friday x 24 hours (broker server time): the average spread in points of each cell from the last N days of bars, coloured from green (cheap) to red (expensive). The rollover hour and the session opens stand out at once.
- All days column: average and maximum spread for each hour.
- Live column: the real spread from ticks, recorded while the indicator runs and saved between sessions. MetaTrader bar history keeps only one spread value per bar, often the lowest one; the live recorder measures what you actually pay. After 200 samples for an hour, the live value becomes the reference for that hour (shown in grey until then).
- Now line: current spread against the usual spread of this hour (for example "1.9x usual 5.3"), shown in red when abnormal.
- Cost of 1 lot: spread plus your commission, in the account currency.
- Cheapest three hours and the most expensive hour.
- Other symbols table (optional, up to 8 symbols): current spread against the usual spread at this hour.
Alerts
- When the spread is more than X times the usual spread of the hour (default 2.0x) and/or above a fixed number of points.
- Pop-up alert, optional push notification to your phone, with a pause between alerts.
Inputs
- InpDays (30), InpTF (M5), InpSkipZero, InpRecordLive
- InpCommission: commission per 1 lot round turn, in account currency
- InpAlertOn, InpAlertMult, InpAlertPoints, InpAlertPause, InpAlertPush
- InpSymbols: other symbols to compare, comma separated, for example EURUSD,US500,USTEC
- Panel position and colours
Notes
- Hours are broker server time.
- The live record is stored locally in MQL5\Files\SpreadByHourPro. Nothing is sent anywhere.
- The indicator only draws chart objects and does not trade.
- It is a cost-measurement tool. It does not give trade signals and makes no promise of profit.
- A free version with the basic hour table is available in the CodeBase under the name "Spread By Hour".
