Plot Class
Previous Topic  Next Topic 

Definition
Objects derrived from the Plot class are used to characterize how indicator values are visually displayed (plotted) on a chart.


Syntax
Plot(Color color, string name)

Plot(Pen pen, string name)

Plot(Color color, PlotStyle plotStyle, string name)

Plot(Pen pen, PlotStyle plotStyle, string name)


Properties
Plot.Min - Sets the minimum value required for the plot to display

Plot.Max - Sets the maximum value the plot will display


* See tutorial "Custom Plot Color via Thresholds" for example of Plot.Min and Plot.Max properties.


Parameters

color

The plot color (reference)

name

The plot name

pen

The pen used to draw the plot (reference)

plotStyle

The plot's PlotStyle:


PlotStyle.Bar
PlotStyle.Dot
PlotStyle.Hash
PlotStyle.Line
PlotStyle.Square


Examples
See the Add() method for examples.