CodersGuru,
Hopefully you can help me with the following task. I would like to capture live or import historical data using DDE. Do you know of the santax to import data from a certain bar. Let's say for example I want the OHLC for August 10, 2006: 14:30 bar, M1 chart?
Thanks in advance,
TimeFreedom
Quote:
|
Originally Posted by codersguru
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
|