| sixerwrong@gmail.com 12 posts
 msg #148958
 - Ignore sixerwrong@gmail.com
 | 8/20/2019 4:25:28 AM 
 hello to all,
 sorry for asking again but i really do not know the SF language. can anyone tell me how to make a filter that has EMA20 crossover EMA40 maybe 2 days ago or something like that. my idea is to search for clear change in trends.
 
 thanks in advance
 appreciate all the help guys :)
 
 
 | 
| graftonian 1,089 posts
 msg #148960
 - Ignore graftonian
 | 8/20/2019 9:36:44 AM 
 Check out tools/filter phrases
 
 crossed above/below
 
 
 Usage	indicator crossed above indicator [within the last #number {days,weeks,months,years}]
 indicator crossed above value [within the last #number {days,weeks,months,years}]
 
 indicator crossed below indicator [within the last #number {days,weeks,months,years}]
 indicator crossed below value [within the last #number {days,weeks,months,years}]
 
 Description	Use the crossed phrase to indicate when the stock price, or indicator value, reaches and breaks-through a particular value or indicator. This phrase is perfect for finding moving average crossovers as well as broken resistance or trend changes. Also, through the optional time period specified at the end of this phrase, a user can specify a time frame for the crossover.
 
 Examples	MA(10) crossed above MA(50)
 Low crossed below the lower bollinger band(20)
 RSI(15) crossed below 30 within the last 3 days
 
 
 | 
| mahkoh 1,065 posts
 msg #148965
 - Ignore mahkoh
 modified
 | 8/21/2019 5:08:45 AM 
 
 
 
 
 | 
| sixerwrong@gmail.com 12 posts
 msg #148966
 - Ignore sixerwrong@gmail.com
 | 8/21/2019 11:50:40 AM 
 thanks for the help guys
 
 
 | 
| snappyfrog 749 posts
 msg #148975
 - Ignore snappyfrog
 | 8/21/2019 9:29:13 PM 
 EMA20 crossover EMA40 maybe 2 days ago or something like that. my idea is to search for clear change in trends.
 **************
 
 
 
 
 
 | 
| dltharpe 10 posts
 msg #149003
 - Ignore dltharpe
 modified
 | 8/27/2019 10:07:11 PM 
 can you do a phrase like this but within a day range, something like
 MA(20) crossed above MA(40)...anytime within the past 10 days...I know I can but the "within" syntax doesn't seem to work great and when I search for it, it looks like its used for back testing.
 
 
 | 
| four 5,087 posts
 msg #149004
 - Ignore four
 modified
 | 8/27/2019 11:52:54 PM 
 Please consider working through the guide
 https://www3.stockfetcher.com/download/sfuserguide2_0.pdf
 
 ---------
 
 
 
 
 
 |