Keyword Description
Moving Average Convergence/Divergence
Class
Indicator
Where Legal
Resources
|
Entry Logic
|
Exit Logic
|
Initial Size
|
Resize
(Pre-Category)
|
Resize
(Category-Level)
|
l
|
l
|
l
|
|
|
|
Syntax
MACD[p,n1,n2]
Where p is the price (O,H,L,C), n1 is the length of the slow average and n2 is the length of the fast average.
Example
Sample code
COL2 = MACD [CLOSE, 90, 15]
|
The MACD is the difference between two exponential moving averages: A long or "slow" average and a short or "fast" average. As prices begin to trend, the difference between the two averages will increase, and as prices consolidate, the difference between the two averages will diminish.
|
|