Libraries: Notify Icon

 

Notify Icon:

A library for creating icons in the Windows taskbar and for sending text alerts. The use of this library will help you make your MQL programs more informative.

An example of a tooltip

Author: Andrey Voytenko

 
Couldn't guess it myself, so please advise what application scenarios you see as useful?
 
fxsaber:
I couldn't guess it myself, so please advise what application scenarios you see as useful?

Alternative to Alert and graphical objects. Any informing the user.

@Andrey Voytenko, it would be super to add feedback - opening the message source by double-clicking on the icon.

 
Andrey Khatimlianskii:

@Andrey Voytenko, it would be super to add feedback - opening the message source by double-clicking on the icon.

Yes, Andrey, it would be nice, but MQL doesn't allow it. We need to implement a message handler in some window. From MQL we can't create a window via CreateWindow, we need a reference to a callback function (the recently invented in MQL pointer to function is not suitable), so it's a dead end. We have a chart window, but everything is filtered there, it is impossible to receive messages from outside, because of the notorious security. At the moment it can be done through a self-written DLL that will create its own window, its own handler. And this, as you understand, is no longer interesting.

 
Andrey Voytenko:

Yes, Andrei, it would be nice, but MQL does not allow it. We need to implement a message handler in some window. From MQL we can't create a window via CreateWindow, we need a reference to a callback function (the recently invented in MQL pointer to function is not suitable), so it's a dead end. We have a chart window, but everything is filtered there, it is impossible to receive messages from outside, because of the notorious security. At the moment it can be done through a self-written DLL that will create its own window, its own handler. And this, as you realise, is no longer interesting.

Or through checking something by timer.

 
Thank you Andrew, your developments are a joy!
 
Hello, sorry i am very not used to install or code these kind of files.

How am i supose to install this to be on my MT5 platform?
is there a specific place i need to place it?
do i need to add it on my chart or as script on my mt5 application?

Thanks a lot, seems like exactly what i would like (alarm nofitication to appear on my pc)

Thanks again
 
doudle #:
Hello, sorry i am very not used to install or code these kind of files.

How am i supose to install this to be on my MT5 platform?
is there a specific place i need to place it?
do i need to add it on my chart or as script on my mt5 application?

Thanks a lot, seems like exactly what i would like (alarm nofitication to appear on my pc)

Thanks again

This library only provides the code required to print out and pop up the notify icon.

The librbay does not provide any default messaging/notifications.

You are required to add what you want to be notified about in your own code/program. In your case preferably as an mql-service.