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
---------------------
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
__._,_.___
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
__,_._,___
|