Forex Moving Average MQL Code Indicator

Our custom developed Forex Moving Average MQL Code Indicator. A moving average (MA) is a widely used indicator in technical analysis that helps smooth out price action by filtering out the “noise” from random short-term price fluctuations. It is a trend-following, or lagging, indicator because it is based on past prices.

The two basic and commonly used moving averages are the simple moving average (SMA), which is the simple average of a security over a defined number of time periods, and the exponential moving average (EMA), which gives greater weight to more recent prices.

What Do Moving Averages Tell You?

Moving averages lag behind current price action because they are based on past prices; the longer the time period for the moving average, the greater the lag. Thus, a 200-day MA will have a much greater degree of lag than a 20-day MA because it contains prices for the past 200 days.

The length of the moving average to use depends on the trading objectives, with shorter moving averages used for short-term trading and longer-term moving averages more suited for long-term investors. The 50-day and 200-day MAs are widely followed by investors and traders, with breaks above and below this moving average considered to be important trading signals.

Feel free to use this indicator together with our other technical indicators (oscillators, momentum) or price action methods to maximize your trading accuracy.

Free Download

Forex Moving Average MQL Code Indicator

The EUR/GBP 15 minute chart below displays the Forex Moving Average MQL Code Indicator in action.

Forex Moving Average MQL Code Indicator

Installation

Copy and paste the Forex Moving Average MQL Code Indicator into the MQL4 indicators folder of the Metatrader 4 trading platform.

You can access this folder from the top menu as follows:

File > Open Data Folder > MQL4 > Indicators (paste here)

How to remove Indicator from your Metatrader Chart?

  • Select the Chart where is the Indicator running in your Metatrader 4 Client
  • Right click into the Chart
  • “Indicators list”
  • Select the Indicator and delete

Check our free forex expert advisors and custom scripts

Author: Dominic Walsh

I am a highly regarded trader, author & coach with over 16 years of experience trading financial markets. Today I am recognized by many as a forex strategy developer. After starting blogging in 2014, I became one of the world's most widely followed forex trading coaches, with a monthly readership of more than 40,000 traders! Make sure to follow me on social media: Instagram | Facebook | Linkedin | Youtube| Twitter | Pinterest | Medium | Quora | Reddit

Leave a Comment