Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


PdfMA MACD - indicator for MetaTrader 5

Mladen Rakic

votes: 8
2018.11.29 11:52
PdfMA MACD.mq5 (12.25 KB)view

Theory :

Probability density function based MA is a sort of weighted moving average that uses probability density function to calculate the weights. By it's nature it is similar to a lot of digital filters

This version :

It is made to be as simple as it gets and to be (as far as display is concerned) as similar to the built in, regular MACD. It is done so in order to allow simple comparison, testing and usage of this MACD to. The signal line is calculated as PdfMA too, so this is "all PdfMA" MACD indicator

Usage :

Same as normal MACD


Comparison of "regular" MACD (upper), this MACD using defaults (middle) and this MACD with variance set to 3 (lower). As you can see, increasing the variance, makes it smoother and still is faster than the regular MACD, hence some experimenting / playing with the variance can produce cleaner signals and less false signals

Deviation scaled MA levels Deviation scaled MA levels

Deviation scaled MA with self adjusting levels

EMA variation ribbon EMA variation ribbon

EMA variation ribbon

PdfMA awesome oscillator PdfMA awesome oscillator

PdfMA based awesome oscillator

TrendStrength DSMA TrendStrength DSMA

TrendStrength of deviation scaled MA