I would like to have a chart that plots fundamental ratios and data over the pricepane on a daily chart.
I think it might be a easy way to see fundamental change over time and a way to see the effect of fundamentals on price.
Here is my code:
CODE:
Please log in to see this code.
The Plots look ok
But the Data doesn't match the data on the fidelity site
Here are the results for the ratios for GE
Chart ---- Chart Data ---- Fidelity Data
PriceToSales ----219.86 ---- 3.5
PE ---- 67.07 ---- 9.1
Current Ratio ---- 1.19 --- xx
ROE ---- 16.8 --- 17.2 ---- OK Close
ROA ---- 2.51 ---- 2.3 OK Close
ROC ---- .09 ---- 4.1
Debt ---- 454.52 ---- 473.2 OK Close
The code is from the QuickRef FundamentalDataSeries
The formulas are from the fundamental PDF from Fidelity
Does this look like a Data Problem, a formula Problem or a code Problem?
Thanks for the help,
Tobey