This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

Run external Application from Expert Advisor


Back to topics list
avatar
19
guitara 2005.04.15 04:17 
I don't see how it's possible to run an external application from an expert advisor. Is this correct? This is something I think should be included if it isn't.
avatar
4464
Slawa 2005.04.15 10:43 
You need to write your own dll for your purposes
import from dlls works ok. see our samples
if You do not need for waiting results from exe then You may assign your exe-file to alert event (Tolls-Options-Events tab). Alert function call from expert advisor launches assigned exe-file
avatar
19
guitara 2005.04.15 19:29 
Thanks.. The alert exe assignment should work fine :-)
avatar
19
guitara 2005.04.18 07:47 
Is there any way to run 2 applications? I need to run one if the indicator tells me buy, and a different one if it tells me sell. Can I use a different alert to set this up? I have the one Alert set to buy, I also see an expert advisor sound. How would I code it so I could utilize that to run a different application?
avatar
4464
Slawa 2005.04.18 11:38 
use dlls
Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets