|
You might try using a different variable for list since you have it both as a numeric, then you assign a string to it. This may or may not be causing problems, but I'm guessing it is.
list==10; Comp ="SP-500";
list = CategoryGetSymbols( categoryWatchlist, list ); -- Terry
-----Original Message-----
Hello, I like to keep composite data on a dozen or so indices. If I have a seperate .afl for each index and run it against a watch list containing the components of that index, everything appears to work fine. However, I've recently been trying to have one .afl access the different watch lists as such:
if (InWatchList(10)){ list==10; Comp ="SP-500";
list = CategoryGetSymbols( categoryWatchlist, list ); for( i = 0; ( sym = StrExtract( list, i ) ) != ""; i++ ); } else NEXT WATCH List and so on. I run this against all the stock components contained in all the indices. database (TC2007). I know there is duplication with one stock being in more than one index. Again it appears to work just fine however, I receive different answers than when I run it the first way. Anyone know why this might be?? And what I can do?
Thanks in Advance for any assistance,
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 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:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
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
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- [amibroker] Composite Calculations - help Bill
- RE: [amibroker] Composite Calculations - help Terry
- [amibroker] Re: Composite Calculations - help Sanjay
