stocks in the S&P 500 trading above their 200 SMA

How would I generate a chart that shows the percentage of stocks in the S&P 500 trading above their 200-day moving averages, for the past year?

Something like this…


Go to AGGREGATE SERIES > P123 AGGREGATE SERIES > %AboveSMA200-SP500
% of stocks in the SP500 above their 200 bar simple average

Thanks geov.