Download MetaTrader 5

Indicators: MA-Crossover_Alert

To add comments, please log in or register
Publish your trading signal. Gain access to millions of traders!
Automated-Trading
Admin
99094
Automated-Trading 2012.09.18 14:36 

MA-Crossover_Alert:

The simplest semaphore indicator having alerts and providing the possibility to send signals to a mailbox.

MA-Crossover_Alert

Author: Nikolay Kositsin

Mehrdad Shiri
4480
Mehrdad Shiri 2012.10.08 13:22  

hi;

very good .

but there is a warning.

i attached it .

can you please check it, thanks.

Files:
Ahmed Soliman
15714
Ahmed Soliman 2013.02.08 00:50  
TIMisthebest:

hi;

very good .

but there is a warning.

i attached it .

can you please check it, thanks.

Change this line to get rid of warning

double sum,pr=0;
Mehrdad Shiri
4480
Mehrdad Shiri 2013.02.08 00:56  
codersguru:

Change this line to get rid of warning

thank you.
mima
385
mima 2013.04.27 23:50  

Hello

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?

 

Thank you  

Files:
Alain Verleyen
Moderator
30721
Alain Verleyen 2013.04.28 00:56  
mima:

Hello

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?

 

Thank you  

You have to replace extern with input in these 2 lines :

extern input bool SoundON=true; //Alert
extern input bool EmailON=false; //Email
mima
385
mima 2013.04.28 01:40  

 angevoyageur2013.04.28 00:562013.04.28 00:56:50

You have to replace extern with input in these 2 lines :

extern input bool SoundON=true; //Alert
extern input bool EmailON=false; //Email

 

Thank you Angevoyager. I will try to change Numberof alerts to se what is it.

mima
385
mima 2013.04.29 11:29  

Hello

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?

Files:
Alain Verleyen
Moderator
30721
Alain Verleyen 2013.04.29 11:41  
mima:

Hello

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?

Obviously it's possible, what have you tried ?
mima
385
mima 2013.04.29 15:20  
angevoyageur:
Obviously it's possible, what have you tried ?

Hello

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... 

Alain Verleyen
Moderator
30721
Alain Verleyen 2013.04.29 15:27  
mima:

Hello

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... 

There are plenty of resources on this site : Articles, Documentation, Codebase. If you can't code, maybe you want to ask for a job.
12
To add comments, please log in or register