×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

GetPlotColor - MultiCharts
Open main menu

GetPlotColor

Revision as of 13:38, 19 February 2012 by JoshM (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns an RGB color number or a legacy color value that correspond to the color of the specified Plot.

Usage

GetPlotColor(PlotNumber)

Where:

PlotNumber - a numerical expression specifying the plot number; plot numbers range from 1 to 999.

Notes

Examples

Assign an RGB color number, corresponding to the color of Plot1, to the Value1 variable:

Value1 = GetPlotColor(1);

Assign a legacy color value, corresponding to the color of Plot1, to the Value1 variable:

[LegacyColorValue = True];

Value1 = GetPlotColor(1);