Skip to content

MacdCrossOver Method (2)

MacdCrossOver (1 of 2)

Summary

The MACD Line with the Signal line and their difference as a histogram.

Signature

1
public abstract MacdCrossOver MacdCrossOver(int longCycle, int shortCycle, int signalPeriods)

Parameters

Name Type Description
longCycle int The long period used calculation.
shortCycle int The short period used calculation.
signalPeriods int The period used for the calculation of the signal.

Return Value

MacdCrossOver

Declaring Type

cAlgo.API.Internals.IIndicatorsAccessor

MacdCrossOver (2 of 2)

Summary

Initializes the MacdCrossOver indicator instance for a specific source series

Signature

1
public abstract MacdCrossOver MacdCrossOver(DataSeries source, int longCycle, int shortCycle, int signalPeriods)

Parameters

Name Type Description
source DataSeries The source series to be applied
longCycle int The long period used calculation.
shortCycle int The short period used calculation.
signalPeriods int The period used for the calculation of the signal.

Return Value

MacdCrossOver

Declaring Type

cAlgo.API.Internals.IIndicatorsAccessor


Last update: July 1, 2022

Comments