Learn R Programming

TTR (version 0.21-1)

EMV: Arms' Ease of Movement Value

Description

Arms' Ease of Movement Value (EMV) emphasizes days where the security moves easily and minimizes days where the security does not move easily. Developed by Richard W. Arms, Jr.

Usage

EMV(HL, volume, n=9, maType, vol.divisor=10000, ...)

Arguments

HL
Object that is coercible to xts or matrix and contains High-Low prices.
volume
Vector or matrix of volume observations corresponding to the HL object.
n
Number of periods for moving average.
maType
A function or a string naming the function to be called.
vol.divisor
An increment to make the results larger and easier to work with.
...
Other arguments to be passed to the maType function.

Value

  • A object of the same class as HL and volume or a matrix (if try.xts fails) containing the columns:
  • emvThe ease of movement values.
  • emvMAThe smoothed (as specified by ma) ease of movement values.

Details

The EMV is calculated by dividing the midpoint ([high + low]/2) move by the 'Box Ratio' (volume divided by the high minus low).

References

The following site(s) were used to code/document this indicator: http://www.fmlabs.com/reference/ArmsEMV.htm http://www.equis.com/Customer/Resources/TAAZ/?c=3&p=51 http://linnsoft.com/tour/techind/arms.htm

See Also

See EMA, SMA, etc. for moving average options; and note Warning section.

Examples

Run this code
data(ttrc)
  emv <- EMV(ttrc[,c("High","Low")], ttrc[,"Volume"])

Run the code above in your browser using DataLab