this
Description
linplot
is used to plot a line in a given graphics view within an EAS Charting Window. It is useful for plotting prices, overlays or indicators. To plot an indicator that incorporates a lookback period see Plotting a Lookback Period Based Quantity.

The syntax is used to define the starting and ending data points of the plot (a and b), the desired color, the line style and the line thickness (t). The line colors, styles and thicknesses available for linplot follow normal O-Matrix standards.

val is the numerical quantity to be plotted, integer, real or double precision.

a, b and p must be integer quantities.

color and style must be input as character values.

Example:
The following example is taken from the code shown in the Example in the Preparing a Charting Window for Use section of this manual.

          linplot(cp,1,L,"gray","solid",5)

Here cp is the quantity being plotted (closing prices) in the EAS Charting Window, and 1 and L are the starting/ending data points for which cp will be plotted.