I "applied" the dividend yield on the original library script which I adding 2 Exponential Moving Average.
That is average the Long term of Dividend Yield and Short Term of Dividend Yield.
To estimate the Trend that "Is it worth to invest this stock right now?"
If the dividend yield right now is higher than both maybe it worth it on the past
(You can used...
experimental:
a basic method to evaluate stock dividend periodicity.
known issues:
* it does not adapt well to changes in periodicity, if there is a big enough change on the dividend period plan.