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

Re: [amibroker] Creating IM200 indices - JAYSON



PureBytes Links

Trading Reference Links







Markus,
 
Not sure I understand all the questions..... 
-------Original Message-------
 

From: amibroker@xxxxxxxxxxxxxxx
Date: Wednesday, April 23, 2003 17:25:55
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Creating IM200 indices - JAYSON
 
Anthony,thanks for stepping in here.If I may:1./ does Jayson´s SYM variable refer to the array part of the addtocompositefunction. If so, why is it not put in parenthesis (though this results in anerror).I believe the SYM variable deals with dynamically naming  the sectors while running the AddToComposite...
2./ sym="~"+SectorID(1);// this does sectors for industry groups useindustryid(0)I don´t understand Jayson´s remark here: WHICH stocks does that include? Iwant to include all stocks belonging to the same of the 200 industry groups.
 
I believe that if you want to create composites for all the industry groups....which will include all the stocks in each industry group you could use the following....when the scan is completed you will have all the industries represented in group 253 :
 

//Industry composite
sym = "~" + IndustryID(1);
AddToComposite( L, sym,"L",1+2+8+16);
AddToComposite( O, sym,"O",1+2+8+16 );
AddToComposite( H, sym,"H",1+2+8+16 );
AddToComposite( C, sym,"C",1+2+8+16 );
AddToComposite( V, sym, "V",1+2+8+16);
3./ if I wanted to create an index for all the 200 used industry groups(Quotes Plus Two), would I have to write this code 200 times??
Same as # 2 above.4./ would I have to run the scan EVEREY day to bring my Addtocomposites upto date?
YES.5./ I added "flag=16" which gave me an error. How do I have to specify if Iwant to use addtocomposite in exploration mode?
 
Flags are added above....
 
Let me see your addtocomposite in order to see the error.
Many thanks for your help!Markus----- Original Message -----From: "Anthony Faragasso" <ajf1111@xxxxxxxx>To: <amibroker@xxxxxxxxxxxxxxx>Sent: Wednesday, April 23, 2003 8:37 PMSubject: Re: [amibroker] Creating IM200 indices - JAYSON> Also...do not forget to add this dummy line...which is needed forscanning.>> Buy=0;>>>> Send BUG REPORTS to bugs@xxxxxxxxxxxxx> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx> -----------------------------------------> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx> (Web page: http://groups.yahoo.com/group/amiquote/messages/)> --------------------------------------------> Check group FAQ at:http://groups.yahoo.com/group/amibroker/files/groupfaq.html>> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/>>Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to suggest@xxxxxxxxxxxxx-----------------------------------------Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
 







____________________________________________________  IncrediMail - Email has finally evolved - Click Here






Yahoo! Groups Sponsor












Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Attachment: Description: ""