Page 1 of 1

Have Fun with Colors

Posted: 18 Oct 2008
by TJ
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" );

color for each day of the week

Posted: 30 Oct 2008
by zukkaweb
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.

Re: color for each day of the week

Posted: 12 Apr 2009
by TJ
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

Posted: 15 Apr 2009
by TJ
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

Posted: 15 Apr 2009
by TJ
500 Colors

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

Color-Functions for 125 Colors from RGB-Table

Posted: 15 Nov 2014
by bensat
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

Re: Fun with Colors

Posted: 19 Nov 2014
by shanemcdonald
thanks TJ

Re: Fun with Colors

Posted: 19 Nov 2014
by TJ
thanks TJ
You are welcome!
Enjoy!

Re: Fun with Colors

Posted: 19 Feb 2018
by TJ
More Colors

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


Encycolorpedia
Hex Color Code

http://encycolorpedia.com/a00000

Re: Fun with Colors

Posted: 07 Aug 2019
by TJ
RGB Color Codes Chart

Color Picker

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

Re: Have Fun with Colors

Posted: 06 Mar 2022
by tpredictor
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,"");