GETSYMBOL

Purpose:

Returns the type of symbol used for the specified series.

Syntax:

GETSYMBOL(series, item)

series

-

Optional. A series, defaults to the current Window.

item

-

Optional. An integer, the series number. The series number if the target is a Window with more than one series. Defaults to 1.

Returns:

An integer specifying the symbol from the list below:

 

Description

Macro Equivalent

Integer Value

No symbol

DOTS

0

Box

SQUARE

1

Triangle

TRIANGLE

2

Upside Down Triangle

INV_TRIANGLE

3

+

CROSS

4

x

XCROSS

5

Empty Up-Arrow

CLR_UP_ARROW

6

Empty Down-Arrow

CLR_DN_ARROW

7

Filled Up-Arrow

UP_ARROW

8

Filled Down-Arrow

DN_ARROW

9

Empty Diamond

CLR_DIAMOND

10

Empty Square

CLR_SQUARE

11

Empty Triangle

CLR_TRIANGLE

12

Empty Upside Down Triangle

CLR_INV_TRI

13

Circle

CIRCLE

14

Empty Circle

CLR_CIRCLE

15

Example:

W1: gcos(100,.01)

W2: gsin(100,.01)

W3: W1;setsymbol(2);overlay(W2,red);setsymbol(4,2,1,10)

 

getsymbol(W3)

 

returns the value 2.

 

focus(2);getsymbol(W3)

 

returns the value 4.

See Also:

GETSYMBOLINTERVAL

GETSYMBOLOFFSET

GETSYMBOLSIZE

SETPLOTSTYLE

SETSYMBOL