because of the reason, that metatrader interneal is no possibility to read the ALERT Messages from an Indicator, i wrote a parser script to read a File located in ..\MQL5\Logs.
A VBScript, that opens the latest logfile and read out the latest line.
My *.vbs Script is working if I open it with a doubleclick on Windows file systrm level.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi,
because of the reason, that metatrader interneal is no possibility to read the ALERT Messages from an Indicator, i wrote a parser script to read a File located in ..\MQL5\Logs.
A VBScript, that opens the latest logfile and read out the latest line.
My *.vbs Script is working if I open it with a doubleclick on Windows file systrm level.
Thearticle https://www.mql5.com/de/articles/1416 shows how to start a script when an alert occur.
My Script i located in
but it does not run when an alert occur.
I also tried to locate the script file in the folders located inI also tried a simplified skript with only one line:
Wscript.Echo "Script was called"But it does not work.
Does anyone have an Idea why I can not call the script with an alert sound?
I have Matatrader 5 Build 1816
Thanks in advance