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

Re: [amibroker] Symbol within AA Results Cells



PureBytes Links

Trading Reference Links

This is excellent, and it's been there since 2.80.  Sorry about that - I'll have to redouble my
efforts to  "READ THE MANUAL!"
 
Thanks Tomasz
Joe L.
 
 
 
----- Original Message -----
Sent: Thursday, March 15, 2007 5:54 PM
Subject: Re: [amibroker] Symbol within AA Results Cells

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 -----
From: Joe Landry
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 -----
From: Ken Close
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
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___