MACD.Value Method

Calculate MACD for the specific instance of ISeries, index, pair of lengths and bar data.
public static double Value( 
ISeries input
int index
int length1
int length2
BarData barData = BarData.Close 
)
This language is not supported or no code example is available.
public:  
static double Value( 
ISeries^ input
int index
int length1
int length2
BarData barData 
)
This language is not supported or no code example is available.
public static function Value( 
input : ISeries
index : int
length1 : int
length2 : int
barData : BarData 
) : double;
This language is not supported or no code example is available.

Parameters

input
ISeries

The input series.

index
int

The index.

length1
int

The length1.

length2
int

the length2.

barData
BarData

The bar data.

Return Value

double

System.Double.

In this article

Definition