MACD

Moving Average Convergence Divergence
Description
The MACD indicator was created by Gerald Appel in the 1960s. It shows the difference between a fast and a slow exponential moving average of closing prices. MACD is a trend following indicator, and is designed to identify trend changes. Three types of trading signals are generated: MACD line crossing the signal line MACD line crossing 0 Divergence between price and histogram, or between MACD line and price
Category
Trend Indicators
Parameters
FASTPERIOD ( Default: 12 Min: 1 Max: 1000 )
SLOWPERIOD ( Default: 26 Min: 1 Max: 1000 )
M ( Default: 9 Min: 1 Max: 1000 )
Chart Script

MACD : EMA(CLOSE,FASTPERIOD) - EMA(CLOSE,SLOWPERIOD);
SIG : EMA(MACD,M);
HIST : (MACD-SIG), COLORSTICK;