# Why doesn't the candlestick bodies align to open/close?

Studying some candlestick theory, I'm repeatedly confronted with pictures where the previous (or subsequent) open/close bodies does not align with what is found before (or following after). This is often seen in descriptions of engulfing candlestick patterns. Such as this:

So since this is so often the case, I'm wondering if this is simply due to sloppy diagrams, an error or is actually possible? I can't actually imagine how this would be possible, unless the exchange presenting the candles has been closed (while others have been open) and then choose to ignore the data in between.

Q: What (if anything) can cause candlestick bodies, not to align?

EDIT: 2018-06-04

I just made these screenshots of the 1M on MT4 and TV. Clearly MT4 shows a bunch of weird gaps, while TV shows proper candle connections.

• Apparently, it also depend on how your exchange handles after hours data as hinted in this question. Jan 15, 2018 at 14:21
• Traditionally (before night trading became common in the last 10 years) the closing time for US stocks was 1600 Eastern Time an the open was 930 the next day, so they were not the same price. Jan 15, 2018 at 15:03
• Joined the community to upvote this question. As I'm starting understanding the japanese candlesticks (thank you, \$GME) I'm struggling to understand why this question isn't broadly discussed even on videos explaining japanese candlesticks. Jan 31, 2021 at 9:44
• It's been 2 years since I asked this and have since gained deep insight to FX brokers and their liquidity providers. For the majority of small FX brokers there is a substantial manipulation of the markets feeds as they can provide pretty much any market "history" they like, and since most of the time the history they provide is limited (usually) to a few hundred candles. They can clandestinely change the data at an instant. This actually happens a lot! You can compare small FX broker data to that of large ones or Tradingview and you can easily see this once you know what to look for. Feb 1, 2021 at 13:50

Everytime the market closes and quotations stop, the new emerging information will necessarily be incorporated into the future opening price.

For example the daily gaps are a typical stock markets phenomenon: the quotes stop at the end of the day and the following trading-day reopening price have to absorb the overnight information.

In the Forex market instead, gaps may appear mostly in the weekly candlesticks, in fact the Forex doesn't close every day but at the end of the week, on Friday night.

However, in high volatility conditions, gaps may also occur in the lower timeframes like 1m or 5m. In your case, it may be a temporary tracking error of your MT4 or, more likely, due to inaccuracy in providing quotes of your broker.

• Yes, I had forgotten about this question, but have since found that the rather crappy old MT4 platform does this regularly on low time-frames because of poor server synchronization, with a lot of and random lag in the tick events. Sep 3, 2018 at 17:04
1. It's clear the question is not about previous day close to next day open data and

2. Almost every chart in publications show this same discrepancy for intraday charts.

It's likely there is data missing around, that does not get into charts when individual candles are generated. I have noticed that while charts are being updated with new data, no attempt is made to correct previous discrepancies; or data has imprecise time tags vs candle time starts and stops and it then is impossible to correct with data received after candle closure. It is useful to note and use [close previous]/[open next] price difference data.

• Hi James! Welcome to SE QF! Indeed this question has been clarified by experience. In summary, and for this case, it depends on your brokers data feed and precision. The account I was using above was for a retail trader account, and a pretty crappy broker who is known to have bad data. In fact, it hard to back-test anything with that broker, because their data is so bad. Apart from that, in reality, it is also very common that prices change too fast even for the brokers to bother to keep up with, in which case there will be large gaps and more concerning, any SL or TP may be simply bypassed! Jan 12, 2020 at 20:39
• In addition MT4 has been notorious for poor graphics/refreshing... Jan 12, 2020 at 20:42

Usually the gap between the candle bars will be due to overnight price change which replicate a new information in the markets while they were closed for trading.

• Not quite - there is still a notion of OHLC (open/high/low/close) even when your candle bars display 30 minute intervals.
– rbm
Jan 18, 2018 at 11:18
• if there is a gap it means there is no overlap! gaps can happen in microstructure environment as well. for example, if today's low if lower than yesterday's high, than there is no gap! Jan 18, 2018 at 13:59
• Nope. There is no over-night closing of FX. However, crappy FX brokers still using MT4 often require to restart their servers at (their server's) midnight, causing an artificial crazy spread that blows up most of their clients SL/TPs. In reality there is no valid excuse to have to restart your servers, except to add or change symbol settings, which can be done during the real market close over the weekend. This requirement is mainly put on the brokers by their liquidity providers (or those who host the MT4 servers.) Feb 1, 2021 at 14:05
• Also if your MT4 server is on London or NY time, there is essentially no market action during midnight and thus volatility should be very low and so the spread. Feb 1, 2021 at 14:05