The EMA calculation is not matching trading view for say at least the first 100 candles. It seems to eventually match but takes a long time.