Watch how to download trading robots for free
Find us on Twitter!
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

Normalized smoothed MACD - indicator for MetaTrader 5

Views:
12322
Rating:
(16)
Published:
2018.10.15 19:57
Updated:
2019.01.29 15:04
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Theory:

MACD, short for moving average convergence/divergence, is a trading indicator used in technical analysis, created by Gerald Appel in the late 1970s. It is supposed to reveal changes in the strength, direction, momentum, and duration of a trend in a stock's price.

The MACD indicator (or "oscillator") is a collection of three time series calculated from historical price data, most often the closing price. These three series are: the MACD series proper, the "signal" or "average" series, and the "divergence" series which is the difference between the two. The MACD series is the difference between a "fast" (short period) exponential moving average (EMA), and a "slow" (longer period) EMA of the price series. The average series is an EMA of the MACD series itself.

This version:

One possible thing it lacks, is probably to know the bounds. This version is adding that: a min/max based bounds.

Usage:

You can use the color change of the MACD (that roughly corresponds to the slope of the "regular" MACD) or color change of the signal line (that is changed when the signal line crosses the MACD line) as signals.

PS: comparison of the "regular" MACD (lower) and this MACD (upper). The comparison should be made on the slope of the regular MACD and signal line crosses. Those changes are reflected as expected (almost exactly the same as the "regular" MACD - eventual miss can happen only due to smoothing of the normalized MACD). Zero crosses of the normalized MACD are happening on different places but that is to be expected and it seems that the new crosses are providing earlier warnings of trend changes than the regular MACD.


Dōteki Heikin Ashi (Dynamic Average Foot/Bar) Dōteki Heikin Ashi (Dynamic Average Foot/Bar)

A dynamic version of the standard Heikin Ashi indicator (code compatible with both MQL4 or MQL5).

Simple oscillator Simple oscillator

Simple oscillator

Phase accumulation adaptive EMA Phase accumulation adaptive EMA

Hilbert transform phase accumulation adaptive EMA

Phase accumulation adaptive RSX Phase accumulation adaptive RSX

Hilbert transform phase accumulation adaptive RSX