find.tpattern: Find matching patterns in a time series

Description Usage Arguments Value See Also

View source: R/patterns.R

Description

Find matching patterns in a time series

Usage

1
2
find.tpattern(x, pattern = pattern.db("HS")[[1]], tolerance = 0.25,
  pip.tolerance = 2, find.all = TRUE, trend.adjusted = FALSE)

Arguments

x

xts, a time series in xts format

pattern

a list returned from a call to pattern.db()

tolerance

tolerance used for pattern matching definition (vol multiple)

pip.tolerance

tolerance used for searching important points (vol multiple)

find.all

boolean, whether to return all matches or the latest one

trend.adjusted

boolean, whether to adjust for trends during matching

Value

a list of pattern matches (object of type tpattern)

See Also

pattern.db

find.pattern


prodipta/techchart documentation built on Sept. 13, 2020, 2:51 p.m.