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

[amibroker] Constructing a return-based composite



PureBytes Links

Trading Reference Links



I searched the documentation but couldn't find an answer on this.
 
Let's say I have ten stocks and I want to create a composite index of how those stocks are performing.  The documentation on AddToComposite shows how to combine closing prices into a composite, but this is a bad solution:  a high-priced stock will dominate the performance of the index.
 
A better calculation would be to calculate the daily return of each stock in the index, average the individual returns and record the daily return values.  Then compound them out into a cumulative time series return ... has any one tried this?
 
It would seem pretty easy to use ROC(Close,1) with AddToComposite to get the weighted average prices.  What's missing is compounding them out daily into a cumulative return curve.
 
 
 
 


__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





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

__,_._,___