Moving Average Convergence/Divergence Fix
MACDFIX is a fixed version of MACD with specific parameters.
Method
Inputs
Parameter | Argument type | Description | Default Value |
---|---|---|---|
source | pd.Series | Input data series | - |
signalperiod | int | Signal period for the indicator | 9 |
Outputs
The outputs are returned as a tuple of objects. Make sure to unpack them as shown in the example usage.
Output | Type |
---|---|
macd | np.ndarray |
macdsignal | np.ndarray |
macdhist | np.ndarray |