StockFetcher Forums · Filter Exchange · How to filter based on market direction?<< >>Post Follow-up
randomthought
1 posts
msg #106926
Ignore randomthought
7/8/2012 12:05:21 AM

I would like to filter my result based on the SPY being above the 20 Exponencial MA

I would also like to do the same for the DOW but I would like the dow to be below the 20 Simple MA

I have tried
spy is above the EMA(20)
But it didn't work. I could still see results even though the SPY is below the 20 EMA.

I really want to see what market conditions are best for my strategy. Please let me know to to apply such a filter.

four
5,087 posts
msg #106927
Ignore four
modified
7/8/2012 1:09:40 AM

Please read about StockFetcher User-Defined Variables
- Paste into browser: http://www.stockfetcher.com/stockdb/fetcher?p=varhelp

Using ETFs

SP500
set{x, ind(spy,close)}
x > cema(x,20)

DOW
set{xx, ind(dia,close)}
xx < cma(xx,20)

StockFetcher Forums · Filter Exchange · How to filter based on market direction?<< >>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.