Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 04-01-2009, 11:54 AM   #1

daedalus's Avatar

Join Date: Jul 2007
Location: Omaha, NE
Posts: 627
Ignore this user

Thanks: 431
Thanked 551 Times in 228 Posts

Finding Hex Color Values for TS?

I have an indicator that colors candles different colors based off set criteria just like a Heiken Ashi indicator would. Thing is you can't specify the color of the candles via the color tab and rather have to change the colors via the input tab and using easylanguage defined colors like "Green, LightGray" etc.

But in some of the easylanguage documents i've found you can also substitute these words with some kind of hexidecimal representation of the word as well.

Like the color Blue can be respresented by the word "Blue" but also as a RGBValue of 16711680.

How do you get the RGBValue?

I'd like to change the colors to different shades of colors rather than just use the basic red, green, etc.

Thanks for your help!
daedalus is offline  
Reply With Quote
Old 04-01-2009, 12:02 PM   #2

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Finding Hex Color Values for TS?

500+ Colours

http://cloford.com/resources/colours/500col.htm
Tams is offline  
Reply With Quote
The Following 2 Users Say Thank You to Tams For This Useful Post:
aaa (04-04-2009), daedalus (04-01-2009)
Old 04-01-2009, 12:03 PM   #3

Blu-Ray's Avatar

Join Date: Nov 2006
Location: England
Posts: 508
Ignore this user

Thanks: 164
Thanked 292 Times in 105 Posts

Re: Finding Hex Color Values for TS?

Quote:
Originally Posted by daedalus »
How do you get the RGBValue?
Just format any indicator, click on the color tab, then select other.... it then displays a spectrum of colors and it shows you the exact RGB values for that specific color.

Then in your indicator just type this ( for example ) ..... RGB(255,128,128) as a value in your input.

Hope this helps

Blu-Ray
__________________

“ Search is the ultimate expression of the power of the individual, using a computer, looking at the world, and finding exactly what they want ” – Eric Schmidt, Google
Blu-Ray is offline  
Reply With Quote
The Following 2 Users Say Thank You to Blu-Ray For This Useful Post:
aaa (04-04-2009), daedalus (04-01-2009)
Old 04-01-2009, 12:36 PM   #4

daedalus's Avatar

Join Date: Jul 2007
Location: Omaha, NE
Posts: 627
Ignore this user

Thanks: 431
Thanked 551 Times in 228 Posts

Re: Finding Hex Color Values for TS?

Thanks blu-ray thats exactly what I needed to know!!! I had tried just inputting the RGB values directly with no luck.
daedalus is offline  
Reply With Quote
Old 04-01-2009, 02:29 PM   #5

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Finding Hex Color Values for TS?

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,


Attached Thumbnails
Finding Hex Color Values for TS?-macbeth.jpg  
Tams is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding Components in a Index simple_simon Trading and the Markets 0 03-10-2009 01:13 PM
Help Detecting Color Changes in MA (TS) ephi144 Coding Forum 2 11-25-2008 09:31 AM
Finding a MENTOR / Course - Things to Look Out for rsagi Beginners Forum 33 07-11-2008 12:27 PM
Help with Some Lin Reg Curve Color Coding - MQL4 to TS turboscottomatic Coding Forum 3 05-19-2008 08:27 AM
Help finding IRC chatrooms that are free Adamned Market Analysis 2 10-19-2007 11:14 AM

All times are GMT -4. The time now is 12:43 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.