StockFetcher Forums · Filter Exchange · 3 - Weeks Tight Pattern<< >>Post Follow-up
paulwoll
31 posts
msg #108073
Ignore paulwoll
modified
9/17/2012 2:35:52 AM

New here can anyone show me how to setup this pattern on here?

set{week1, Weekly Close 1 weeks ago - Weekly Close 2 weeks ago }
set{week1abs, abs(week1)/Weekly Close 2 weeks ago }
set{week2, Weekly Close 2 weeks ago - Weekly Close 3 weeks ago }
set{week2abs, abs(week2)/Weekly Close 3 weeks ago }
show stocks where Price is above 5 and week1abs is less than 0.01 and week2abs is less than 0.01

Doesn't seem to work...

Also is Weekly Close 1 week ago give me Fridays close or week before? A little unclear?

In three-weeks-tight, the close of week two is within 1% of week one's close; and the close of week three is within 1% of week two's close.

mahkoh
1,065 posts
msg #108118
Ignore mahkoh
modified
9/19/2012 5:20:50 PM

I would prefer coding it like this

Fetcher[
set{A,weekly close 1 week ago/ weekly close 2 weeks ago}
set{B,weekly close 2 weeks ago/ weekly close 3 weeks ago}
A between 0.99 and 1.01
B between 0.99 and 1.01
price above 5
display is weekly
]



However as we do get the same results I would assume there's nothing wrong with your code.

And "weekly close 1 week ago" is last Friday's close. "Weekly close" is today's last price.

paulwoll
31 posts
msg #108160
Ignore paulwoll
9/24/2012 12:07:26 AM

I tried yours and it seems to be 1 week delayed.

mahkoh
1,065 posts
msg #108163
Ignore mahkoh
9/24/2012 5:38:08 PM

I've added "price above 5" to your filter and the results are pretty identical.
Maybe the weekly chart is confusing?

Fetcher[
set{week1, Weekly Close 1 weeks ago - Weekly Close 2 weeks ago }
set{week1abs, abs(week1)/Weekly Close 2 weeks ago }
set{week2, Weekly Close 2 weeks ago - Weekly Close 3 weeks ago }
set{week2abs, abs(week2)/Weekly Close 3 weeks ago }
show stocks where Price is above 5 and week1abs is less than 0.01 and week2abs is less than 0.01

price above 5
]





paulwoll
31 posts
msg #108165
Ignore paulwoll
9/24/2012 8:25:40 PM

How come $KO comes up in both these filters?

mahkoh
1,065 posts
msg #108169
Ignore mahkoh
modified
9/25/2012 5:50:20 AM

Fetcher[
symlist (KO)

add column weekly close 1 week ago
add column weekly close 2 weeks ago
add column weekly close 3 weeks ago
display is weekly
]



It meets your conditions.

paulwoll
31 posts
msg #108171
Ignore paulwoll
9/25/2012 3:48:19 PM

Thanks. According to stockcharts.com it had close weekly for Sept 4th at 37.64. So I was thrown off. Google and Freestockcharts.com and etrade confirm. 37.90.

mahkoh
1,065 posts
msg #108172
Ignore mahkoh
9/25/2012 4:32:15 PM

That may have to do with KO going ex dividend sept 12. I do believe Stockcharts adjusts for dividends.

StockFetcher Forums · Filter Exchange · 3 - Weeks Tight Pattern<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.