Chart levels
The Weekend Gap on a Forex Chart: Where 48 Hours Go, and What That Does to a Trendline
Batdorj Byambadorj · · 5 min read
Every forex trader knows one weekend gap: price closes at one number on Friday and opens at another on Sunday evening. This article is about the other one. It is on your chart every week, and I managed not to see it for about three months.
It is not a gap in price. It is a gap in time.
The chart has no weekends
The market closes on Friday at 5 p.m. New York and opens again on Sunday at 5 p.m. New York. That is 48 hours. Now look at an hourly chart: Friday's last candle and the week's first candle stand side by side, exactly as far apart as any other two candles.
Forty-eight hours of clock time take up no width at all. The bottom edge of a chart is labelled with dates and hours, so it reads as time. It is counting candles. Most days those are the same thing. Across a weekend they are not.
A horizontal level does not care. A number is the same number however wide the weekend is. A trendline cares a great deal, because a trendline carries a rate: so much price per step. The question nobody asks is, per step of what?
A trendline across the weekend: one line, two answers
Here is the case that showed me. A falling line on gold, drawn on an hourly chart:
- first point: 4,229.07 on Friday 2 October, 07:00 UTC
- second point: 4,187.47 on Tuesday 6 October, 14:00 UTC
A weekend sits between the two points. By the clock they are 103 hours apart. By the chart they are 55 candles apart. Same two points, same drop of 41.60 dollars. Spread over 103 steps, that is about 40 cents an hour. Spread over 55, it is about 76 cents a candle. Nearly twice as steep.
Both versions pass through both points, so at the points themselves they agree. They stop agreeing the moment the line is extended, and extending it is the only reason anyone draws one.
On Friday 9 October at 01:00 UTC, the line on my chart stood at 4,142.85. The alert engine behind it, working from the same two points, had the line at 4,163.64. The difference was 20.79 dollars. Price rose through the line I could see, and the alert stayed silent. The line it was guarding was somewhere else.
Which line was wrong
The engine's. It worked by the clock, so it spread the drop across 48 hours in which not a single candle was printed.
The chart has to win this argument, because the chart is where the line was drawn. I placed it by eye against candles, and it means what it looks like. MetaTrader 5 reads a trendline this way, by candle position, and so does TradingView. A tool that answers by the calendar is answering about a line nobody drew.
What gave it away was a change of timeframe. On the one-minute chart the line's first point was too far back to be loaded, so the drawing code fell back to plain clock arithmetic and, for once, drew the engine's line instead of the chart's. The same line now sat in one place on M1 and in another on M5 and H1. A line cannot be in two places.
This was on the browser chart I was running at the time, since retired for unrelated reasons. The error had been there from the first day. It survived because it needs a weekend: a line drawn on Tuesday and checked on Thursday comes out almost right under either calculation. And the web version had nothing to be checked against. When I rebuilt the engine inside MetaTrader 5, it compared every line it read with the platform's own value, and that kind of disagreement had nowhere left to hide.
The small gap every day
The weekend is not the only hole. Each day, just after the daily close, a broker's feed prints no candles for a while.
When I changed the engine to count trading time, I first assumed that pause was an hour for everything. That over-corrected: on EURUSD the line now bent the other way. So I measured it instead: 20 symbols, 10 days, five-minute candles. Three groups came out. About 60 minutes for gold, silver and, for a reason I still do not know, EURCHF, which was exactly 60 on every one of the ten days. Fifteen minutes for AUDCAD and EURGBP. Five minutes for the other thirteen currency pairs.
Those are one feed's numbers and yours may differ. The point is that the pause is not zero and is not the same for every symbol. Crypto has neither hole. It trades straight through the weekend.
Before you trust a number for a slanted line
If anything other than the chart itself gives you a price for a trendline (an alert, a script, a spreadsheet), it is worth one test:
- Use a line whose two points sit on opposite sides of a weekend. Nothing else tests anything.
- Read the line's price off the chart at the current candle, and compare it with the tool's number for the same moment.
- Check well away from the two points. The disagreement is zero there and grows as the line runs on.
- Do not run the test on Bitcoin. With no weekend hole, every method passes.
A chart looks like a picture of time. It is a row of candles, and the row has no Saturdays.
This article describes how a chart's time axis works and one measured error in my own software. It is not trading advice.
Batdorj Byambadorj
Batdorj Byambadorj has been trading forex for his own account since 2007, mostly gold. He is the sole developer of fx-alert and writes every article on this site himself.