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

Re: [amibroker] Charting ATC sectors



PureBytes Links

Trading Reference Links

Markk
 
Every night after the stock data is downloaded.
 
Anthony
----- Original Message -----
From: MarkK
Sent: Saturday, December 29, 2007 7:52 AM
Subject: RE: [amibroker] Charting ATC sectors

Don,

Do you need to run this each night to update?  Or once the Sectors and Industries are produced they do not need to be updated?

Thank you

MarkK


From: amibroker@xxxxxxxxxps.com [mailto:amibroker@xxxxxxxxxps.com] On Behalf Of Don Lindberg
Sent: Friday, December 28, 2007 9:51 PM
To: amibroker@xxxxxxxxxps.com
Subject: RE: [amibroker] Charting ATC sectors

Allan,

I use the code below to create Sector and Industry composites from Quotes Plus.  When you run as SCAN, all of the composites will be created in Group 254.

Donald F Lindberg

--------------------------------- Begin Code ----------------------------------

_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();

-------------------- End Code ---------------------


From: amibroker@xxxxxxxxxps.com [mailto:amibroker@yahoogroups.com] On Behalf Of matrix10014
Sent: Friday, December 28, 2007 3:05 PM
To: amibroker@xxxxxxxxxps.com
Subject: [amibroker] Charting ATC sectors

Hi all,

Looking for a bit of help.I am attempting to use ATC so I can chart the
Industry and Sub Industries form Quotes Plus.I know I have to use
ATC,but I am clearly doing something wrong as I am creating watchlists
that are blank..Tomaz instructed me to read pg 15 in the ATC manual
which is what I did and it isnt working..Isnt there a simple way of
running ATC and having the 10 sectors and 150 subsectors created so you
can chart them and see volume?

Thanks

Allan


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.17.11/1201 - Release Date: 12/28/2007 11:51 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

__,_._,___