Setplotstyle
From MultiCharts
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);