Registered User Joined: 7/30/2008 Posts: 30
|
could you please help me to write a code for SF which plots a graph taking gains and losses per week for th same symbol over year and averages these gains or losses for the same weeks for the past 10 years. i.e. week 1 is averaged over all weeks 1 for the past 10 years (or whatever data is avilable), week 2 is averaged, so on.
If the same code can be applied to averaging gains (losses) for every day over 10 years then it would be even better.
thank you.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You should be able to Open the attached Chart directly into a running copy of StockFinder. The portion of interest to you would probably be the bottom Pane. The Average Rates of Change listed are for the last twenty years (assuming the symbol has that much data) and display the Average Rate of Change for the Calender Date of the Plot over the number of Calender Days of the Period for the Rate of Change (so the 7-Period version is a Week and the 1-Period version is a Day). Attachments: Cycler.sfChart - 99 KB, downloaded 659 time(s).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|