How to make good quality back test for the stocks in MT5

 

Dear All,

Iam trying to test EA for us stocks on MT5 and it need only closing prices , till now i cant find a good way to make the test with high quality as i am getting wrong and missing bars

can any one help on this ? 

 
Eslam Heliel: Iam trying to test EA for us stocks on MT5 and it need only closing prices , till now i cant find a good way to make the test with high quality as i am getting wrong and missing bars. can any one help on this ? 
Then connect to a broker that specialises in stocks and provides quality historical data for them.