Alert for cross of two moving averages

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
crossAlert(10,20)