Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Stochastic_Histogram_Alert - MetaTrader 5 Script - MT4/MT5 Resource

author EAcpu | 3 reads | 0 comments |

Stochastic_Histogram_Alert - indicator for MetaTrader 5

Stochastic_Histogram_Alert - indicator for MetaTrader 5

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


Stochastic_Histogram_Alert - indicator for MetaTrader 5

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

Stochastic_Histogram_Alert - indicator for MetaTrader 5

Figure 2. Stochastic_Histogram_Alert. Activate alarm.


Attachment download

📎 stochastic_histogram_alert.mq5 (27.23 KB)

Source: MQL5 #22864

Verification code Refresh