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

[amibroker] Re: Group 253



PureBytes Links

Trading Reference Links

Hi Anthony,
That was easy enough.All the symbols with "~" preceeding it are 
gone.Thank you

I reread the ATC manual and in particular the "Flags" field.My 
problems seem to occur after the initial creation of the 
composites.When I first create the composite,I chose "common stocks" 
as my filter and 2520 for N last quotations.My question is on day 
2,if I should select 252 for N last quotations,will the inital 10 
year period be reset and overwritten(flag=1),or will I wind up with 2 
composites with different time frames.I may try it myself now that I 
now how to delte the comps..

Thanks for the assistance

Allan

--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxx> 
wrote:
>
> Allan,
> 
> First we are going to locate your composite tickers...in the AA 
window using :
> all symbols
> n last quotations
> n=1
> click explore
> 
> Paste the following code into afl editor and send to AA window
> 
> 
> stock=StrFind(Name(),"~");
> 
> Filter=stock;//DateNum() != 1071231;
> 
> AddColumn(C,"");
> 
> 
> After that has been completed....right click in the results window 
and select....add all results to watchlist....you pick a watchlist..
> 
> Then pick from the menu bar....symbols > organize 
assignments ......when that opens up...select watchlists....
> select your watchlist you just filled with the offending 
tickers.....highlight all tickers in the list by holding down the 
SHIFT key and the down arrow key.....then select DELETE.....
> 
> A message box pops up saying you are about to delete from the 
database.....select yes...
> 
> let me know how it goes...then we will tackle how to place your 
composites .
> 
> Anthony
>   ----- Original Message ----- 
>   From: matrix10014 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Sunday, January 06, 2008 2:11 AM
>   Subject: [amibroker] Re: Group 253
> 
> 
>   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@> 
>   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
>   >
> 
> 
> 
>    
> 
> 
> --------------------------------------------------------------------
----------
> 
> 
>   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/