MACDflex

Flexible version of the known MACD trend indicator. Set your own periods for the short, the long and the signal period to calculate MACD.

You are now following this Submission

Flexible version of the known MACD trend indicator. Set your own periods for the short, the long and the signal period to calculate MACD. In case of using the standard settings (12,26,9) the results are the same as from the Financial Toolbox function. Works on R2018a and higher.

Cite As

Stephan (2026). MACDflex (https://au.mathworks.com/matlabcentral/fileexchange/70050-macdflex), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Financial Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with R2018a and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0