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

RE: [amibroker] FullName in Title with Foreign



PureBytes Links

Trading Reference Links

Terry: thanks, esp since I would prefer to stay away from
jScript----unfortunately, your suggestion does not meet my needs.
 
I added the code you suggest below.

My Title statement starts off as....

Title =  Issue + "  " + FName + "\n"+

And the Fname holds the FullName of the symbol that is currently in the
input symbol box, while Issue comes from a different symbol set by the Param
statement.

I will try the Jscript approach next.

Thanks anyway.  Let me know if I missed something in trying to implement
your suggestion.

Ken 

________________________________

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Terry
Sent: Sunday, January 08, 2006 12:05 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] FullName in Title with Foreign


You can try using SetForeign and store the FullName (and price).

SetForeign("Issue");
Price = C;
FName = FullName();
RestorePriceArrays();

FName; //Prints "Issue" FullName
FullName(); //Prints Selected symbol FullName

It works, but you'll have to manage the list of names if using it for
more than one foreign symbol since there are no arrays of strings.
--
Terry
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of Ken Close
Sent: Sunday, January 08, 2006 09:50
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] FullName in Title with Foreign

Lots of questions about Title these days.....and here is another.

I want to use ParamStr to input a symbol and then let Foreign get the
price
and go from there.

When I get to the custom Title statement, I would like to display the
active
symbol and its FullName().

So, something like:

Issue = ParamStr("Issue","RUT-I");
Price = Foreign(Issue,"C");

<snip code>

Title = Issue  + FullName() + "\n" +

FullName() like this displays, of course, the fullname of the symbol in
the
input/enter box, not the fullname of the symbol specified in the Param
entry
box.

Is there a way to display the FullName of the symbol entered via a Param
box?

I think the answer is "no", but someone here perhaps knows of a way.

Thanks,

Ken

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.15/223 - Release Date:
1/6/2006





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 other support material please check also:
http://www.amibroker.com/support.html


Yahoo! Groups Links








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 other support material please check also:
http://www.amibroker.com/support.html


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.15/223 - Release Date: 1/6/2006
 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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 other support material please check also:
http://www.amibroker.com/support.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/