When I plot the Dividend Yield fundamental item, it goes back to only 5-6 years. However, the price chart shows the Dividend annotation for much beyond this timeframe. How can I manually calculate the Dividend Yield, both on a TTM and MRQ? I have obtained the Nasdaq provider data that contains the data, and am unsure how to manually calculate this. When I use the Nasdaq provided data to calculate the Divided Yield, I get incorrect data.
Appreciate any pointers.
Thanks,
G
Edit: I'm using the following line to calculate the Dividend Yield.
CODE:
Please log in to see this code.