StockFetcher Forums · General Discussion · Filter Exit Question<< >>Post Follow-up
msg #92893
Ignore einok
5/19/2010 11:07:18 AM

How do I set a multiple exit condition for a filter?

For instance:

RSI closes above 70 then drops back below 70 indicating my exit?


121 posts
msg #92903
Ignore Cacher
5/19/2010 7:23:36 PM

Conditional statements not allowed....but oooohhh that would be soooo sweet.

3,836 posts
msg #92904
Ignore Kevin_in_GA
5/19/2010 7:47:02 PM

In the specific case you just mentioned, the simple statement "crossed 70 from above" would work. It would have to have gone above 70 beforehand for the statement to be true.

Try it and see.

3,317 posts
msg #92905
Ignore four
5/19/2010 7:53:36 PM

price between 10 and 50

set{ca, count(RSI(15) crossed above 70 within the last 0 days,1)}
set{cb, count(RSI(15) crossed below 70 within the last 0 days,1)}

set{oror,ca + cb}
oror > 0

/* value = 1, TRUE */
/* value = 0, FALSE */

add column ca {crossed ABOVE}
add column cb {crossed BELOW}

draw rsi(15) line at 30
draw rsi(15) line at 70

volume > 123123

Currently StockFetcher does not support conditional boolean logic directly. This is due to the potentially enormous computational impact it might have on StockFetcher's servers. There are, however, some work-arounds which may accomplish any boolean logic (or/if conditions). See the following forum posts for some solutions:⊂=view&fid=1001&tid=28017⊂=view&fid=1003&tid=28019


msg #92911
Ignore einok
5/19/2010 11:50:22 PM

Thanks for the feedback all. Kevin that worked exactly as I had hoped. Thanks again

StockFetcher Forums · General Discussion · Filter Exit Question<< >>Post Follow-up

*** Disclaimer *** 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. does not recommend particular securities., 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