Learn R Programming

quantmod (version 0.4-5)

addADX: Add Directional Movement Index

Description

Add Directional Movement Index

Usage

addADX(n = 14, maType="EMA", wilder=TRUE)

Arguments

n
periods to use for DX calculation
maType
moving average type
wilder
should Welles Wilder EMA be used?

Value

An ADX indicator will be draw in a new window on the current chart. A chobTA object will be returned silently.

Details

See 'ADX' in TTR for specific details and references.

References

see ADX in TTR written by Josh Ulrich

See Also

addTA

Examples

Run this code
## Not run: 
# addADX()
# ## End(Not run)

Run the code above in your browser using DataLab