[R-SIG-Finance] How to find out if a signal was active within the last X days

Gambulator Gambulator gambulator at gmail.com
Thu Oct 22 19:41:22 CEST 2015


Hi All

I want to prevent another buy signal to be triggered if it was just active
within the past X days. For example, if I always buy on Monday and exit on
Tuesday, but I only want to do this every other week. Is there a way to
tell if this signal was active within the past 5 business days already so
it won't be triggered this week but it will be triggered next week since it
has been 5 days ?

thanks

	[[alternative HTML version deleted]]



More information about the R-SIG-Finance mailing list