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
Message Center
Message Center is a thinkorswim gadget that helps you stay informed on a variety of events. ...
Using Drawings
In this section you will find information on how to work with drawings on charts. Drawings are a ...
Account Statement
The Account Statement interface provides you with a line-item description of how funds have ...