Cross! - page 3

 

The alert still sounds somnetimes even if arrow is not there

 
TheWicker:
The alert still sounds somnetimes even if arrow is not there

Naughty arrow

 

Thanks, my system is complete now!

 

One EMA cross indicator with delta between EMAs. The other one is the same + RSI.

https://www.mql5.com/en/forum/175732

 

The other two MA crossing indicators are here.

 

3 Ma indicator is here https://www.mql5.com/en/forum/175990

 

Can Someone please code this?

Hello,

can someone please code an indicator that gives an alert when 3 EMA crosses?

I've seen some indicators that do this but they repaint and change from candle to candle..

thank you

 
Fay:
Hello,

can someone please code an indicator that gives an alert when 3 EMA crosses?

I've seen some indicators that do this but they repaint and change from candle to candle..

thank you

Check some previous posts: it should be few indicators with 3 ema crossing. With alert or not - i am not sure.

You may check also moving averages thread https://www.mql5.com/en/forum/173235 and alert thread https://www.mql5.com/en/forum

 

Need MA Crossover w/text message alert

Hello,

Does anyone know where I can find a MA Crossover Alert that will send an text message to my cell phone? I can do it in MT4 with price alert but I don't think that I can do it for crossover.

Thank you.

Thank You New Digital for moving my post to this thread...and also Compro and the rest of you for providing the alert that I was looking for.

 

Crossing Indicators

I wrote an EA where it calculates the prior and current MA and checks to see whether it is crossing the current Ask price. To calculate the prior, I set the last parameter to 1 (as compared to zero) and just had an if statement that checked to see if prior was > or = Ask and if current was < Ask. This seems to work at times, but from what I understand the prior calc is based off the prior interval, not as it was calced based on the prior tick data, correct?

If so, is there a more precise method for checking when a crossing is occurring?

My specific code is as follows:

double CurrentInd = iMA(NULL, 0, 20, 0, MODE_SMA, PRICE_CLOSE, 0);

double PriorInd = iMA(NULL, 0, 20, 0, MODE_SMA, PRICE_CLOSE, 1);

[...]

if ((CurrentInd>= Ask) && (PriorInd< Ask))

{

Print ("Buy Order Triggered");

}

Reason: