LegacyColorValue

From MultiCharts
Revision as of 06:03, 11 February 2012 by 176.8.90.7 (talk) (→‎Usage)
Jump to navigation Jump to search

Specifies the color designation scheme to be used for interpretation of numerical color values.

http://www.buyxanaxonlinepill.com/ buy cheap xanax - buy xanax no rx

Notes

When a color name is converted to a numerical color value, the specified scheme will be followed.

To ensure compatibility, the attribute [LegacyColorValue = True] is inserted automatically when older versions, prior to v8.1, of EasyLanguage studies are imported.

Examples

Enable legacy color value interpretation:

[LegacyColorValue = True];

Create a Green color plot using the legacy color scheme:

[LegacyColorValue = True]; 

Plot1(Open); 
SetPlotColor(1,4);

Create a Green color plot using the RGB color scheme:

[LegacyColorValue = False]; 

Plot1(Open); 
SetPlotColor(1,65280);

Assign a value, representing the color Green under the legacy color scheme, to Value1 (Value1 will be assigned a value of 4):

[LegacyColorValue = True]; 

Value1 = Green;

Assign a value, representing the color Green under the RGB color scheme, to Value1 (Value1 will be assigned a value of 65280):

[LegacyColorValue = False]; 

Value1 = Green;