Hello I want to code an indicator based on two simple moving averages:
SMA period 5 and SMA period 20
Both of them should have Shift to 0 and applied to Close.
If SMA 5 crosses above SMA 20 AND the candlestick has closed above SMA 5, a sound should be played. (bullish signal)
If SMA 5 crosses below SMA 20 AND the candlestick has closed below SMA 5, a sound should be played. (bearish signal)
Also if it is possible to let the user change colors and all the settings that would be great but not necessary.
Anyone who can do this based on MT4?
Thank you.
SMA period 5 and SMA period 20
Both of them should have Shift to 0 and applied to Close.
If SMA 5 crosses above SMA 20 AND the candlestick has closed above SMA 5, a sound should be played. (bullish signal)
If SMA 5 crosses below SMA 20 AND the candlestick has closed below SMA 5, a sound should be played. (bearish signal)
Also if it is possible to let the user change colors and all the settings that would be great but not necessary.
Anyone who can do this based on MT4?
Thank you.