DislikedHello! I downloaded some indicators, but couldn't quite find what I was looking for. I was hoping to find an indicator that has audio pop-up alerts when there is a golden cross or a death cross, (50 SMA crossing over the 200 SMA) on any time frame for any of the 28 pairs I use. I was able to find an arrow indicator, but not one with audio pop-up alerts. If you could help me with this it would be much appreciated! : )Ignored
This ma crossover will alert only once at close of crossover candle/bar.
Default ma periods are 1 and 5 for fast testing and do not represent optimum settings. (caution for the benefit of new traders).
Note: (Fast Period =1, Fast Method = 0 = Simple MA, Fast Shift = 0, Fast Price = 0 = close) = current close price.
To permanently change default periods find the following code lines 30 & 35 and change the 1 and 5 to 50 and 200 respectively or personal preference.
The default ma method is = 0 = simple. (to change ma method → 0=simple, 1 = ema, 2 = smoothed & 3 = linear-weighted. See lines 32 & 37. Code reference see- https://docs.mql4.com/constants/indi...enum_ma_method
Inserted Code
input int Fast_MA_Period = 1; // Fast Period input int Fast_MA_Shift = 0; // Fast Shift input ENUM_MA_METHOD Fast_MA_Method = 0; // Fast Method input ENUM_APPLIED_PRICE Fast_MA_Price = 0; // Farst Price input int Slow_MA_Period = 5; // Slow Period input int Slow_MA_Shift = 0; // Slow Shift input ENUM_MA_METHOD Slow_MA_Method = 0; // Slow Method input ENUM_APPLIED_PRICE Slow_MA_Price = 0; // Slow Price
Attached Image
Attached Image
For push notifications and non google email refer to youtube.
For google email refer here - https://www.mql5.com/en/code/12448
To edit/add custom sounds see posts https://www.forexfactory.com/showthr...78#post9733278 and https://www.forexfactory.com/showthr...69#post9734069
Attached File(s)
MA_Cross_Alert_Once_b mod - 1.mq4
10 KB
|
365 downloads
TSLA: 30-Dec-22 123.18 // 16-Jun-23 260.54 **111.51%**