Hi, Shrewd!        Login  
Shrewd'm.com 
A merry & shrewd investing community
Best Of MI | Best Of | Favourites & Replies | All Boards | Post of the Week!
Search MI
Shrewd'm.com Merry shrewd investors
Best Of MI | Best Of | Favourites & Replies | All Boards | Post of the Week!
Search MI


Investment Strategies / Mechanical Investing
Unthreaded | Threaded | Whole Thread (7) |
Post New
Author: Pandrea   😊 😞
Number: of 3961 
Subject: Historical SMA of SPX source?
Date: 03/10/2023 7:22 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 1
Does anyone know of any free sources of historical 200-day SMAs of SPX data (as opposed to charts), available for download anywhere?
TIA!
Print the post


Author: anchak   😊 😞
Number: of 3961 
Subject: Re: Historical SMA of SPX source?
Date: 03/10/2023 8:55 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 7
There are many ways to skin the cat -

Option 1 - Download ^GSPC from Yahoo into a spreasheet -and compute the running mean in Excel - Average of last 200 days

Option 2 : Utilize GTR1s capabilities

http://gtr1.net/2013/?~SMA200:h1::Golden:et1:SMA20...

I think this is correct - just run the signal values ( download version) Backtest
and then click the Download report option.

it'll give you everything

All the best
Print the post


Author: anchak   😊 😞
Number: of 3961 
Subject: Re: Historical SMA of SPX source?
Date: 03/10/2023 9:06 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 2
Actually that's with a 1 day lag - if you want to remove that you would use

sma(0,200) and gprc(0) or aprc(0) - something like that
Print the post


Author: Pandrea   😊 😞
Number: of 3961 
Subject: Re: Historical SMA of SPX source?
Date: 03/11/2023 2:56 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 1
Many thanks - much appreciated!
Print the post


Author: Pandrea   😊 😞
Number: of 3961 
Subject: Re: Historical SMA of SPX source?
Date: 03/11/2023 3:15 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 0
Basic follow up questions - By turning on the Signal Values option in the Detailed Report, I was able to get the annual values for the 200 day SMA, but how do I get the daily values? I also seem to be misinterpreting the date restriction function. Is this not intended for simple starting and end dates? I get an error unless I turn this option off. I'm sure I'm missing something basic (not the date format, though! ;-)

Sorry if these are dumb questions!
Print the post


Author: anchak   😊 😞
Number: of 3961 
Subject: Re: Historical SMA of SPX source?
Date: 03/11/2023 3:20 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 2
Once you run the backtest - at the top there's a link to "Download Report" - this has all the details and daily signal values output to a .csv file

Dont put any restrictions - this way GTR1 fetches all the data available
Print the post


Author: Pandrea   😊 😞
Number: of 3961 
Subject: Re: Historical SMA of SPX source?
Date: 03/11/2023 5:43 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 1
Ah-ha! It's not in the webpage results summary but it IS in the downloaded file!
Many, many thanks!!!
Print the post


Post New
Unthreaded | Threaded | Whole Thread (7) |


Announcements
Mechanical Investing FAQ
Contact Shrewd'm
Contact the developer of these message boards.

Best Of MI | Best Of | Favourites & Replies | All Boards | Followed Shrewds