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

RE: [amibroker] Re: TJ: switching timeframes in charts



PureBytes Links

Trading Reference Links

It would be easier just to write this
Writeif (Name() == "^225" OR Name() == "^IXJ" OR Name() == "@niko.1",
FullName(),StrMid(FullName(),3,30) );


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

-----Original Message-----
From: Yuki Taga [mailto:yukitaga@xxxxxxxxxxxxx] 
Sent: Tuesday, May 18, 2004 6:11 AM
To: Herman van den Bergen
Subject: Re: [amibroker] refining FullName() in titles

Hi Herman,

Tuesday, May 18, 2004, 6:42:30 AM, you wrote:

HvdB> Ticker = "12 Fujitsu"; // or your FullName() Title = StrMid(
HvdB> Ticker, 3,20);

HvdB> This allows for a name of 20 character, increase 20 for longer
strings.

You and Graham have some secret database of AFL tricks!

Now, can I refine this even further?  I forgot that I have a couple
of indices which always hold their place, and I didn't use the two
digit convention with them.  So I tried something like:

if (Name() == "^225" OR Name() == "^IXJ" OR Name() == "@niko.1")
FullName() == FullName();
else
FullName() == StrMid(FullName(),3,30);

Then I thought I could just call FullName() as usual in the title
statement later.  But although there is no error code, it doesn't
work; it just returns the normal FullName().

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/