Complex Moving Average Indicators

version (6.41 KB) by Matthaeus
Multiple Complex Moving Average Calculations


Updated 20 May 2016

View License

This function supports 7 different complex moving averages. These involve multiple steps beyond simple, exponential, etc. In many (but not all) cases results were reconciled against known standards. Included indicators include DEMA (Mulloy double EMA), TEMA (Mulloy triple EMA), EHMA (Hull EMA), WHMA (Hull WMA), TRIX (3-times EMA with rate of change indicator), T3 (Tillson MA), and KMA (Kaufman adaptive MA). The function attempts to remove intervening NaNs before computing specified MA series and then reinsert NaNs into proper place afterwards.

Cite As

Matthaeus (2022). Complex Moving Average Indicators (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!