PureBytes Links
Trading Reference Links
|
... or another way is to count the number of inside days:
{count the number of inside days in the last (lookback) periods}
lookback:=Input("Lookback periods",1,100,3);
insideDay:=LOW>Ref(LOW,-1) AND HIGH < Ref(HIGH,-1);
sum(insideDay,lookback);
If the result is three, then there was three inside days in the last
(lookback) periods. If lookback is three, then all these days must
have been consecutive!
Hope this helps.
wabbit :D
--- In equismetastock@xxxxxxxxxxxxxxx, "Larry Carhartt" <lc@xxxx>
wrote:
> Hi Tom,
>
> This should work for three inside days:
>
> LOW > Ref(LOW,-1)
> AND
> HIGH < Ref(HIGH,-1)
> AND
> Ref(LOW,-1) > Ref(LOW,-2)
> AND
> Ref(HIGH,-1) < Ref(HIGH,-2)
> AND
> Ref(LOW,-2) > Ref(LOW,-3)
> AND
> Ref(HIGH,-2) < Ref(HIGH,-3)
>
> If you only want two days its:
>
> LOW > Ref(LOW,-1)
> AND
> HIGH < Ref(HIGH,-1)
> AND
> Ref(LOW,-1) > Ref(LOW,-2)
> AND
> Ref(HIGH,-1) < Ref(HIGH,-2)
>
> Best,
>
> Larry Carhartt
> Index & ETF Component Data
> www.MasterDATA.com
> lc@xxxx
> 818-701-6686
>
>
>
> -----Original Message-----
> From: tomalbany [mailto:tomalbany@x...]
> Sent: Thursday, November 18, 2004 7:40 PM
> To: equismetastock@xxxxxxxxxxxxxxx
> Subject: [EquisMetaStock Group] finding charts with two inside days
>
>
>
>
> does anyone here know what formula to use to find stocks that have
> two inside days one after another?
>
> or maybe even 3 of them for that matter?
>
> just learned that this is a good trading setup pattern and would be
> awesome to find it in a stock filter.
>
> tom
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> 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/
|