Ken, Thanks. That did the trick.
Bill --- In [email protected], Ken Close <[EMAIL PROTECTED]> wrote: > > Bill: > > For another approach, try this (code cut and pasted and not complete but it > should show the way). > > ab = CreateObject("Broker.Application"); > Fa0 = 1;//just to avoid syntax error check > CL0 = colorRed; > Fn0=ParamStr( "Fund0", "WTM21"); > stock0= ab.Stocks(Fn0); > if (stock0) {FName0 = stock0.FullName;} else {FName0 = "";} > > Plot(Fa0,Fn0,Cl0,4);// Fa0 calculated elsewhere and not shown > > Title statement prints out Fa0 and Fn0 and its associated FName0 > > Contact me if you need more. > > Ken > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf > Of billbarack > Sent: Saturday, July 28, 2007 5:16 PM > To: [email protected] > Subject: [amibroker] Foreign Symbol and Foreign "FullName" > > I would like to include the Symbol and its FullName for a Foreign defined > security in a custom Title statement. Having failed to find a way to do this > via the Help files and some trial and error, does anyone know of a way to > accomplish this? > > To be more specific, consider the following: > > Fn2=Foreign("TWM","C"); > > I would like the title to include the symbol "TWM" and its name "UltraShort > Russell2000". > > I don't want to hard code it in but have the title change when I change the > Fn2 statement above. > > Thanks, > > Bill > > > > 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 > > Yahoo! Groups Links >
