Have Fun with Colors

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
User avatar
TJ
Posts: 7739
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1032 times
Been thanked: 2221 times

Have Fun with Colors

Postby TJ » 18 Oct 2008

A study in GradientColor

Code: Select all

//Indicator Long Short
input: Length( 20 ) ;

Value1 = (GradientColor( SlowK(length), 0, 100, Black, Green));
SetPlotColor(1, value1);
plot1( HighestFC( high , Length ), "Ind Go Long" );

Value2 = (GradientColor( SlowK(length), 0, 100, Black, magenta));
SetPlotColor(2, value2);
plot2( LowestFC( Low, Length ), "Ind Go Short" );

zukkaweb
Posts: 125
Joined: 08 Feb 2008

color for each day of the week

Postby zukkaweb » 30 Oct 2008

is it possible to draw the background of different colours by the day of the week that we are or that were?
ex

Monday Tuesday Wednesday Thursday Friday Saturday Sunday
green yellow blue orange red brown pink

the candle should be white for up and black for down so we don't need to change them the colors.
Attachments
150px-Arcobaleno.gif
(739 Bytes) Downloaded 3154 times

User avatar
TJ
Posts: 7739
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1032 times
Been thanked: 2221 times

Re: color for each day of the week

Postby TJ » 12 Apr 2009

is it possible to draw the background of different colours by the day of the week that we are or that were?
ex

Monday Tuesday Wednesday Thursday Friday Saturday Sunday
green yellow blue orange red brown pink

the candle should be white for up and black for down so we don't need to change them the colors.
you can check this thread for example.
http://www.traderslaboratory.com/forums ... #post62468

User avatar
TJ
Posts: 7739
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1032 times
Been thanked: 2221 times

Postby TJ » 15 Apr 2009

here's a quick RGB reference:

1. dark skin= 94, 28, 13,
2. light skin= 241, 149, 108,
3. blue sky= 97, 119, 171,
4. foliage= 90, 103, 39,
5. blue flower= 164, 131, 196,
6. bluish green =140, 253, 153,
7. orange= 255, 116, 21,
8. purplish blue= 7, 47 122,
9. moderate red= 222, 29, 42,
10. purple= 69, 0, 68,
11. yellow green= 187, 255 19,
12. orange yellow= 255, 142, 0,
13. blue= 0, 0, 142,
14. green= 64, 173, 38,
15. red= 203, 0, 0,
16. yellow= 255, 217, 0,
17. magenta= 207, 3, 124,
18. cyan= 0, 148, 189,
19. white (.05)= 255, 255, 255,
20. neutral 8 (.23)= 249, 249, 249,
21. neutral 6.5 (.44)= 180, 180, 180,
22. neutral 5 (.70)= 117, 117, 117,
23. neutral 3.5 (1.05)= 53, 53, 53,
24. black (1.50)= 0, 0, 0,

Image
Attachments
macbeth.jpg
(41.59 KiB) Downloaded 3459 times

User avatar
TJ
Posts: 7739
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1032 times
Been thanked: 2221 times

Postby TJ » 15 Apr 2009

500 Colors

more color reference:
http://cloford.com/resources/colours/500col.htm

User avatar
bensat
Posts: 331
Joined: 04 Oct 2014
Has thanked: 46 times
Been thanked: 104 times

Color-Functions for 125 Colors from RGB-Table

Postby bensat » 15 Nov 2014

While MC is being short in different colors to call plots and tl's etc I wrote some functions to call for more colors to choose in plots etc. No need to look for other colors anymore. The 125 colors are out of the RGB-table and sorted in alphabetical order starting with color_"xxxx". Have fun.

Image

Regards.

Ben
Attachments
ColorsRGBMC.pla
(109.14 KiB) Downloaded 800 times

shanemcdonald
Posts: 196
Joined: 08 Aug 2012
Has thanked: 41 times
Been thanked: 41 times

Re: Fun with Colors

Postby shanemcdonald » 19 Nov 2014

thanks TJ

User avatar
TJ
Posts: 7739
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1032 times
Been thanked: 2221 times

Re: Fun with Colors

Postby TJ » 19 Nov 2014

thanks TJ
You are welcome!
Enjoy!

User avatar
TJ
Posts: 7739
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1032 times
Been thanked: 2221 times

Re: Fun with Colors

Postby TJ » 19 Feb 2018

More Colors

Web Colors
https://en.wikipedia.org/wiki/Web_colors


Encycolorpedia
Hex Color Code

http://encycolorpedia.com/a00000

User avatar
TJ
Posts: 7739
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1032 times
Been thanked: 2221 times

Re: Fun with Colors

Postby TJ » 07 Aug 2019

RGB Color Codes Chart

Color Picker

https://www.rapidtables.com/web/color/RGB_Color.html

tpredictor
Posts: 108
Joined: 05 Mar 2014
Has thanked: 1 time
Been thanked: 12 times

Re: Have Fun with Colors

Postby tpredictor » 06 Mar 2022

Maybe it is obvious but I did the following to get the background paint color:

Set study to entire series
Overlay indicators

Changed this

plot1( HighestFC( high , 1000)+50,"");

or for below
plot1(Low-20,"");


Return to “User Contributed Studies and Indicator Library”