Ara:
Thanks for sharing that...I think I had seen that either in
a help message or another message. I have a series of 10 statement groups
in order to produce up to 10 normalized price plots. I think I would have
to have a complex series of ..... not sure what .....loops or IIF statements to
work my way thru 10 different symbols to get 10 different Fullnames. The
code like the following sniippit is the way I went and it worked (after some
help from TJ).
Fn5=ParamStr( "Fund5", "");
Fn6=ParamStr( "Fund6", "");
Fn7=ParamStr( "Fund7", "");
Fn8=ParamStr( "Fund8", "");
Fn9=ParamStr( "Fund9", "");
stock5=
ab.Stocks(Fn5);
stock6=
ab.Stocks(Fn6);
stock7=
ab.Stocks(Fn7);
stock8=
ab.Stocks(Fn8);
stock9=
ab.Stocks(Fn9);
if (stock5) {FName5 = stock5.FullName;} else {FName5 =
"";}
if
(stock6) {FName6 = stock6.FullName;} else {FName6 =
"";}
if
(stock7) {FName7 = stock7.FullName;} else {FName7 =
"";}
if
(stock8) {FName8 = stock8.FullName;} else {FName8 =
"";}
if (stock9)
{FName9 = stock9.FullName;} else {FName9 = "";}
Ken Try:
Set Foreign("xyz","C");
FN = Fullname();
RestorePriceArray()
----- Original Message -----
Sent: Saturday, June 09, 2007 12:31
PM
Subject: [amibroker] FullName of Foreign
Symbol
Seemingly basic
question that I have never seen answered nor can find in the
Help.
How do I access
the FullName of a foreign symbol?
xyz =
Foreign("xyz","c");
xyzFullname =
??????
Thanks for the
answer.
Ken
__._,_.___
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
__,_._,___
|