StockFetcher Forums · Filter Exchange · Filter signaling change of state<< 1 2 >>Post Follow-up
four
4,010 posts
msg #121040
Ignore four
modified
7/17/2014 4:58:23 PM

Arnis,

I think you are looking for the manual, to learn how to write a "new" filter.

Here is the link for the manual: http://www3.stockfetcher.com/download/sfuserguide2_0.pdf


Here is the link to create a new filter.

http://www.stockfetcher.com/ui2/sffilter2.php?tabid=filt_fts2

arnis
18 posts
msg #121041
Ignore arnis
7/17/2014 6:57:34 PM

Thank You FOUR, Iwill go there. Arnie

four
4,010 posts
msg #121042
Ignore four
7/17/2014 7:40:24 PM

welcome

jimmyjazz
99 posts
msg #121050
Ignore jimmyjazz
modified
7/18/2014 6:56:46 PM

duke, it's not that simple. Here are the 3 possible results I would like to filter for in my example:

Yesterday: close below EMA(5) and SMA(5)
Today: close above EMA(5) and SMA(5)

Yesterday: close below EMA(5) but above SMA(5)
Today: close above EMA(5) and SMA(5)

Yesterday: close above EMA(5) but below SMA(5)
Today: close above EMA(5) and SMA(5)


See? In all 3 cases, there was a state change between yesterday and today based on BOTH indicators. I am not interested in finding stocks that have (for instance) closed above EMA(5) and SMA(5) for the last week, or even the last 2 days. I want at least one of the indicators to have swung positive today, and both to be true today.

four
4,010 posts
msg #121051
Ignore four
modified
7/18/2014 7:58:33 PM

Fetcher[

/*

: A = 2 : Yesterday: close below EMA(5) and SMA(5)
: B = 2 : Today: close above EMA(5) and SMA(5)

: A = 1 : Yesterday: close below EMA(5) but above SMA(5)
: B = 2 : Today: close above EMA(5) and SMA(5)

: A = 1 : Yesterday: close above EMA(5) but below SMA(5)
: B = 2 : Today: close above EMA(5) and SMA(5)

*/

set{A, count(close 1 day ago BELOW ema(5) 1 day ago,1) + count(close 1 day ago BELOW ma(5) 1 day ago,1)}
add column A ABOVE 0
set{B, count(close 0 day ago ABOVE ema(5) 0 day ago,1) + count(close 0 day ago ABOVE ma(5) 0 day ago,1)}
add column B EQUALS 2

do not draw a
do not draw b

russell 1000

]



jimmyjazz
99 posts
msg #121053
Ignore jimmyjazz
7/19/2014 12:17:30 AM

That's it! Thank you so much. I'm not using those triggers, but I was able to rewrite it for my indicators. I'll share once I confirm it's working exactly as planned.

four
4,010 posts
msg #121055
Ignore four
7/19/2014 12:00:05 PM

OK

four
4,010 posts
msg #123466
Ignore four
4/4/2015 1:56:30 PM

pop

StockFetcher Forums · Filter Exchange · Filter signaling change of state<< 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 2016 - 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