Download MetaTrader 5
To add comments, please log in or register
Sign up for MQL5.community to post your Forum topic
johhny6
130
johhny6 2012.01.07 10:05 

It would be great if it were possible to script execution of metatester, through the CLI.

So, one could call the exe, pass it a .set file, and have it back-test a .mqh file and output the results to a log file..

c:\>metatester64.exe /run MyExpert.mq5 /set MyExpertSettings.set /logfile MyExpert.log /currency USDCHF /time 1-1-2001-1-1-2012 /period M15

by extending: http://www.metatrader5.com/en/terminal/help/tester/tester_using/metatester/metatester_console


Does anyone know if this is possible? Or must one use app/winforms instructions to achieve this?

/
To add comments, please log in or register