I have completed (as far as what I wanted to achieve) the Windows application I mentioned recently. The inspiration for this project was Saul’s description of the charts he does manually. I didn’t set out to exactly match his charts but to build a chart that encompassed similar information in a different format. In the end I also included an option which I believe is close to what Saul charts in addition to the style I started with because I had the data and the calculations there to use.
Here is a link to a picture of a chart in the style I started with. It plots daily prices and and PE ranges on a linear scale.
https://drive.google.com/open?id=0B40ZcniWzxoNX2ZVY1EzRElsMV…
And here is a picture that hopefully looks more like Saul’s charts. It plots earnings and prices on a quarterly basis on a logarithmic scale. The earnings scale relates to the price scale based on the PE base selected.
https://drive.google.com/open?id=0B40ZcniWzxoNVEM2SFBEVWVuV1…
A brief description of the display and options…
Top left is the company list used to select the company to view. The “New” button is to add a new company to the list and “Edit” is to remove companies from the list (permanently!).
Below those are symbol, price (from Yahoo! Finance), PE (calculated from current price and TTM earnings), Year over Year growth rate for the TTM (trainling twelve months) earnings and trailing PEG (PE / TTM growth rate) for the selected company. (This is what Saul has called 1YPEG)
At the bottom is a grid display of the earnings history. The Date and EPS values are supplied by the user and saved in a file named “earnings.txt” that needs to reside in the same directory as the program. The TTM value is the sum of the last four quarters earnings as of that date. The YOY column shows the growth rate of that quarter’s earnings compared to the same quarter in the previous year, when it can be calcuated. The Add button allows new earnings values to be easily added for the selected company. The existing Date and ESP values can be changed by simply entering new values directly in the grid display. On average companies report earnings around every 91 days. The top date in the list will be red if that date is more than 95 days past as an indicator that either the company is taking longer or new earnings may be available.
In the middle section are the controls for the graph on the right side of the display. The time period can be from 1 year to 5 years. The PE Range base determines the ratio of price to earnings for the PE (blue) plot, which can be a series of flat lines or a continous line chart. The Size option controls the shaded (grey) area for a PE range on the graph. The vertical scale can be linear or logarithmic. If the TTM Legend option is checked TTM earnings values will be shown down the left side of the chart with the numbers relating to the prices on the right based on the PE Range base value. When the Quarterly Only option is checked the chart will display a simpler, two-line chart with TTM earnings plotted against prices on the earnings dates. (I believe Logarithmic + TTM Legend + Quarterly only is similar to Saul’s manual chart format)
I hope the graph is fairly obvious, dates along the bottom, prices on the right, TTM earnings on the left (if selected), company name (from Yahoo! Finance) and symbol top center and PE Scale/Range top left. The price plot is green and the earnings (also PE) are in blue. The earnings plot is a series of flat lines if the Quarterly Only option is off and daily prices are plotted. If the PE range size is greater than zero a grey rectangle represents the selected PE range. If the Quarterly Only option is on the earnings plot is a continuous line plot connecting the quarterly values.
Finally, under the File menu are Save and Print options. Save will save the current earnings values in case you want to save any changes made. If unsaved changes exist when you close the program a prompt will ask if they should be saved. The print option sends the graph section only to your printer if for some reason you want to capture a chart on paper.
Error trapping is not as extensive as it should be but I think most potential problems are handled. The program fetches price information from Yahoo! so it’s always possible that the site just didn’t respond at that time or you have an incorrect symbol. A message box will pop up if/when that happens. If you are sure the symbol is correct, just try again later. In my experience that’s pretty rare, but it does happen.
Here is a link to a folder on Google Drive. In that folder are the program (PEChart.exe) and a starter file of earnings data (earnings.txt). Simply download the program and text file to a directory on your PC and run the program. You will likely be warned that it is from an unknown source and ask if you’re sure you want to run it.
https://drive.google.com/open?id=0B40ZcniWzxoNNGl0d1hfdE04Mk…
I hope some people find it useful and fun to play with. It’s free to anyone who wants to use it.
Note: The earnings values in the file provided mostly come from cnbc.com and some come from a spreadsheet provided by Phoolio18, which I believe came from Fidelity. As Saul has cautioned many times, if you are serious about earnings numbers you should get them directly from the quarterly/annual reports on the company web site. For me, getting them from cnbc.com was more expeditious for gathering numbers for testing the application. In the case of SNCR, the cnbc.com numbers matched those posted by Saul, but that doesn’t meant they will always match or that I didn’t type something wrong. So, it would be wise to verify numbers if you are doing some serious analysis.
Steve