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

Gambulator Gambulator gambulator at gmail.com
Fri Oct 23 03:03:19 CEST 2015


I see that I actually have access to the mktdata in any osFun so I am set.
Thanks

On Thu, Oct 22, 2015 at 3:34 PM, Ilya Kipnis <ilya.kipnis at gmail.com> wrote:

> 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