OPEN-SOURCE SCRIPT

Dividend Yield

This indicator assists in quickly estimating the dividend yield for a stock. It provides two outputs for the user.

The first is to estimate the current dividend yield and display it in the upper right corner. To calculate yield, we use the following formula – the last dividend paid * number of annual payments/close * 100. The user can adjust the dividend payment frequency in the input menu.

The second output is a line showing the price required to achieve the desired yield. Prices below the line are of greater yield than desired, and prices above that line are less. The user can adjust the desired yield in the input menu.
Dividends

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Checkout my free weekly market updates on substack!
ronaldryninger.substack.com
Also on:

Disclaimer