Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Friday, July 28, 2006 12:14:56 AM(UTC)

Rank: Newbie

Groups: Registered, Registered Users
Joined: 4/22/2006(UTC)
Posts: 5

Is there a method to combine many STOCKS into an INDEX -- and then be able to Chart that INDEX to measure custom-defined areas of the Market? I read in "The Downloader" User's manual that a COMPOSITE is for 2 stocks. Can a similar procedure be used for more than 2 stocks? Thanks for any suggestions and help!!!
#2 Posted : Friday, July 28, 2006 3:13:58 AM(UTC)

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey eric.... patricks dll had a index function..... not sure if its included in the current version in the download section.... the security function will allow you to add quite a few..... the indicator character limitation will eventually halt any additional components.... there are ways around that limitation, not sure how many securities you were considering summing up...... an obvious method to squeeze in more would by by shorting the file path.... all local data folders do not have to be included in the primary 'metastock data'..... if you consider that, use a number instead of a letter.... in other words, to save characters , don't reduce 'C:\\MetaStock Data\\dow 30\\msft' down to 'C:\\m\\d\\msft' ....... use something like 'C:\\5\\msft' ...... computers talk fast and certain letter combinations can screw up the works.......h [code:1:cceab8fe71]Security("C:\\MetaStock Data\\dow 30\\msft", C)+ Security("C:\\MetaStock Data\\dow 30\\intc", C)+ Security("C:\\MetaStock Data\\dow 30\\ibm", C)+ Security("C:\\MetaStock Data\\dow 30\\cat", C)+ Security("C:\\MetaStock Data\\dow 30\\ge", C);[/code:1:cceab8fe71] [code:1:cceab8fe71]Security("C:\\5\\msft", C)+ Security("C:\\5\\intc", C)+ Security("C:\\5\\ibm", C)+ Security("C:\\5\\cat", C)+ Security("C:\\5\\ge", C);[/code:1:cceab8fe71]
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.