Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Custom Exponential Moving Average (EMA) Indicator for MT5 - indicator for MetaTrader 5

Tiago Azevedo Amorim Martins
Tiago Azevedo Amorim Martins
I’m an algorithmic trading developer specialized in building automated systems for MetaTrader and Python environments.
My work focuses on developing Expert Advisors, custom indicators, and trading automation tools designed to transform trading strategies into reliable and efficient code.
| English Русский 中文 Español Deutsch 日本語 Português 한국어 Français Italiano Türkçe
Views:
6323
Rating:
(4)
Published:
CustomEMA.mq5 (6.88 KB) view
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
This free custom indicator calculates and displays the Exponential Moving Average (EMA) directly on the MetaTrader 5 chart.

The EMA is one of the most widely used technical tools for trend identification and signal generation.



Features

  • User-defined period for the EMA.

  • Choice of applied price: Close, Open, High, Low, Median, Typical, Weighted.

  • Smooth calculation using the standard EMA formula, initialised with an SMA of the first bars.

  • Lightweight, efficient, and easy to customise for your own strategies.


Indicator Image



📊 How to Interpret

  • The EMA reacts faster to price changes compared to the Simple Moving Average (SMA).

  • When the price is above the EMA, it may indicate an uptrend;
    when below the EMA, a possible downtrend.

  • Often used in strategies such as:

    1. Trend-following
    2. Moving average crossovers (e.g., EMA 50 crossing EMA 200).

Indicator Settings



⚙️ Customisation

  • Adjust the line colour and thickness to your preference.

  • Modify the applied price and period directly in the input settings.

Costumize Visualisation



Why Use This Indicator?

  • Helps identify market direction quickly.

  • Can be a building block for advanced strategies.

  • Perfect for traders who want a clean and simple EMA implementation.



    Translated from Portuguese by MetaQuotes Ltd.
    Original code: https://www.mql5.com/pt/code/64378

    CVD (Cumulative Volume Delta) CVD (Cumulative Volume Delta)

    Lightweight CVD (Cumulative Volume Delta) for MT5 — M1-based, shows buy/sell pressure as candles with optional resets.

    Price / Volume indicator Price / Volume indicator

    One of the simpler chips for machine learning

    KopierMaschineMT5 KopierMaschineMT5

    KopierMaschine is a local copier of trades between different MetaTrader 4 and MetaTrader 5 accounts in any direction located on one computer with an intuitive interface.

    Probability Theory Expert Advisor for Forex Probability Theory Expert Advisor for Forex

    Probability Theory Advisor