+1 888 340 6572

Setplotstyle

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Assigns a specified line style to the specified plot for the duration of the current bar.

Usage

setplotstyle(PlotNumber,LineStyle)

Where:

  • PlotNumber is a numerical expression sprcifying the plot number; plot numbers range from 1 to 999
  • LineStyle is a numerical expression specifying the plot line style; line style can range from 1 to 6:

Tool_Solid

1

________________________

Tool_Dashed

2

- - - - - - - - - - - - - - - - - - - - -

Tool_Dotted

3

. . . . . . . . . . . . . . . . . . . . . . .

Tool_Dashed2

4

__ _ __ _ __ _ __ _ __ _ __

Tool_Dashed3

5

___ _ _ ___ _ _ ___ _ _ ___


Example

Assign a plot line style "Dotted" to plot1 for the duration of the current bar:

setplotstyle(1, Tool_Dotted);