[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EquisMetaStock Group] RSI < 20 ?



PureBytes Links

Trading Reference Links

Here's a test to see what works correctly.

If(BarsSince(RSI(14)<=20) > 5,10,0);
If(BarsSince(RSI(14)>=20) > 5,20,0);
If(RSI(14) < 20,1,0);
If(Ref(RSI(14),-1) < 20,2,0);
If(Ref(RSI(14),-2) < 20,3,0);
If(Ref(RSI(14),-3) < 20,4,0);
If(Ref(RSI(14),-4) < 20,5,0);
If(Ref(RSI(14),-5) >= 20,6,0);


Preston



--- In equismetastock@xxxxxxxxxxxxxxx, Sugiharto Setyabudi <sugiharto.wu@xxx> wrote:
>
> No.
> Since Wai wants to look for stock with RSI STAYS below 20 for more
> than 5 periods, below are the minimum sample:
> 
> today RSI < 20
> Ref(RSI,-1) < 20
> Ref(RSI,-2) < 20
> Ref(RSI,-3) < 20
> Ref(RSI,-4) < 20
> Ref(RSI,-5) >= 20
> 
> so, BarsSince(RSI>=20) > 5 will return the expected result
> BarsSince(RSI<=20) > 5 will return RSI below 20 five period ago not
> stays below 20 for five period or more.
> CMIIW,
> Sugiharto
> 
> On Sun, Apr 12, 2009 at 12:50 AM, thomas ng <thomas12ng@xxx> wrote:
> >
> >
> > Regardless whatever RSI type you wrote
> >
> > shouldn't that supposes to be <= 20?
> >
> >
> > take care
> >
> >
> > Thomas
> >
> >
> >
> >
> > ________________________________
> > From: Sugiharto Setyabudi <sugiharto.wu@xxx>
> > To: equismetastock@xxxxxxxxxxxxxxx
> > Sent: Saturday, 11 April, 2009 1:16:43 PM
> > Subject: Re: [EquisMetaStock Group] RSI < 20 ?
> >
> > assumming you are using standard RSI period:
> > BarsSince(RSI( 14)>=20)> 5
> >
> > On Thu, Apr 9, 2009 at 7:43 PM, wai <mwtang@xxx my> wrote:
> >>
> >>
> >> Hi ! All, Can anyone help to write the code when RSI stays below 20 for
> >> more
> >> then 5 periods. Thanks !
> >>
> >> mun wai.
> >>
> >>
> >
> > ________________________________
> > Enjoy a better web experience. Upgrade to the new Internet Explorer 8
> > optimised for Yahoo!7. Get it now..
> >
> >
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/