Constructs a Moving Average Convergence/Divergence indicator instance.

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
)
Visual Basic
Public Sub New ( 
	period1 As Integer,
	period2 As Integer
)
Visual C++
public:
MACD(
	int period1, 
	int period2
)
F#
new : 
        period1 : int * 
        period2 : int -> 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

See Also