Click or drag to resize
C2TALibMACD Method (SeriesDateTime, Double, Int32, Int32, Int32)
MACD

Namespace:  C2ExplorerServiceStack.Logic.Implementation
Assembly:  C2ExplorerServiceStack.Logic (in C2ExplorerServiceStack.Logic.dll) Version: 1.0
Syntax
C#
public static Tuple<Series<DateTime, double>, Series<DateTime, double>, Series<DateTime, double>> MACD(
	Series<DateTime, double> data,
	int optInFastPeriod = 12,
	int optInSlowPeriod = 26,
	int optInSignalPeriod = 9
)

Parameters

data
Type: DeedleSeriesDateTime, Double
Input time series.
optInFastPeriod (Optional)
Type: SystemInt32
The fast period.
optInSlowPeriod (Optional)
Type: SystemInt32
The slow period.
optInSignalPeriod (Optional)
Type: SystemInt32
The signal period.

Return Value

Type: TupleSeriesDateTime, Double, SeriesDateTime, Double, SeriesDateTime, Double
MACD, Signal and Histogram time series.
See Also