Thanks Tomasz (and Joe, Bill, Dale). I have found the right uparrow, downarrow and sideways arrows in Wingdings3 font system on my computer. So how do I use the formatChar command to select also the font system, ie, Wingdings3???? I don't read anything in the Help files about the font system specification itself. Is it possible? Here is a pasted in uparrow, downarrow, sidearrow from Wingdings3:
h , i, g Hmmm that is interesting. lower case h but I wonder what shows up on your screens. Probably lower case "h", "i", "g". Thanks for the responses. Ken _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Janeczko Sent: Thursday, March 15, 2007 6:54 PM To: [email protected] Subject: Re: [amibroker] Symbol within AA Results Cells Joe, Right now it is easier because of Asc function http://www.amibroker.com/f?asc So you don't need to code 66, or 83 and 88 but you just do: AddColumn( IIf( BuyLong, Asc("B"), IIf( SellShort, Asc("S"), Asc("X") ) ), "B/S", formatChar ) ; Best regards, Tomasz Janeczko amibroker.com ----- Original Message ----- From: Joe <mailto:[EMAIL PROTECTED]> Landry To: [email protected] Sent: Thursday, March 15, 2007 10:22 PM Subject: Re: [amibroker] Symbol within AA Results Cells Ken, I remember seeing that you could print ASCII codes in the explore columns but whether there's an ASCII character that will suit your purposes is another matter. How about a ^ for up and a > for sideways,... just kidding. This is from TJ quite a while back. JOE AddTextColumn(WriteIf(BuyLong==1,"B", WriteIf(SellShort==1,"S", "X")),"B/S"); // <==== Problem area write: AddColumn( IIf( BuyLong, 66, IIf( SellShort, 83, 88 ) ), "B/S", formatChar ); where 66, 83, 88 are ASCII codes of letters B, S and X respectively. ----- Original Message ----- From: wavemechanic <mailto:[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, March 15, 2007 1:17 PM Subject: Re: [amibroker] Symbol within AA Results Cells No symbol, but you could use text/background colors. Bill ----- Original Message ----- From: Ken Close <mailto:[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <mailto:[email protected]> ps.com Sent: Thursday, March 15, 2007 11:08 AM Subject: [amibroker] Symbol within AA Results Cells Is it possible to insert a symbol (like shapeuparrow) within a cell in a results table? I have written a AddTextColumn and used a WriteIf statement to put in words describing a trend, such as "Up Trend" if a parameter is above a certain value and "Down Trend" if the value is below a certain value. I would like to have a green up arrow or red down arrow instead of the text described above. Is this possible? If not, how might you achieve an automation of some sort (say with the exported table rather than within AB itself) so you could put said symbol in the cells instead of words? Any suggestions will be appreciated. Ken _____ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.9/719 - Release Date: 3/12/2007 8:41 AM
