crossAlert: Alert for cross of two moving averages

View source: R/RcppExports.R

crossAlertR Documentation

Alert for cross of two moving averages

Description

This is an example function illustrating Streamulus

Usage

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

## Not run: 
crossAlert(10,20)

## End(Not run)

eddelbuettel/rcppstreams documentation built on April 13, 2024, 10:28 a.m.