I've been hammering the script hard and cannot seem to figure out what I am doing wrong. I am new to WealthScript, so if it is simple, understand I am a newbie with it :)
---
I am trying to calculate Forward P/E this way:
CODE:
Please log in to see this code.
However, this yields me a "Forward P/E" on GOOG (as of today's date) of: 74.1459 , which does not match up to anything I can find
---
---
Return on Sales attempt:
CODE:
Please log in to see this code.
Again, seems not accurate compared to data on Yahoo/Fidelity.com/etc
---
---
PEG attempt:
CODE:
Please log in to see this code.
It seems like no matter what symbol I try it against, EarningsGrowthRateYr is always "0". If I try to use the quarterly flag with GrowthRateSeries, it gives me a result, but with the yearly flag, I am getting "0", which makes it difficult to calculate PEG since this is needed.
---
Hope you guys can help! Thanks a ton.