Loading…

Spread Seasonality By Minute

Spread does not widen randomly - it widens around rollover, around scheduled news, and through the thin overnight hours, and that pattern repeats every trading day. This indicator reads the spread value MQL4 already records for every historical bar, buckets it by minute of day (1440 buckets covering a full day), and plots the running average of each bucket back onto every bar that falls in it. The effect is a seasonality curve that lines up under every day already on the chart rather than a separate summary panel disconnected from price - scroll through history and the same shape repeats once per day, making the predictable widening windows immediately visible without cross-referencing a table. The current, still-forming bar is never folded into its bucket while it is live - only bars that have actually closed contribute, so a single wide in-progress tick cannot bias the average it is about to be measured against. Buckets refine as more history folds in, which means bars shown earlier in a session can visibly firm up as later days confirm the same minute - that is the statistic settling in, not a repaint of a trading signal, and it is worth knowing before reading the very first day loaded as final. Notes and limitations - Reads the spread value the terminal already stores per historical bar. On feeds or history depths where that field is sparse or zero, the average for those minutes will read thin or zero rather than genuinely tight. - Best suited to intraday timeframes, M1 through M30. On H4 and above each bar spans many minutes, so the minute-of-day bucketing loses precision. - The first load scans the full history currently on the chart once to build its buckets; on a very long M1 history this first pass can take a moment before the line settles. - This is a statistical read of what has happened, not a forecast of what a specific future tick's spread will be - treat it as a guide to which hours to avoid trading size, not a spread guarantee.

Indicator · MT5 · v1.0 · Free

About Spread Seasonality By Minute

Spread Seasonality By Minute is an indicator for MetaTrader 5. MQL source code included.

Files in the download: SpreadSeasonalityByMinute.ex5, SpreadSeasonalityByMinute.mq5, SpreadSeasonalityByMinute.txt.

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: Trading Sessions · News Trading · MT5 Indicator · MQL5 Source Code

MetaTrader 4 & 5 indicators · PolyMaria