Forex



Go Back   Forex Trading > Training > Metatrader > Metatrader 4 mql 4 - Development course > Questions
Forex Forum Register More recent Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 12-10-2007, 10:25 AM
Member
 
Join Date: Feb 2007
Location: Seremban, Negeri Sembilan, Malaysia
Posts: 30
ahmad.ariffin is on a distinguished road
Custom Color

Hi all,

I want to ask how to get the custom color for an indicator. We always use the color available e.g : Gold, Blue, Red etc.. but how to put custom color code such as "23,67,48" etc in the indicator color property?

I tried it this way

#property indicator_color1 "25,25,25"

or

#property indicator_color1 "FFFFFF"

but it's not working. It turn to be black but not the color that I put in. I tried the mql4 site but doesn't found anything that can help me.

Last edited by ahmad.ariffin; 12-10-2007 at 10:29 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 12-10-2007, 11:06 AM
cja's Avatar
cja cja is offline
Senior Member
 
Join Date: Apr 2006
Posts: 676
cja is on a distinguished road
Quote:
Originally Posted by ahmad.ariffin View Post
Hi all,

I want to ask how to get the custom color for an indicator. We always use the color available e.g : Gold, Blue, Red etc.. but how to put custom color code such as "23,67,48" etc in the indicator color property?

I tried it this way

#property indicator_color1 "25,25,25"

or

#property indicator_color1 "FFFFFF"

but it's not working. It turn to be black but not the color that I put in. I tried the mql4 site but doesn't found anything that can help me.

Try this #property indicator_color1 C'25,25,25'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 12-10-2007, 11:12 AM
Member
 
Join Date: Feb 2007
Location: Seremban, Negeri Sembilan, Malaysia
Posts: 30
ahmad.ariffin is on a distinguished road
thanks cja.. it's working.. i found somewhere in the mql4 site but don't know the correct way how to apply it..

again, thanks..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EMA in color european Indicators - Metatrader 4 10 01-31-2009 11:44 AM
EA based on SAR color bar dmbsys Expert Advisors - Metatrader 4 5 09-14-2008 01:45 AM
How to set custom color in the indicator code? fxbs MetaTrader 7 01-30-2007 10:49 PM
BAR direction/color european Indicators - Metatrader 4 2 10-12-2006 04:25 AM
Help getting the color of a an indidator. FlatLine Setup Questions 5 07-30-2006 10:59 AM


All times are GMT. The time now is 08:16 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.