Difference between revisions of "SetPlotColor"

From MultiCharts
Jump to navigation Jump to search
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138)
Line 1: Line 1:
 
Assigns a specified color to the specified plot for the duration of the current bar.  
 
Assigns a specified color to the specified plot for the duration of the current bar.  
 
   
 
   
http://www.buyxanaxonlinepill.com/ order xanax no rx - buy xanax online
+
==== Usage ====
 +
<syntaxhighlight>SetPlotColor(PlotNumber,PlotColor)</syntaxhighlight>
  
http://www.buyxanaxonlinepill.com/ xanax no prescriptions - buy xanax online
+
==== Parameters ====
 +
[[PlotNumber]] - a numerical expression specifying the plot number; plot numbers range from 1 to 999
  
 +
[[PlotColor]] - an expression specifying the plot color
 +
 +
Plot color can be specified by a numerical expression representing an RGB color number or a legacy color value, or by one of 17 base color words.
 +
 
==== Example ====
 
==== Example ====
 
Assign the color of blue to plot1 for the duration of the current bar:  
 
Assign the color of blue to plot1 for the duration of the current bar:  

Revision as of 12:42, 13 February 2012

Assigns a specified color to the specified plot for the duration of the current bar.

Usage

SetPlotColor(PlotNumber,PlotColor)

Parameters

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

PlotColor - an expression specifying the plot color

Plot color can be specified by a numerical expression representing an RGB color number or a legacy color value, or by one of 17 base color words.

Example

Assign the color of blue to plot1 for the duration of the current bar:

SetPlotColor(1,Blue);

Assign RGB color 2138336 (Orange) to plot1 for the duration of the current bar:

SetPlotColor(1,2138336);

Assign legacy color 4 (Green) to plot1 for the duration of the current bar:

[LegacyColorValue=True];
SetPlotColor(1,4);