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

Re: [amibroker] Creating IM200 indices - JAYSON



PureBytes Links

Trading Reference Links




Jayson,
 
IŽm brandnew to Addtocomposite 
function.
 
IŽve now read the tutorial a few times and tried to 
run your code in scan mode.
 
Amibroker returns an error in the last line - why 
is that.
 
Plus, which field of the addtocomposite function is 
your variable sym addressed?
 
 
Markus
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=jcasavant@xxxxxxxxxxxx 
  href="">Jayson 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Monday, April 21, 2003 5:54 
AM
  Subject: RE: [amibroker] Creating IM200 
  indices
  
  <SPAN 
  class=139353403-21042003>Markus,
  <SPAN 
  class=139353403-21042003> 
  <SPAN 
  class=139353403-21042003>Yup...... Addtocomposite. ........<FONT 
  color=#0000ff><FONT 
  color=#282828> 
  <FONT 
  color=#0000ff><FONT 
  color=#282828 size=2> 
  sym="~"+<FONT 
  size=2>SectorID(1<FONT 
  size=2>);// this does sectors for industry groups use 
  industryid(0)<FONT 
  face=Arial>
  AddToComposite(<FONT 
  color=#000000>C,sym ,<FONT 
  color=#ff00ff>"C"); <FONT 
  color=#282828>
  AddToComposite(<FONT 
  color=#000000>V<FONT 
  face=Arial>/1000,sym,"V");<SPAN 
  class=139353403-21042003>//if you want vol<FONT 
  face=Arial>
  AddToComposite(1,sym,"O"); <SPAN 
  class=139353403-21042003>://counts the number of 
  stocks in each group
  <SPAN 
class=139353403-21042003> 
  when you plot the data 
  you may wish to smooth the data by dividing c/o. This has the effect of 
  minimizing the damage any data holes may cause in your calculations. the first 
  line creates a separate composite for each group, stores the closing price to 
  "C" , the Volume to "V" and counts the group in "O".  Scan your universes 
  in AA with n last days n=1. 
   Jayson 
  <FONT face=Tahoma 
  size=2>-----Original Message-----From: funnybiz@xxxxxx 
  [mailto:funnybiz@xxxxxx]Sent: Sunday, April 20, 2003 6:05 
  PMTo: Amibroker (Yahoo-Forum)Subject: [amibroker] 
  Creating IM200 indices
  Hello,
   
  one of HGS/QP2 weaknesses lies in the fact that 
  the IM200 indices are only updated once weekly.
   
  Thus, IŽve always wanted to create those 200 
  indices within AB to be able to track group performance on a DAILY 
  basis.
   
  Has anyone an idea how to do it? IŽd like to have 
  the ability to exclude certain stocks of my choice by aid of a 
  filter.
   
  Many thanks for any kinda input!
   
  Cheers
   
  MarkusSend BUG REPORTS 
  to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 
  Send 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT









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.