pp.TTR.multmacd {pprobeSup}R Documentation

MACD estimation for multiple assets

Description

Creates an object like the input prices containing MACD values.

Usage

pp.TTR.multmacd(x, ...)

Arguments

x

a matrix or xts object containing prices (or volume) of multiple assets. Note: prices, not returns.

...

additional arguments to the MACD function may be given.

Details

This is a wrapper for the MACD function in the TTR package.

Value

an object like the input x but with values from the signal column from the output of MACD.

Testing status

Not formally tested.

Revision

This help file was last revised 2013 May 02.

See Also

MACD, pp.TTR.multsymbol.

Examples

require(pprobeData)
xa.macd <- pp.TTR.multmacd(xassetPrices)

[Package pprobeSup version 1.00 Index]