pivots: Calculate the various pivots

Description Usage Arguments Value Author(s) Examples

Description

The function returns the xts object with r1..s3 pivots.

Usage

1
pivots(m, type = c("regular", "woodies", "camarilla"))

Arguments

m

- the OHLC xts object

type

- type of the pivots to be calculated. default regular pivots.

Value

returns OHLC xts with pivots. If nothing matches to type, returns the xts object itself.

Author(s)

Siva Sunku

Examples

1
pivots(xts, type="woodies")

sivasunku/evalStrats documentation built on May 29, 2019, 11 p.m.