StockFetcher Forums · General Discussion · Newbie needs help please!<< >>Post Follow-up
timfor
17 posts
msg #116606
Ignore timfor
11/8/2013 11:23:03 PM

Hello,

I am struggling to generate the code for a weekly price/50 sma divergence both long and short. Here is a jpeg visually showing what I'm trying to scan for.

I'm hoping one of you talented experienced coders can help me with some code.

First of all, here is a jpeg showing what I'm trying to get a scan to find: Image and video hosting by TinyPic


As you can see, there are times when price will diverge from the 50 sma in both long and short scenarios.

I am interested in performing this scan on WEEKLY charts with a slope of .07.

I was able to do this on DAILY charts with the following code but I can't seem to make it work on WEEKLIES. Here is the code I'm using for DAILY charts.

Show Stocks where the 3 day slope of the MA(50) is above .07
and price > 15
and the low is below the MA(50)
and the low is below the MA(15)
and the low is more than 3% below the MA(50)
and the average volume(30) is above 1000000
show stocks that are optionable
and add column Average Day Point Range(30)
and add column Average Day Point Range(3)
add column exchange


Thanks to anyone who can help me with this. I'm looking for code for both long and short divergences.

Tim



alf44
2,025 posts
msg #116607
Ignore alf44
modified
11/9/2013 12:00:55 AM

HEY, Tim ... would you please pass me tha salt and a lime wedge ... for some Tequila Shot(s) !

... just as I thought ...

---

Are you SURE you want that "weekly slope" at ".07" ???

WHY NOT ".08" ???

... maybe ".07999" ?


I'll be sure & git rite on this ...


GEEEZ !!!

.

four
5,087 posts
msg #116608
Ignore four
11/9/2013 12:34:01 AM

perhaps...

Fetcher[
Show Stocks where the 3 day slope of the weekly MA(50) is above .07
and price > 15
and the low is below the weekly MA(50)
and the low is below the weekly MA(15)
and the low is more than 3% below the weekly MA(50)
and the average volume(30) is above 1000000
show stocks that are optionable
and add column weekly Average Day Point Range(30)
and add column weekly Average Day Point Range(3)
add column exchange
]



alf44
2,025 posts
msg #116609
Ignore alf44
modified
11/9/2013 12:38:59 AM

... hey, "four" !!!

I NEED SOME SALT & LIME SLICES ... OVA HEAH !!!

Thank you ... in advance !!!

LOL

.

timfor
17 posts
msg #116610
Ignore timfor
modified
11/9/2013 2:06:46 AM

Thanks Four! You were very helpful.


four
5,087 posts
msg #116611
Ignore four
11/9/2013 2:27:52 AM

timfor,

OK

StockFetcher Forums · General Discussion · Newbie needs help please!<< >>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.