elasticity: Calculate the elders Ray of given OHLCV

Description Usage Arguments Details Value Author(s) Examples

Description

elders Ray gives two units bullPower, bearPower.

bullPower - Difference from High to EMA(n)

bearPower - Difference from Low to EMA(n)

Usage

1
elasticity(m, FUN = Cl)

Arguments

m

- OHLC

FUN

- Which price is OHLC to be used for calculating. Default Cl. If If Hi to be used, use FUN - Hi

Details

The function returns the elders Ray for a given OHLCV

Value

returns xts object with the elasticity

Author(s)

Siva Sunku

Examples

1
elderRay(m,n=13)

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