quantmod (version 0.4.17)

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()
# }

Run the code above in your browser using DataCamp Workspace