[R-SIG-Finance] Trigger a rule based on more than one signal?

soren wilkening me at censix.com
Thu Sep 1 14:58:25 CEST 2011


I don't have access to R right now but it would look something like this

stratFaber <- add.signal(stratFaber, name="sigFormula",
                         arguments=list(
                                formula="(Close > HI6) & (FA5 > SL10) &
(Close > TR21) ") , 
                                label="Test"
                         )

What is important is that the formula has to contain the plain column names
as literals. no subsetting etc.

-----
http://censix.com
--
View this message in context: http://r.789695.n4.nabble.com/Trigger-a-rule-based-on-more-than-one-signal-tp3782618p3783454.html
Sent from the Rmetrics mailing list archive at Nabble.com.



More information about the R-SIG-Finance mailing list