| 
 PureBytes Links 
Trading Reference Links 
 | 
Hi Anthony.The code is posted below.Right now all the symbols are in 
the Undefined list.That was clearly not the right thing to do.Thanks 
for the help
Allan
_SECTION_BEGIN("Sector and Industry Composites");
Buy=Sell=Short=Cover=0;
Scan = Status("Action")==3;
if(Scan) {
inc = 1;
sym1 = "~Industry - " + IndustryID(1);
AddToComposite( inc * L, sym1,"L",1+2+4+8+16+128);
AddToComposite( inc * O, sym1,"O",1+2+4+8+16+128);
AddToComposite( inc * H, sym1,"H",1+2+4+8+16+128);
AddToComposite( inc * C, sym1,"C",1+2+4+8+16+128);
AddToComposite( inc * V, sym1,"V",1+2+4+8+16+128);
sym1 = "~Sector - " + SectorID(1);
AddToComposite( inc * L, sym1,"L",1+2+4+8+16+128);
AddToComposite( inc * O, sym1,"O",1+2+4+8+16+128);
AddToComposite( inc * H, sym1,"H",1+2+4+8+16+128);
AddToComposite( inc * C, sym1,"C",1+2+4+8+16+128);
AddToComposite( inc * V, sym1,"V",1+2+4+8+16+128);
}
_SECTION_END();
--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxx> 
wrote:
>
> can you give me an example of how you named your composite tickers
> 
> 
> Anthony
> ----- Original Message ----- 
>   From: matrix10014 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Saturday, January 05, 2008 7:58 PM
>   Subject: [amibroker] Group 253
> 
> 
>   Hi all...
> 
>   The Ami adventure continues...I had somehow managed to create 
identical 
>   sector and industry composites with different dates that all went 
into 
>   Group 253.
> 
>   Not knowing how to correct the problem,I made the error of using 
the 
>   Assignments organizer to move the newly created composites from 
group 
>   253 to Undefined.I was hoping to start over,but now when I run 
SCAN for 
>   the sector composites,Group 253 remains empty and my new sectors 
are in 
>   Undefined along with 10,000 other securities...
> 
>   Can someone kindly help me out here.This is unbelievably 
frustrating
> 
>   Thanks,
> 
>   Allan
> 
> 
> 
>    
> 
> 
> --------------------------------------------------------------------
----------
> 
> 
>   No virus found in this incoming message.
>   Checked by AVG Free Edition. 
>   Version: 7.5.516 / Virus Database: 269.17.13/1210 - Release Date: 
1/5/2008 11:46 AM
>
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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
 
 |