Dear all,

I'm fairly new to quantstrat but I have been playing around with it
and I think I am starting to get a feel for how to use it.

I have what I thought was a seemingly trivial issue, but can't find
anyone else with the same problem. My question is:

How do you have a signal based on two or more conditions e.g. buy if
MA50 > MA200 AND price hasn't changed by more than 10%, for example?

Is this an obvious thing to achieve and I've missed it entirely?

Thanks and best wishes,

David

_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should 
go.

Reply via email to