Download Moving Averages Convergence/Divergence Indicator Blau MA C D for MetaTrader 5

Moving Averages Convergence/Divergence Indicator Blau MA C D

Moving Averages Convergence/Divergence Indicator Blau MA C D

This software component for MetaTrader 5 is built to enhance the capabilities of your trading environment. This technical indicator acts as a specialized analysis tool designed to visualize market data. It helps traders identify emerging trends, momentum shifts, and key support or resistance levels by plotting statistical calculations directly onto price charts.

How to Setup and Use Moving Averages Convergence/Divergence Indicator Blau MA C D

1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.

2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.

3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.

4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.

Frequently Asked Questions

Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."

Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).

Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.

Description & Settings


The Moving Averages Convergence/Divergence Indicator by William Blau is described in the book .
The Moving Average Convergence/Divergence (MACD) technical Indicator is the difference between two (fast EMA has period s and slow EMA has period r).
The sign of MACD indicates the relative position of fast s-period EMA and slow r-period EMA. It's positive when EMA(s)>EMA(r) and negative if EMA(s)<EMA(r). The increase of the |MACD| (absolute value) indicates the divergence of moving averages, the decrease of of the |MACD| indicated the convergence of EMAs.

WilliamBlau.mqh must be placed in
terminal_data_folder
\MQL5\Include\

Blau_SM_Stochastic.mq5 must be placed in
terminal_data_folder
\MQL5\Indicators\
Moving Averages Convergence/Divergence by William Blau.
Calculation:
Moving Averages Convergence/Divergence is calculated by formula:
where:

price - close price of the current period;

EMA(price,r) - slow EMA with period r, applied to price;

EMA(price,s) - fast EMA with period s, applied to price.
The formula of MACD by William Blau looks as follows:
where:

price - close price;

EMA(price,r) - 1st smoothing - slow EMA, applied to price;

EMA(price,s) - 2nd smoothingе - fast EMA, appled to price;

macd(r,s)=EMA(price,s)-EMA(price,r) - moving averages convergence/divergence;

EMA(macd(r,s),u) - 3rd smoothing (with period u), applied to MACD.
Input parameters
:

r - period of the 1st EMA (slow), applied to price (by default r=20);

s - period of the 2nd EMA (fast), applied to price (by default s=5)

u - period of the 3rd EMA, applied to MACD (by default u=3);

AppliedPrice - (by default AppliedPrice=PRICE_CLOSE).
Note
:

r>1, s>1;

s<r (according by William Blau, there isn't any checks in the code);

u>0. If u=1, smoothing is not used;

Min. rates =([max(r,s)]+u-2+1).

You May Also Like

RobotFX does not own any of the code provided on this platform. All tools are freely available on the internet; we simply index and re-offer them for download. We are not responsible for any financial losses that may occur. Trading responsibilities rely solely on the traders downloading and using the displayed Expert Advisors, indicators, and scripts. These tools are provided for educational purposes only and may require modification or optimization to align with a trader's specific strategy or needs.
© ROBOTFX - Best MetaTrader Expert Advisors & Indicators