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

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

author EAcpu | 5 reads | 0 comments |

XDidi_Index - indicator for MetaTrader 5

XDidi_Index - indicator for MetaTrader 5

XDidi_Index - indicator for MetaTrader 5

Rudine Felipeto

Advanced customization settings for this ticking needle indicator and the moving averages used in its calculation.

 //+------------------------------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------------------------------+
Enter Smooth_Method Curta_Method= Mode_SMA ; // Curta averaging method
Input unit Curta = 3 ; // Curta smoothing depth
Input integer CP phase = 15 ; // Curta smoothing parameter
//--- For JJMA, it varies in the range -100 ... +100 and affects the quality of the transient period;
//--- For VIDIA, this is a CMO period, for AMA, it is a slow average period
//---
Enter Smooth_Method Media_Method= Mode_SMA ; // Media averaging method
Input unit media = 8 ; // Media smoothing depth
Input integer MP phase = 15 ; // Media smoothing parameter
//--- For JJMA, it varies in the range -100 ... +100 and affects the quality of the transient period;
//--- For VIDIA, this is a CMO period, for AMA, it is a slow average period
Enter Smooth_Method Longa_Method= Mode_SMA ; // Longa plus average method
Input unit Longa = 20 ; // Longa smoothing depth
Input integer LP phase = 15 ; // Longa smoothing parameter
//--- For JJMA, it varies in the range -100 ... +100 and affects the quality of the transient period;
//--- For VIDIA, this is a CMO period, for AMA, it is a slow average period
Input Application_Price_IPC= PRICE_CLOSE ; // Price constant
Input boolean reverse = false ; // Reverse of the chart relative to the timeline

The indicator uses SmoothAlgorithms.mqh library class (copy it to \MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

XDidi_Index - indicator for MetaTrader 5

Figure 1. XDidi_Index and XDidi_Index_Cloud indicators


Attachment download

📎 smoothalgorithms.mqh (130.19 KB)

📎 xdidi_index.mq5 (8.84 KB)

📎 xdidi_index_cloud.mq5 (8.04 KB)

Source: MQL5 #14655

Verification code Refresh