[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] ENCODECOLOR



PureBytes Links

Trading Reference Links

Cyrille,

EncodeColor function returns a string but requires a color index
number.
The color index relates to the color palette in preferences.

>From the Help File:

ENCODECOLOR
- encodes color for indicator title Exploration /Indicator Builder
(AFL 2.2)

SYNTAX  EncodeColor( colorIndex )  
RETURNS STRING  
FUNCTION  Converts color index to string escape sequence that changes
color of text output in chart title. Color escape sequence uses \cXX
sequence where XX is 2 digit number specifying color index \c38 - defines
violet, there is a special sequence \c-1 that resets to default axis color. 


Regards,
William Peters (AmiBroker Group Moderator)
www.amitools.com




Thursday, December 23, 2004, 9:07:40 AM, you wrote:
  
CT> william,
CT>  
CT> thanks a lot
CT> it works now
CT> so function encodecolor returns string  and accept only string variables ?
CT>  
  

  



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/