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

Ilya Kipnis ilya.kipnis at gmail.com
Fri Oct 23 00:34:47 CEST 2015


Use a streak calculation, like the one Larry Connors uses in his Connors
RSI.

On Thu, Oct 22, 2015 at 1:41 PM, Gambulator Gambulator <gambulator at gmail.com
> wrote:

> 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]]
>
> _______________________________________________
> R-SIG-Finance at r-project.org 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.
>

	[[alternative HTML version deleted]]



More information about the R-SIG-Finance mailing list