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

Re: [amibroker] writeif function



PureBytes Links

Trading Reference Links


Jayson,
 
This is all true but I guess David meant Commentary window 
that does not yet support color output.
Will work on it.
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
<A title=jcasavant@xxxx 
href="">Jayson 
To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Friday, October 25, 2002 7:18 
AM
Subject: RE: [amibroker] writeif 
function

<SPAN 
class=516091505-25102002>David,
you 
may be able to accomplish this with the new encodeColor command. from 
help....
<SPAN 
class=516091505-25102002> 
<SPAN 
class=516091505-25102002>Title = "This is written in <A 
href="">\\c38violet <FONT 
 color=#ffffff>color <A 
href="">\\c27and this in green";You can alsouse 
new AFL function that makes it easier. Function is calledEncodeColor( 
colornumber ).And you can write the above example like this:Title 
= "This is written in " + EncodeColor( colorViolet ) + "violet <FONT 
 color=#ffffff>color " + EncodeColor( 
colorGreen ) + "and this in green"; Multi-line caption is possible by 
simply embedding line break \n, for example:Title = "This is 1st 
line\nThis is second line";
<SPAN 
class=516091505-25102002> 
<SPAN 
class=516091505-25102002>search "Usage notes on new release features" in the 
help file...
 
Jayson 

<FONT face=Tahoma 
size=2>-----Original Message-----From: David Holzgrefe 
[mailto:dtholz@xxxx]Sent: Thursday, October 24, 2002 
7:13 AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
writeif function
TJ could you add to the to do list the ability to 
add color to text output for the writeif function , it would aid spottingkey 
words in commentarys eg Bullish , <FONT 
color=#ff0000>bearish etc 
 
 
Regards
 
David Holzgrefe
 
---Outgoing mail is certified Virus 
Free.Checked by AVG anti-virus system (<A 
href="">http://www.grisoft.com).Version: 6.0.404 
/ Virus Database: 228 - Release Date: 15/10/2002Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 
Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.