MacdHistogram Method (2)¶
MacdHistogram (1 of 2)¶
Summary¶
The MACD Histogram is a momentum indicator measured by typically subtracting a 26 period moving average from a 12 period moving average.
Signature¶
1 |
|
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¶
MacdHistogram
Declaring Type¶
cAlgo.API.Internals.IIndicatorsAccessor
MacdHistogram (2 of 2)¶
Summary¶
Initializes the MacdHistogram indicator instance for a specific source series
Signature¶
1 |
|
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¶
MacdHistogram
Declaring Type¶
cAlgo.API.Internals.IIndicatorsAccessor
Last update: June 26, 2022