glgene 616 posts msg #88280 - Ignore glgene |
2/14/2010 11:45:12 PM
Some time ago, I wrote a short script that got me the results for this subject heading. But I didn't save that script. It went something like this:
index is sp500
stocks>ma(200)
The above script doesn't work, unfortunately. I ran it, it got me 495 as the result. #@!
The reason I'm seeking it is because of an article in the Feb. 15, 2010 issue of Barron's (page M3), which stated:
"...if the S&P 500 has recently slipped to just 7% above its 200-day MA, it ought to be closely watched. If that edge shrinks to below 5%, watch out."
Well, according to FT software, SPY closed at $108.04 on 2/12/2010. It's 200-day MA is $102.59. Thus, the 200-day MA of SPY is just 5.04% above its close on 2/12/2010.
Could someone here show me the script to show how many stocks in the SP 500 are above their 200-day MA? Thanks so much.
Zack
|