Re: Need Alert Delay and Alertcount input

2
savio123 wrote: Tue Oct 16, 2018 4:45 pm plz help me to input pop up

1. alert delay timing ; like ( alert appear 30 second later)
2. number of pop up alert count ; like ( pop meg appear 3 times )

thank you
Hi savio
you are welcome here
some old ema crossover signal versions repainting ones but i am not sure about this specifically
Better to use any of Mladen's/Mrtools newest MAs crossover indicator
for example
"Average crosses arrows or lines(mtf + alerts)"
Attachments
Indicator is just a tool.

Use it only if it can benefit you. Leave it if you don't know how to use it optimally.

Re: Need Alert Delay and Alertcount input

3
thank you , but my discussion is not about EMA indicator , how to code alert delay for example buy pop alert follows 5 second later cover ( delaying between tow message ) as same alertcount i need example in ema or some other indicator thank you


bool AlertDelay() {
static datetime last_time;
if (TimeCurrent()-last_time<30) { // delay for 30 seconds
return(false);
} else {
last_time=TimeCurrent();
return(true);
}
if (AlertDelay()) Alert("Whatever...");


Who is online

Users browsing this forum: No registered users and 18 guests