StockFetcher Forums · General Discussion · Help with Filter to see relationship between S&P500 price and its 200 day SMA<< >>Post Follow-up
pthomas215
1,251 posts
msg #135223
Ignore pthomas215
4/1/2017 12:58:40 PM

I am wondering if anyone has a filter for charting the relationship between the SP500 price level and its 200-day SMA. Meaning showing where when the SP500 breaks below the 200-day SMA, it would indicate a potential sell-signal. any thoughts are appreciated.

four
5,087 posts
msg #135224
Ignore four
4/1/2017 1:39:27 PM

Fetcher[
/*Credit: Kevin*/
set{SPX, ind(^SPX, close)}
draw cma(spx,200)
]



four
5,087 posts
msg #135225
Ignore four
modified
4/1/2017 1:42:43 PM

Fetcher[
set{SPX, ind(^SPX, close)}
draw cma(spx,200)
set{x, count(spx crossed below cma(spx,200),1)}
draw x
]



pthomas215
1,251 posts
msg #135226
Ignore pthomas215
4/1/2017 1:46:00 PM

Thank you four. and of course assist to kevin.

four
5,087 posts
msg #135228
Ignore four
4/1/2017 2:01:17 PM

welcome

StockFetcher Forums · General Discussion · Help with Filter to see relationship between S&P500 price and its 200 day SMA<< >>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.