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

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

author EAcpu | 5 reads | 0 comments |

EMA - indicator for MetaTrader 5

Classic exponential moving averages can use real numbers as the average period.

In the EMA_.mq5 indicator, the ability to throw this indicator to other indicators is implemented. The EMA.mq5 indicator has no such specialities.

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.

EMA - indicator for MetaTrader 5

Figure 1 EMA indicator


Attachment download

📎 ema.mq5 (6.09 KB)

📎 ema_.mq5 (5.16 KB)

📎 smoothalgorithms.mqh (133.8 KB)

Source: MQL5 #1117

Verification code Refresh