Hi folks,
Scenario 1:
The EURUSD went up, I want to tell the boss. What if the MetaTrader can open my email client!
Scenario 1:
The EURUSD went down. Could MetaTrader open the notepad to write a piece of note.
If you are a lazy person like me, or you have more useful ideas (scenarios) about running applications from MetaTrader!
Running a program from MetaTrader is not a hard thing anymore.
Just you this library.
And enjoy with the Shell function:
Usage:
use this function to run any program you want from your MQL code.
Parameters:
FullPath (string) the full path and the file name
Parameters (string) any parameters you want to pass to the program
Return vale:
(
int) the handle of the program in success and
-1 in error
Example:
int res = Shell ("c:\\window\\notepad.exe", "");
http://www.metatrader.info/node/89