The simplest semaphore indicator having alerts and providing the possibility to send signals to a mailbox.
Author: Nikolay Kositsin
very good .
but there is a warning.
i attached it .
can you please check it, thanks.
Change this line to get rid of warning
There is no alert in this indicator....on chart it shows arrows but there is no allert....In code itself there is:SOUNDON=true but in inputs there is no option for SOUNDON=true/false... and there is no option for e-mail as well. Am I doing something wrong or indicator is incomplete without allert? Also what is it: Numberof Alerts 2?
You have to replace extern with input in these 2 lines :
extern input bool SoundON=true; //Alert
extern input bool EmailON=false; //Email
angevoyageur2013.04.28 00:562013.04.28 00:56:50#
Thank you Angevoyager. I will try to change Numberof alerts to se what is it.
This indicator gives numeorous alerts for 1 cross....Is it possible to get just one simple alert for one cross like EMA cross up or EMa Coss Down?
I tried to change NumberofAlerts to 1 and that did not work either...still has two alerts. This type of indicator shouldnt be BUY/SELL anyway. To change code I do not know.
MQL.com had maybe still have examples how to create alerts but I couldnt find it anymore...