MACDSpread(Line-Signal)

The value of the MACD Histogram. 

 

Syntax: MACDHistogram(Source, Length1, Length2, Smoothing, Interval, [Ref], [Symbol])

Source = Required.

Length1 = Required. Length of the Fast Moving Average.

Length2 = Required. Length of the Slow Moving Average.

Smoothing = Required. The smoothing periods for the Signal Line.

Interval = Required. 

[Ref] = Optional.

[Symbol] = Optional.

 

Comments:  

The default for RavenQuote is: Length1 = 12, Length2 = 26, Smoothing = 9.

 

Examples:

MACDHistogram(Close, 12, 26, 9, D, 0, YHOO)

The current day's Histogram value of the MACD Fast Line for YHOO using the closing price, with Fast MA = 12, Slow MA = 26 and Smoothing = 9.