I want a script that downloads all historics and markets available for metatrader automatically

 
I want a script that downloads all historics and markets available for metatrader automatically. Does anyone know how to do that?
 
testetestinho :
I want a script that downloads all historics and markets available for metatrader automatically. Does anyone know how to do that?

You don't need any script - as soon as your MetaTrader 5 connects to a trade server, you have immediate access to your entire trading history. which is on the trading server.

Reason: