How to add an pops up alert to the Indicator

 

Hello friends this is checkmail and have a few custiom made indicators but i also want it to alert me whenever there is any oppourtunity to trade.

Here am not talking about the sound alert but an pop-up window of alerts, can anyone help me with its code with comments.

And also to add it to variety of indicators, for instance crossing of lines, start of upmove or downmove, means the point price.

 

Use the function Alert (myTextMsgToDisplay);

bool ShortOpportunity = myIndicatorDetectShortOpp ();
if(ShortOpportunity)
{
    OpenShortPos ();
    Alert("Short Opportunity now!");
}
Reason: