StockFetcher Forums · General Discussion · Can someone please help?<< 1 2 >>Post Follow-up
blumberg
27 posts
msg #97147
Ignore blumberg
10/22/2010 12:46:54 PM

How can i find stocks that are in an uptrend but pulling back to their 50 day EMA?

Thank you!



taylorsk
106 posts
msg #97148
Ignore taylorsk
10/22/2010 1:47:19 PM

this is looking for stocks that have bounced off the 50EMA...
the 50EMA increasing for 3 days should help indicate the uptrend...


Fetcher[
low today or 1 day ago less than 2% above EMA(50)
and EMA(50) increasing for the last 3 Days
]



YOu could also add that it should be above the EMA 200

Fetcher[
low today or 1 day ago less than 2% above EMA(50)
and EMA(50) increasing for the last 3 Days
Close is 1% above EMA(200)
]





blumberg
27 posts
msg #97150
Ignore blumberg
10/22/2010 3:30:38 PM

Thanks. Is there a way to specify that the stock be also pulling back to either gap support or trendline or horizontal support?

Kevin_in_GA
4,599 posts
msg #97151
Ignore Kevin_in_GA
10/22/2010 4:57:25 PM

Not sure that you can use an "OR" function in SF ...

Can you????

blumberg
27 posts
msg #97152
Ignore blumberg
10/22/2010 5:02:07 PM

Ok, how about a phrase that I can run for stocks pulling back to 50ema and gap support and then another phrase for stocks pulling back to 50ema and trendline support? Would that possible? Thanks again, I really appreciate your help.

taylorsk
106 posts
msg #97153
Ignore taylorsk
10/22/2010 5:14:41 PM

Debug shows no errors with the "today or 1 day ago" line.

Trendline support or gap support are much more dificult to define.

I runn the following filter looking for gaps and then set alerts when price approces filling the GAp

run the opposite for gap downs


Fetcher[
SET{A1, HIGH 1 DAY AGO}
SET{A2, OPEN}
SET{A3, OPEN / A1}
SET{A, COUNT(A3 ABOVE 1.08,1)}
SET{B, COUNT(A3 BELOW 1.3,1)}
SET{X, A + B}
SET{ALERT, A1*1.01}
SHOW STOCKS WHERE X EQUALS 2
SHOW STOCKS WHERE ALERT IS GREATER THAN 5
and close is above 15

add column A1
add column ALERT
sort by column 3 descending

]



Kevin_in_GA
4,599 posts
msg #97154
Ignore Kevin_in_GA
10/22/2010 7:31:23 PM

No error in debug does not mean that it is being used correctly, or even at all. Often it will ignore elements that are not recognized, and only list errors in syntax that is part of the SF code language.

I do not think that you are actually getting OR to work here. That type of Boolean operator is not available in SF right now.

four
5,087 posts
msg #97155
Ignore four
10/22/2010 7:35:21 PM

http://forums.stockfetcher.com/sfforums/?q=view&tid=28017&start=0



heypa
283 posts
msg #97157
Ignore heypa
10/22/2010 8:40:18 PM

I recall that TRO wrote an OR operator.

Kevin_in_GA
4,599 posts
msg #97158
Ignore Kevin_in_GA
10/22/2010 8:52:01 PM

My point exactly - the simple use of OR in a filter will not work.

StockFetcher Forums · General Discussion · Can someone please help?<< 1 2 >>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.