NinjaScript > Language Reference > Indicator >
Line Class
Definition Objects derived from the Line class are used to characterize how an oscillator line is visually displayed (plotted) on a chart.
Syntax
Line(Color color, double value, string name)
Line(Pen pen, double value, string name)
Parameters
color
The line color (reference)
name
The line name
pen
The pen used to draw the plot (reference)
value
The value used to define where the line is plotted
Examples
See the Add() method for examples.