PureBytes Links
Trading Reference Links
|
Dan,
Here is a method to set the composite fullname, this was strung together
as a quick example only and doesn't necessarily relate in other ways to your goals.
AB = CreateStaticObject("Broker.Application");
Stocks = AB.Stocks();
Filter = 0;
if ( IndustryID() > 0 AND IndustryID() < 199)
{
CompositeName = "~S" + SectorID();
AddToComposite( ( H + L + C ) / 3, CompositeName, "X", 31);
Stock = Stocks.Item( CompositeName );
Stock.FullName = "Fullname - " + CompositeName;
}
AddColumn( H, "High");
Regards,
William Peters
www.amitools.com
Sunday, August 14, 2005, 11:46:39 AM, you wrote:
DC> Tomasz,
DC> I was afraid that it would be a big issue.
DC> Regarding using the Full Name, I like the idea and it IS technically
DC> feasible in my code, BUT.
DC> Using the Full Name is NOT logistically feasible (AFAIK). The key problem
DC> (in this case, it's a "Big Problem") is the combination of:
DC> 1. The need to map one symbol to another through the Full Name, and
DC> 2. The inability to programmatically set the Full Name for a symbol.
DC> I.e., according to the documentation, the Full Name would have to be entered
DC> manually.
DC> Currently, even at the immature state of my system development, I've created
DC> 807 composite symbols. Over the next several weeks when I test ideas, I
DC> expect this number to grow by a factor of 3 to 5 - 2,000 to 4,000 thousand
DC> symbols.
DC> Manually entering the Full Name for thousands of symbols is simply not
DC> feasible.
DC> How can the Full Name be programmatically entered during a scan when the
DC> Composite symbol is created?
DC> Regards,
DC> Dan.
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hfe5sq1/M=362343.6886682.7839641.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1124046148/A=2894352/R=0/SIG=11fdoufgv/*http://www.globalgiving.com/cb/cidi/tsun.html">Help tsunami villages rebuild at GlobalGiving. The real work starts now</a>.</font>
--------------------------------------------------------------------~->
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/
|