Forum

Looking for mql4 crossover moving average code for indicator

Hello I am desperately looking for a simple piece of code that works just for moving average crossover. All the mql4 code I find on the internet is crappy and not working. Thanks

Indicator not displaying new alerts

Hello, I found this piece of indicator on the net. Once installed it displays old alerts but not the new alerts. I am beginner with mql, and I don't understand why, if someone could help thanks in advance. #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1

Sound alert instead of message box

Hello, I have an indicator that displays messages. I would like a sound instead. So I replaced this if (SoundON== true && i== 1 && CrossUp[i] < CrossDown[i] && alertTag!=Time[ 0 ]){ Alert ( "EMA Cross Trend going Up on " , Symbol (), " " , Period ()); alertTag = Time[ 0 ]; }

Change moving average color when crossover

Hello, I got an indicator with moving averages and I would like to add a 200 ema and change colors of the moving averages with the following rules : If all ema are under 200 ema : moving average color is grey If all ema are over 200 ema : moving average color is green Thanks in advance for your help

Create a sount alert on an indicator

Hello traders, I would like to create a sound alert on an indicator I use when the price closes under or below the indicator lines . It is a volatility indicator : //+------------------------------------------------------------------+ //| Guppy

Backtesting EA questions of parameters...

Hello, I am new under MT I use to trade with PRT, I am testing some EA on MT4 and I would like to know how : - to change trade number label by date ? - to have more time of test ? Thanks in advance AF