taex v0.1.3 Taex.Points.Macd

MACD Indicator, which is the 26 day exponential moving average subtracted by the 12 day exponential moving average. Formula was taken from: Formula from: http://www.investopedia.com/terms/m/macd.asp

Link to this section Summary

Functions

This will retrieve the oscillator for the MACD. This is calculated by taking the exponential moving average of the last 9 MACD entries

Link to this section Types

Link to this type t()
t() :: %{value: float}

Link to this section Functions

Link to this function calculate(prices)
Link to this function get_oscillator(macd_values)
get_oscillator([float]) :: float

This will retrieve the oscillator for the MACD. This is calculated by taking the exponential moving average of the last 9 MACD entries