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
Level II
Level II is a thinkorswim gadget that displays best ask and bid prices for each of the exchanges ...
Trailing Stop Links preview
Trailing Stop Links
Trailing stop orders can be regarded as dynamical stop loss orders that automatically follow the ...
Using Drawings
In this section you will find information on how to work with drawings on charts. Drawings are a ...