SetLineWeight

SetLineWeight ( int lineWeight );

Description

Sets a weight of a line.

Input parameters

Parameter Default value Description
lineWeight - Defines the line weight in pixels.

Example

plot Price = close;
Price.SetLineWeight(5);

This code sets the weight of a line to 5. The value is measured in pixels and ranges from 1 to 5 inclusively.