StockFetcher Forums · Filter Exchange · RSI Divergence<< 1 2 >>Post Follow-up
kozzythedog
7 posts
msg #140047
Ignore kozzythedog
12/12/2017 10:43:27 PM

I'm looking for code to make it easy to spot stocks that are higher in price 1 day ago, but RSI(10) is lower than x days ago. And vise versa going the other way. When searching the keyword "divergence", it has 1073 results. Any help would be great.

Kevin_in_GA
4,599 posts
msg #140051
Ignore Kevin_in_GA
12/13/2017 8:06:27 AM

Here you go ...

http://forums.stockfetcher.com/sfforums/?q=view&fid=1001&tid=95123&qrid=

kozzythedog
7 posts
msg #140079
Ignore kozzythedog
12/13/2017 9:19:45 PM

Thanks for the info, but I don't see divergence between a price at an earlier time being lower than the current price, and the indicator showing the earlier price being higher than today's indicator being lower than the current price. Finding these types greatly improves a reversal is coming. Now to add a Fibs 1.168 makes these even better. Does anyone have a code that will share?



four
5,087 posts
msg #140090
Ignore four
12/14/2017 10:57:21 AM

perhaps



ron22
255 posts
msg #140106
Ignore ron22
12/15/2017 7:37:36 AM

Four, when I run your filter I keep getting syntax errors. Could you please repeat it one more time and confirm that it works for you. Thanks a lot. Ron

nibor100
1,044 posts
msg #140120
Ignore nibor100
12/15/2017 10:29:59 AM

@ron22,

it seeems to work for me after I cleaned up some spacing between terms:

Fetcher[
RSI(10) > 70
RSI(10) 5 days ago > 70
count (RSI(10) 2 days ago < 68,2) equals 2
RSI(10)< RSI(10) 5 days ago

close > Upper Bollinger Band(20,2)
close > Upper Bollinger Band(20,2)
count(close 5 days ago < Upper Bollinger Band(20,2),2) equals 2
close > close 5 days ago
]



When my filters don't run I go thru them in the following manner:

a. Save a copy of the filter
b. select every line of the filter after the first line and hit CTRL-X (CUT shortcut)
c. edit and run first line until it runs
d. put cursor on next line and hit CTRL-V (Paste shortcut)
e. run complete filter to see if it works now
f. if not do similar process for all remaining lines one at a time until the filter runs

Hope this helps,
Ed S.


four
5,087 posts
msg #140121
Ignore four
12/15/2017 10:30:31 AM

Fetcher[
rsi(10) > 70
rsi(10) 5 days ago > 70
count(rsi(10) 2 days ago < 68,2) equals 2
rsi(10) < rsi(10) 5 days ago


close > Upper Bollinger Band(20,2)
count(close 5 days ago < Upper Bollinger Band(20,2),2) equals 2
close > close 5 days ago


]



http://charts.stockfetcher.com/sfchart/dvDVzmz6V8.png

kozzythedog
7 posts
msg #140129
Ignore kozzythedog
12/15/2017 4:56:11 PM

@four

Thank you!

four
5,087 posts
msg #140136
Ignore four
12/15/2017 7:12:39 PM

@kozzy

welcome

ron22
255 posts
msg #140139
Ignore ron22
12/15/2017 9:12:18 PM

Ed, Thank you for cleaning up the filter and also for your "filter don't run clean up hints". I will be using them from now on. Ron

StockFetcher Forums · Filter Exchange · RSI Divergence<< 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.