Mark,
Need to run each night. An ATC created symbol is not automatically updated.
 
Donald F Lindberg
 


  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of MarkK
Sent: Saturday, December 29, 2007 4:53 AM
To: [email protected]
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: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Don Lindberg
Sent: Friday, December 28, 2007 9:51 PM
To: [email protected]
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: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of matrix10014
Sent: Friday, December 28, 2007 3:05 PM
To: [email protected]
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





 

Reply via email to