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
|
Examples
See the Add() method for examples.