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

[amibroker] Re: tweaking the display



PureBytes Links

Trading Reference Links

Yuki,

Try using EncodeColor()

>From the help:

Title = "This is written in " + EncodeColor( colorViolet ) + "violet 
color " + EncodeColor( colorGreen ) + "and this in green"; 

HB

--- In amibroker@xxxxxxxxxxxxxxx, Yuki Taga <yukitaga@xxxx> wrote:
> I use the following across the top of my custom price charts:
> 
> Title = Name() +"  -  "+ WriteVal( DateTime(), formatDateTime )+"  -
> "+"Open: "+WriteVal(O,1.0)+" "+" -  Hi:  "+WriteVal(H,1.0)+" "+" -
> Low: "+WriteVal(L,1.0)+" "+" -  Close: "+WriteVal(C,1.0)+"  -
> Volume: "+WriteVal(V,1);
> 
> Text output is all black.  What I would like to know is if I can
> modify this code so that the values *only* would be another color?
> 
> 'High' would remain black, but the value following it would be
> another color.  I have made a couple of attempts at this, but can't
> seem to figure it out, and I am not sure it can be done.
> 
> Yuki ^_^


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Naturally Painless & Spray Away Backaches & Joint Pain. $19.97
http://www.challengerone.com/t/l.asp?cid=2867&lp=m331.html
http://us.click.yahoo.com/tJIe0D/79VGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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