StockFetcher Forums · General Discussion · New to SF, need help with a filter<< >>Post Follow-up
thegapper
4 posts
msg #35921
Ignore thegapper
5/6/2005 12:45:11 PM

I am new to SF and was wondering if any one could help me with a filter. I'm Trying to come up with a filter where the 75(ma) 25(ma) 10(ma) is moving below the 200(ma) and are about to cross over the 200(ma).
Thanks, thegapper


thegapper
4 posts
msg #35922
Ignore thegapper
5/6/2005 12:49:08 PM

I can get one (ma) to crossover the 200(ma) but I can't get all three to move over the 200(ma).
Thanks, thegapper


stockfetcher
979 posts
msg #35923
5/6/2005 12:54:06 PM

The following filter should get you started. You'll want to tweak the parameters to your liking.

Fetcher[
show stocks where MA(75) below MA(200) for the last 10 days
and MA(25) below MA(200) for the last 10 days
and MA(10) below MA(200) for the last 10 days
and MA(10) increasing for the last 10 days
and MA(10) less than 1 percent below MA(200)
]



Regards,
Steve
StockFetcher.com Support



thegapper
4 posts
msg #35924
Ignore thegapper
5/6/2005 3:49:35 PM

Thank You!


TheRumpledOne
6,407 posts
msg #35932
Ignore TheRumpledOne
5/7/2005 3:22:20 PM

Fetcher[
set{a2, count(ma(10) crossed above ma(25) ,1) }
set{a3, count(ma(10) crossed above ma(75) ,1) }
set{a4, count(ma(10) crossed above ma(200) ,1) }

set{b2, a2 * 100}
set{b3, a3 * 10}

set{c2, b2 + b3}
set{c3, c2 + a4}
add column c3 {ma_xover}
sort column 5 descending
c3 above 0
]



Gapper, the filter above will tell you when at the ma(10) crossed aboved one of the moving averages you listed.

The ma_xover column can be sorted to show you the stocks the crossed over multiple MAs.

For ma_xover the value

111 means ma(10) crossed over all 3 MAs
100 means ma(10) crossed over the ma(25)
010 means ma(10) crossed over ma(75)
001 means ma(10) crossed over ma(200)
000 means ma(10) did not cross over any of the MAs.

The line "C3 above 0" in the filter means the filter only returns stocks that crossed over at least one of the MAs.

Pretty cool stuff, huh?

Of course, add your own price and volume criteria.

For the record, my good buddy, CEGIS, helped me with this "secret code " a long time ago.

MAY ALL YOUR FILLS BE COMPLETE.




cegis
235 posts
msg #35937
Ignore cegis
5/8/2005 4:07:07 PM

TheRumpledOne,

Thanks for the credit, but it's not really necessary in cases like this. I like seeing my ideas in use! :-) I like it even better when I see someone I helped helping someone else - using my ideas or not!

C


TheRumpledOne
6,407 posts
msg #35941
Ignore TheRumpledOne
5/8/2005 7:28:01 PM

Hey CEGIS:

I practice what I preach, giving credit where credit is due... that just makes it more likely people will want to help you again.

It sure beats seeing your work on another site that has been ever so slightly modified with someone claiming all the credit.


StockFetcher Forums · General Discussion · New to SF, need help with a filter<< >>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.