Quote:
Originally Posted by intraforex
Enivid : you have tested the code ?
I do not work: the alarm continues to play until the completion of the bar....
|
Do you use it on M5?
EDIT: I've found the real problem

. It shouldn't be bool. Make it int or long. And remove static, it's not needed if you declare it as a global variable.