Constructs a MACD indicator instance with the specified input series.

Namespace: RightEdge.Indicators
Assembly: Indicators (in Indicators.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public MACD(
	int period1,
	int period2,
	ISeries input
)
Visual Basic
Public Sub New ( 
	period1 As Integer,
	period2 As Integer,
	input As ISeries
)
Visual C++
public:
MACD(
	int period1, 
	int period2, 
	ISeries^ input
)
F#
new : 
        period1 : int * 
        period2 : int * 
        input : ISeries -> MACD

Parameters

period1
Type: System..::..Int32
The number of periods for the fast EMA
period2
Type: System..::..Int32
The number of periods for the slow EMA
input
Type: RightEdge.Common..::..ISeries
The series perform the calculation against.

See Also