Run Script on Alert

 

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 in because of the new permissions in newer MT Bulids.

I 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