For closing prices it's normally better to use the price at a certain hour. By default, 1-day bars go from midnight to midnight, so they don't align to a certain market.