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
Position Statement
In the Position Statement section of the Activity and Positions tab, you can track your current ...
Beta Weighting
The Beta Weighting tool is widely used in risk assessment. When activated, it modifies the Delta ...
Trailing Stop Links preview
Trailing Stop Links
Trailing stop orders can be regarded as dynamical stop loss orders that automatically follow the ...