MyColors (Function)
The MyColors function returns the 32-bit color value for extended color names used in certain indicators (such as Ichimoku Cloud and Awesome Oscillator).
Syntax
MyColors(ColorName)
Returns
A numeric value containing the 32-bit color number of an extended color name.
Parameters
Name |
Type |
Description |
ColorName |
String |
A text string containing one of the following color names: "azure", "chartreuse", "orange", "rose", "springgreen", "violet". |
Example
Assigns to Value1 the 32-bit RGB color value for the extended color name "azure".
Value1 = MyColors("Azure");