Discrepancies in Daily OHLC Data: MT5 vs. TradingView

 

I am currently learning how to get OHLC data in Python, and I have one question about the daily candles between MetaTrader 5 (MT5) and TradingView. I’ve noticed slight differences in the pricing (OHLC). Why is this happening?

 
dream 1215:

I am currently learning how to get OHLC data in Python, and I have one question about the daily candles between MetaTrader 5 (MT5) and TradingView. I’ve noticed slight differences in the pricing (OHLC). Why is this happening?

Are you referring to FX or equities?