Name

CalcMACD — Moving average convergence/divergence

Synopsis

CalcMACD (fast = 12,
  slow = 26);

Returns

ARRAY

Parameters

Name Type Default Description
fast number 12
slow number 26

Description

This function is inspired by AmiBroker function: www.amibroker.com/guide/afl/macd.html

Moving average convergence/divergence