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

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

author EAcpu | 3 reads | 0 comments |

XAng_Zad_C - indicator for MetaTrader 5

The Ang_Zad_C indicator performs an additional smoothing of the total values, allowing the user to avoid excessive indicator signal noise due to false crossings of moving averages.

 //+------------------------------------------------------------------------+
//|Indicator input |
//+------------------------------------------------------------------------+
Enter double base = 4.000001 ; // Indicator smoothing rate
Enter Smooth_Method MA_SMethod=MODE_JJMA; // Smoothing method
Input unit MA_length = 7 ; // smoothing depth
Input integer MA_Phase = 15 ; // first smoothing parameter,
//---- For JJMA, changes in the range of -100...+100 will affect the quality of the transient process;
//---- For VIDIA this is the CMO period, for AMA this is a slow average
Enter Applied_price_IPC=PRICE_CLOSE_; // price constant
Enter integer price change = 0 ; // Indicator moves vertically in points
Enter integer shift = 0 ; // indicator moves horizontally in units of bars

The indicator uses the category smoothing algorithm.mqh library. How to use this class is described in detail in the article "Average price series for intermediate calculations without using additional buffers" .

XAng_Zad_C - indicator for MetaTrader 5

Figure 1. XAng_Zad_C indicator


Attachment download

📎 SmoothAlgorithms.mqh (130.2 KB)

📎 XAng_Zad_C.mq5 (17 KB)

Source: MQL5 #21460

Verification code Refresh