×

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.

Changes - MultiCharts
Open main menu

Changes

GetPlotColor

659 bytes added, 12:54, 23 January 2012
Created page with "Returns an RGB color number or a legacy color value that correspond to the color of the specified plot. ==== Usage ==== <syntaxhighlight>GetPlotColor(PlotNumber)</syntaxhigh..."
Returns an RGB color number or a legacy color value that correspond to the color of the specified plot.

==== Usage ====
<syntaxhighlight>GetPlotColor(PlotNumber)</syntaxhighlight>

Where: [[PlotNumber]] - a numerical expression specifying the plot number; plot numbers range from 1 to 999

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

<syntaxhighlight>Value1=GetPlotColor(1);</syntaxhighlight>

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

<syntaxhighlight>[LegacyColorValue=True];

Value1=GetPlotColor(1);</syntaxhighlight>



[[Category:Plotting]]
Anonymous user