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

Re: [amibroker] Re: Group 253



PureBytes Links

Trading Reference Links

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 -----
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@xxxxxxxxxps.com, "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@xxxxxxxxxps.com
> 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




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

__,_._,___