Download MetaTrader 5

Candle close cross MA alert.mq4 Not working Please Help

To add comments, please log in or register
nutmg1
8
nutmg1  

Candle close cross MA alert.mq4 Not working Please Help

  •  
  •   
 
Hello,
This indicator is suppose to provide one Alert or Alert email when price is below a Moving Average and a candle closes above it or when price is above a Moving Average and a candle closes below it. For some reason instead of only alerting/emailing on the close of a candle crossing a Moving Average it is alerting/emailing on every candle.

Can anyone modify the code to only alert once on the close of a crossing candle? It would also be very nice if a feature could be added to give an option to only alert once in x mount of candles to cut down on alerts in a whipsaw.


I trade while I'm at work and need this alert since I can't stare at the chart for my entries.

I spent a couple hours looking for an indicator that does this and could not find one.

I am more than willing to pay if there is a coder I can work with.

Thanks
Joe
To add comments, please log in or register