MQL4 - automated forex trading   /  

Forum

Need help with Alert or PlaySound?

Back to topics list To post a new topic, please log in or register

avatar
5
greatyves 2006.09.23 19:57 
Hi! I've read the excellent text:Secrets of MetaTrader 4 Client Terminal: Alerting System. I like the fact to be able to trigger an .exe file instead of a .wav. I need to trigger .exe from an INDICATOR either for Buy, Sell, Close Buy, Close Sell. or It says we can trigger either a .bat .exe or .vbs instead of the .wav file from the events setup window.. My idea is to have a buy alert and a sell alert trigger different .exe (macro) files. Can the PlaySound command be use to trigger .exe file from within a .mq4? I hope my question is clear? Or how to start .exe file from within .MQ4? Thank You.
What the Numbers in the Expert Testing Report Mean

What the Numbers in the Expert Testing Report Mean

Article explains how to read testing reports and to interpret the obtained results properly.


avatar
597
irusoh1 2006.09.24 04:20 
If you want to buy or sell in mT4, you can just use buy or sell commands built into the lanquage no need to tirggerr playsound exe or bat files.

avatar
155
richplank 2006.09.24 05:08 
greatyves wrote:
Hi! I've read the excellent text:Secrets of MetaTrader 4 Client Terminal: Alerting System. I like the fact to be able to trigger an .exe file instead of a .wav. I need to trigger .exe from an INDICATOR either for Buy, Sell, Close Buy, Close Sell. or It says we can trigger either a .bat .exe or .vbs instead of the .wav file from the events setup window.. My idea is to have a buy alert and a sell alert trigger different .exe (macro) files. Can the PlaySound command be use to trigger .exe file from within a .mq4? I hope my question is clear? Or how to start .exe file from within .MQ4? Thank You.

I think the answer to you should be "No", although from http://docs.mql4.com/runtime/imports it appears possible to achieve something similar to what you want. Still, I also cannot see much point in trying.
Back to topics list  

To add comments, please log in or register