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.
Hello All,
Good afternoon!
I have the following piece of code:
if(setalert==1 && shift==0)
{
Alert(Symbol()," ",period," ",pattern);
setalert=0;
}
The alert works, but every time I open the same chart time period, the alert dialog pops up again.
How can I just have the dialog open just once when hit?
Thanks,
Carlos.