DI: Divergence Index

Description Usage Arguments Author(s) See Also

Description

Divergence Index

Usage

1
DI(price, fast = 5, slow = 20, n = 10, f = 2, m = 1, maType, ...)

Arguments

price

Object that is coercible to xts or matrix and contains High-Low-Close prices.

fast

...

slow

...

n

Number of periods for moving average.

f

...

m

...

maType

A function or a string naming the function to be called.

...

Other arguments to be passed to the maType function.

Author(s)

Chen Chaozong

See Also

See EMA, SMA, etc. for moving average options; and note Warning section. See ATR, which uses true range. See chaikinVolatility for another volatility measure.


Chen-Chaozong/extraTechInds documentation built on June 1, 2017, 11:13 p.m.