Download MetaTrader 5

Indicators: MA-Crossover_Alert

To add comments, please log in or register
Automated-Trading
Admin
102590
Automated-Trading  

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
4535
Mehrdad Shiri  

hi;

very good .

but there is a warning.

i attached it .

can you please check it, thanks.

Files:
Ahmed Soliman
16155
Ahmed Soliman  
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
4535
Mehrdad Shiri  
codersguru:

Change this line to get rid of warning

thank you.
mima
373
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  

Files:
Alain Verleyen
Moderator
31599
Alain Verleyen  
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
373
mima  

 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
373
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?

Files:
Alain Verleyen
Moderator
31599
Alain Verleyen  
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
373
mima  
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
31599
Alain Verleyen  
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