SumXMA - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources - MetaTrader 5 Resources

Real author:
This indicator calculates the average volume of the moving average over different periods. Additionally, the interval between averaging periods is set by the user.
Indicator input parameters:
//+------------------------------------------------------------------------+ //|Indicator input parameters | //+------------------------------------------------------------------------+ Enter Smooth_Method XMA_Method= Mode_SMA ; // Average method Input unit starting length = 20 ; // average period Input unit end length = 100 ; // final averaging period Input integer X phase = 15 ; // Smoothing parameter Enter integer shift = 0 ; // horizontal movement of the indicator in bars Input integer price movement = 0 ; // vertical movement of the indicator in points
The indicator was first implemented in MQL4 and released in the code base on November 30, 2009.
The indicator uses the SmoothAlgorithms.mqh library class (must be copied to terminal_data_folder\MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

Figure 1 SumXMA indicator
Attachment download
📎 smoothalgorithms.mqh (133.8 KB)
📎 sumxma.mq5 (7.3 KB)
Source: MQL5 #1241
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •