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

XFisher_org_v1_Alert - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

XFisher_org_v1_Alert - indicator for MetaTrader 5

XFisher_org_v1_Alert - indicator for MetaTrader 5

The indicator XFisher_org_v1 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 |
//+------------------------------------------------------------------------+
Input unit F length = 7 ; // average depth
Enter Smooth_Method MA_SMethod=MODE_JJMA; // Smoothing method
Input unit MA_length = 5 ; // smoothing depth
Input integer MA_Phase = 15 ; // Smoothing parameter,
3//---- For JJMA, in the range of -100...+100, it will affect the quality of the transition process;
//----For VIDIA, it is the CMO cycle, for AMA, it is the slow average cycle
Input ENUM_APPLIED_PRICE_ IPC=PRICE_CLOSE_; // price constant
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

The indicator uses classes of the library SmoothAlgorithms.mqh (copied to \MQL5\Include). The use of intermediate calculated average price series without additional buffers for these classes is described in detail in the article.

XFisher_org_v1_Alert - indicator for MetaTrader 5

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

XFisher_org_v1_Alert - indicator for MetaTrader 5

Figure 2.XFisher_org_v1_Alert. Activate alarm.


Attachment download

📎 SmoothAlgorithms.mqh (130.2 KB)

📎 XFisher_org_v1_Alert.mq5 (28.55 KB)

Source: MQL5 #22865

Verification code Refresh