crossAlert {RcppStreams} | R 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)
[Package RcppStreams version 0.1.3 Index]