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
Joe,
Right now it is easier because of Asc function
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 -----
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 -----
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 -----
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
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
__,_._,___
|