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

RE: [amibroker] Re: Multi Monitor Layout



PureBytes Links

Trading Reference Links

Yuki, try this. Just adjust the 20 to suit the maximum length you want
displayed.
This ignores the first 2 characters in fullname()

StrMid( FullName(),2,20);

Cheers,
Graham
http://e-wire.net.au/~eb_kavan/

-----Original Message-----
From: Yuki Taga [mailto:yukitaga@xxxxxxxxxxxxx] 
Sent: Tuesday, May 18, 2004 5:27 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] refining FullName() in titles

In order to keep a very small Metastock database ordered the way I
like, I have always prefaced the security name with a 2-digit number:
for example, 12 Fujitsu.  (This allows me to make a rare insertion or
deletion of a security, then sort, and still have the issues remain
in my desired listing order.)

When I am using this database in AB (which is often, as this is the
key group of issues that I trade) FullName() returns the entire
string when I call this in a title (of course).

I'm wondering if there is a way to get AB to ignore (not display in a
title) the digits that precede the actual full name. My naming
convention for this database is always xxyA, where xx is two
numerical digits, y is a space, and A begins the actual full name of
the security.  If I could get FullName() to somehow ignore xxy, that
would be fantastic. I've heard people say that you can do *anything*
with AFL code.  ^_- True?

^^_^^
 
Yuki




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 
Yahoo! Groups Links



 



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/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 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

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