IGMovingAverageConvergenceDivergenceIndicator Class Reference

Inherits from IGFinancialIndicator : IGFinancialSeries : IGSeries : NSObject
Declared in FinancialSeries.h

Overview

IGMovingAverageConversionDiversionIndicator (MACD) is used to identify changes in the strength, direction, momentum, or length of a trend for a stock price. MACD is computed by taking the difference between two exponential moving averages (EMAs) of closing prices. The difference is then charted over time with a moving average of the difference.

  shortPeriod

A value that determines the short moving average period. The default value is 10.

@property (nonatomic) NSInteger shortPeriod

Declared In

FinancialSeries.h

  longPeriod

A value that determines the long moving average period. The default value is 30.

@property (nonatomic) NSInteger longPeriod

Declared In

FinancialSeries.h

  signalPeriod

A value that determines the signal period.

@property (nonatomic) NSInteger signalPeriod

Declared In

FinancialSeries.h