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: 6584
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 970 times
Been thanked: 1907 times

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
150px-Arcobaleno.gif (739 Bytes) Viewed 1463 times

User avatar
TJ
Posts: 6584
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 970 times
Been thanked: 1907 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: 6584
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 970 times
Been thanked: 1907 times

Postby TJ » 15 Apr 2009

here's a quick RGB reference:
http://www.mambo.net/cgi-bin/TempProcessor/view/113

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
macbeth.jpg (41.59 KiB) Viewed 1768 times

User avatar
TJ
Posts: 6584
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 970 times
Been thanked: 1907 times

Postby TJ » 15 Apr 2009


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: 6584
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 970 times
Been thanked: 1907 times

Re: Fun with Colors

Postby TJ » 19 Nov 2014

shanemcdonald wrote:thanks TJ

You are welcome!
Enjoy!

User avatar
bensat
Posts: 332
Joined: 04 Oct 2014
Has thanked: 46 times
Been thanked: 103 times

Re: Fun with Colors

Postby bensat » 19 Nov 2014

A link from me if you are interested : http://www.multicharts.com/discussion/viewtopic.php?f=5&t=47581

Regards

Ben


Return to “User Contributed Studies and Indicator Library”