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

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

author EAcpu | 2 reads | 0 comments |

ColorPEMA_Digit_r - indicator for MetaTrader 5

A moving color PEMA_NUMBER Due to the limitations of computer resources for calculating the entire chart and the current bar, new variables have been added to the input block of the indicator to optimize the calculation:

 Enter ENUM_RECOUNT_MODE RecountMode=FULL_RECOUNT; // Limit the indicator calculation method
Input unit bars = 500 ; // Number of bars used to calculate the indicator
Input unit recount time = 60 ; // Time between indicator calculations in seconds

Three options are available to limit the calculation:

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

ColorPEMA_Digit_r - indicator for MetaTrader 5

Figure 1. Indicator ColorPEMA_Digit_r


Attachment download

📎 ColorPEMA_Digit_r.mq5 (25.62 KB)

📎 SmoothAlgorithms.mqh (130.2 KB)

Source: MQL5 #23428

Verification code Refresh