lagATR: Lagged ATR

Description Usage Arguments Value

Description

lags ATR computation by a lag parameter for use with order-sizing functions

Usage

1
  lagATR(HLC, n = 14, maType, lag = 1, ...)

Arguments

HLC

an HLC object

n

a lookback period

maType

the type of moving average

lag

how many periods to lag the computation

Value

a lagged ATR calculation


pdrano/IKTrading documentation built on May 6, 2019, 10:51 p.m.