quantmod (version 0.4.26)

addADX: Add Directional Movement Index

Description

Add Directional Movement Index

Usage

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

Value

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

Arguments

n

periods to use for DX calculation

maType

moving average type

wilder

should Welles Wilder EMA be used?

Author

Jeffrey A. Ryan

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
if (FALSE) {
addADX()
}

Run the code above in your browser using DataLab