SetPlotWidth (Reserved Word)
This reserved word sets the width of the specified plot.
SetPlotWidth[BarOffset](Number, Width);
Number is a number from 1 to 99 representing the number of the plot to modify. Width is the EasyLanguage width to be used for the plot (see EasyLanguage Widths for more information).
BarOffset is an optional parameter. If BarOffset is > 0 the plot width is set relative to the Nth bar back from the current bar; if < 0 the plot width is set relative to the Nth bar forward from the current bar
Example
The following EasyLanguage statements change the width of the plot to a thicker line when the Momentum Indicator is over 0, and to a thinner line when it is under 0:
Plot1(Momentum(Close, 10), "Momentum") ;
If Plot1 > 0 Then
SetPlotWidth(1, 4);
If Plot1 < 0 Then
SetPlotWidth(1, 1);
In this example, the Momentum Indicator has two possible widths: thicker when it is over 0, and thinner when it is below 0. However, in some cases you will want the indicator to have three or more possible widths.