GetYield

GetYield ();

Description

Returns the yield of the current stock or the underlying symbol for the current option.

Example

declare lower;
plot CurrentYield = GetYield() * 100;
def AD = GetYield() * close;
AddLabel(yes, "Annual Dividends: " + AD);

This script plots the current yield line and places a chart label indicating annual dividends.

You may also like
Beta Weighting
The Beta Weighting tool is widely used in risk assessment. When activated, it modifies the Delta ...
OptionGamma
Option Gamma is a hedge parameter, one of the so-called Greeks. It measures the rate of change ...
OptionTheta
Option Theta is a hedge parameter, one of the so-called Greeks. Also known as time decay, it is ...