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
Strategy Roller
The Strategy Roller is a feature of the thinkorswim platform that can be used to help manage ...
Monitor preview
Monitor
The Monitor tab is the primary location where your trading activity is tracked. This includes ...
Today's Trade Activity
In the Today's Trade Activity section of the Activity and Positions tab, you can view and manage ...