Sorry,one last question....

>From reading the manual it appears as if the ATC sums up prices to 
create an index.My assumption is it is price weighted..What i dont 
understand is,if in the code below we are summing up every stock in 
its given sector,how could i have a price of 167 for the Energy 
sector?? There must be over 400 stocks in that sector,so how could the 
sum be 167???

I dont see a divisor in the code??? Am i missing the obvious..again!!

sym="~"+SectorID(1);
AddToComposite(L,sym,"L");
AddToComposite(O,sym,"O");
AddToComposite(H,sym,"H");
AddToComposite(C,sym,"C");
AddToComposite(V,sym,"V");
Buy=Sell=Short=Cover=0;
Filter=1;





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/
 


Reply via email to