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

[amibroker] Weighted Equity Curve



PureBytes Links

Trading Reference Links

I would like to plot a weighted equity curve for a 
portfolio of 30-40 holdings on a EOD basis. I have
a working un-weighted equity curve routine from a 
friend of mine that is very useful. However there
are some holdings that don't perform like the Russell,
for example, and would definitely show a different response
to the market, than a price curve would.

One suggestion was to enter the number of shares via the
PARAM function and that certainly sounds workable, but
the question comes up as to where to store these values for 
historical analysis. 

Another idea would be to set up an equal number of tickers with a 
sightly different ticker name that would hold the number of shares 
in any one of the fields, say Open Interest.  Or for that matter, 
entering the number of shares in the open interest field of the 
ticker itself thereby presenting a historical array of the holdings 
as they change throughout the year.  

Does any one have a working solution or ideas on how to approach?
Would appreciate any help either in straight AFL or AFL+jCode. 

Best regards
JOE 


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/