Stochastic_Histogram_Alert - MetaTrader 5 Script - MT4/MT5 Resource


The indicator Stochastic Histogram provides alerts and sends emails and push notifications when the main and signal lines intersect, accompanied by a change in the color of the signal cloud.
//+------------------------------------------------+ //| Indicator input parameters //+------------------------------------------------+ Enter integer K period = 5 ; enter integer DP period = 3 ; enter integer deceleration = 3 ; enter ENUM_MA_METHOD MA_METHOD = MODE_SMA ; enter ENUM_STO_PRICE price field = STO_LOWHIGH ; enter unit high level = 60 ; // Overbought level Enter unit low level = 40 ; // oversold level Enter integer shift = 0 ; // horizontal movement of the indicator in bars Number of input units = 1 ; // Number of bars to activate the signal Input boolean sound on = true ; // Enable alert Input unit alarm number = 2 ; // number of alarms input boolean email-on = false ; // Enable mailing signal input boolean pressed = false ; // Enable signaling to mobile devices

Figure 1. Random_Histogram_Alerts. Intersection point of main line and signal line

Figure 2. Stochastic_Histogram_Alert. Activate alarm.
Attachment download
📎 stochastic_histogram_alert.mq5 (27.23 KB)
Source: MQL5 #22864
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •