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

[amibroker] Question on code, GetCategorySymbols and StrExtract



PureBytes Links

Trading Reference Links

This is what I am trying to do.

Within the context of an exploration.

After defining an the list of symbols in the Automatic Analysis Panel
Use the following code to pull up an additional list of symbols from 
watch list 0.

list = GetCategorySymbols( categoryWatchlist, 0) 

for( i = 0; ( sym = StrExtract( list, i ) ) != ""; i++ );

I am guessing that an array would be built that would contain i 
symbols.
For example if watch list 0 was of the Dow 30 components the array 
would contain the 30 symbols.

If that is not right please correct me. 

Otherwise, what is the correct way to make reference to the values 
in the arrays of each symbol?

For example, if the first symbol was AA, what code would refer to 
the close for AA on a given day?

Thanks

James




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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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