[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

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

<*> 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/