List of Colors

Questions about MultiCharts and user contributed studies.
Jack Zolty
Posts: 15
Joined: 25 Aug 2007

List of Colors

Postby Jack Zolty » 09 Nov 2007

Anyone know where I can find the list of color names available with MC.

User avatar
TJ
Posts: 6518
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 957 times
Been thanked: 1883 times

Postby TJ » 09 Nov 2007

see attached.
Attachments
_color.jpg
_color.jpg (113.87 KiB) Viewed 355 times

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 14 Nov 2007

Hello,

Apart from the colours listed in the table, there is one more colour - DarkYellow. This colour does not have a number, only the reserved word - DarkYellow.

Most important, though is that in MultiCharts you can use the RGB model to plot over 16 million colours.

Here are the details:

Returns the RGB color number that corresponds to the specified combination of red, green, and blue component color values; the number ranges from 0 to 16777215 and represents one of 16 M colors.

RGB (Red,Green,Blue)

Where: Red – a numerical value from 0 to 255, specifying the Red component of the RGB color
Green – a numerical value from 0 to 255, specifying the Green component of the RGB color
Blue – a numerical value from 0 to 255, specifying the Blue component of the RGB color

Example

Create an Orange color plot using the RGB color combination:

Plot1(Open);
SetPlotColor (1, RGB (224,160,32));

Regards.

User avatar
TJ
Posts: 6518
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 957 times
Been thanked: 1883 times

Postby TJ » 14 Nov 2007

RGB (Red,Green,Blue)

Where: Red – a numerical value from 0 to 255, specifying the Red component of the RGB color
Green – a numerical value from 0 to 255, specifying the Green component of the RGB color
Blue – a numerical value from 0 to 255, specifying the Blue component of the RGB color

Example

Create an Orange color plot using the RGB color combination:

Plot1(Open);
SetPlotColor (1, RGB (224,160,32));

Regards.

this is great.
Where is the documentation?

Jack Zolty
Posts: 15
Joined: 25 Aug 2007

thanks so much guy's nt.

Postby Jack Zolty » 14 Nov 2007

..

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 14 Nov 2007

We are currently working on it.

User avatar
RobotMan
Posts: 375
Joined: 12 Jul 2006
Location: Los Altos, California, USA
Has thanked: 31 times
Been thanked: 12 times
Contact:

Postby RobotMan » 14 Nov 2007

You could try looking it up yourself.

go to: (remove the spaces)
htt ps : // www . TS.com/support/books/default.aspx

and D/L:
EasyLanguage® Functions & Reserved Words Reference (.pdf)

and turn to page 992.

I keep a copy handy in "My Documents" and put a shortcut to it in the "quick launch" area of my taskbar. It's quite the tome of all things EL.


Also, if you are ever curious; in MC click on "format study" and click on the color of one of your indicators and when the standard colors popup, click on "other". Now you can create any color you want and the RGB code for it is in the lower right hand corner. You can "add to custom colors" or just copy down the numbers to the Power Language code you are writing.


Bob Perry
Los Altos, CA

User avatar
TJ
Posts: 6518
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 957 times
Been thanked: 1883 times

Postby TJ » 18 Feb 2008

is it possible to set the transparency of the color? (e.g. 50%)

I want to draw a THICK trendline across the chart, but I don't want it to cover the price bars.



The alternative would be to put the trendline behind the price bars, but I don't think that can be done.

User avatar
Andrew Kirillov
Posts: 1589
Joined: 28 Jul 2005
Has thanked: 2 times
Been thanked: 31 times
Contact:

Postby Andrew Kirillov » 18 Feb 2008

It is not possible.

User avatar
TJ
Posts: 6518
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 957 times
Been thanked: 1883 times

Postby TJ » 11 Mar 2008

Hello,

Apart from the colours listed in the table, there is one more colour - DarkYellow. This colour does not have a number, only the reserved word - DarkYellow.

Most important, though is that in MultiCharts you can use the RGB model to plot over 16 million colours.

Here are the details:

Returns the RGB color number that corresponds to the specified combination of red, green, and blue component color values; the number ranges from 0 to 16777215 and represents one of 16 M colors.

RGB (Red,Green,Blue)

Where: Red – a numerical value from 0 to 255, specifying the Red component of the RGB color
Green – a numerical value from 0 to 255, specifying the Green component of the RGB color
Blue – a numerical value from 0 to 255, specifying the Blue component of the RGB color

Example

Create an Orange color plot using the RGB color combination:

Plot1(Open);
SetPlotColor (1, RGB (224,160,32));

Regards.

It would be great if MC can assign a number and/or Reserved Word to each of the colors on the Format Window Background color grid.

It beats fumbling with the RGB combinations.

See attached.
Attachments
Format_Window.jpg
Format_Window.jpg (36.3 KiB) Viewed 298 times

User avatar
Januson
Posts: 119
Joined: 18 Apr 2007
Location: Denmark

Postby Januson » 11 Mar 2008

Speaking of which...

Is't possible to create transparency in MC ?

User avatar
Andrew Kirillov
Posts: 1589
Joined: 28 Jul 2005
Has thanked: 2 times
Been thanked: 31 times
Contact:

Postby Andrew Kirillov » 12 Mar 2008

It is not possible now, but we will keep it in mind!

User avatar
TJ
Posts: 6518
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 957 times
Been thanked: 1883 times

Postby TJ » 12 Mar 2008

Speaking of which...

Is't possible to create transparency in MC ?
_________________
Janus C. H. Knudsen, Denmark

It is not possible now, but we will keep it in mind!


How about my suggestion of assign a number and/or Reserved Word to each of the colors on the Format Window Background color grid?

User avatar
Andrew Kirillov
Posts: 1589
Joined: 28 Jul 2005
Has thanked: 2 times
Been thanked: 31 times
Contact:

Postby Andrew Kirillov » 17 Mar 2008

Frankly this request is too specific. You can archive the same in the PL code by assigning variables with needed colors.


Return to “MultiCharts”