crossAlert: Alert for cross of two moving averages

Description Usage Arguments Value Author(s) Examples

View source: R/RcppExports.R

Description

This is an example function illustrating Streamulus

Usage

1
crossAlert(f1, f2)

Arguments

f1

Parameter for the slower exponential moving average

f2

Parameter for the faster exponential moving average

Value

An unconditional TRUE value

Author(s)

Dirk Eddelbuettel

Examples

1
2
3
4
## Not run: 
crossAlert(10,20)

## End(Not run)

RcppStreams documentation built on May 2, 2019, 10:17 a.m.