TOP_RIGHT

Syntax

Location.TOP_RIGHT

Description

Used with the AddLabel() function to place a label in the top-right corner of the chart.

Example

AddLabel(yes, "Current symbol: " + GetSymbol(), location = Location.TOP_RIGHT);

Displays a label in the top-right corner of the chart with the name of the current symbol.