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 ...
Condition Wizard
Condition Wizard allows you to build conditions using logical expressions. Since the Condition ...