Python script to run Expert Advisor

 

I want to run Expert Advisor daily for one hour in demo account.

Is it possible to run python script as a cron job and executes Expert Advisor for one hour ?

Also, if metatrader5 resides in different server from cron job then is it possible to connect to MT5 from python script ?

 
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 

You don't even need a Python Script. MetaTrader can be launched from the command prompt with a configuration file to launch an EA.

You could also run an EA from within MetaTrader while running a MQL5 Service and applying "templates" to a chart to start and stop an EA.