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

Re: [amibroker] composite



PureBytes Links

Trading Reference Links


Hello,
 
Forgot to mention that I am working on fixing 
this.
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Tomasz Janeczko 

To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Friday, October 18, 2002 11:48 
AM
Subject: Re: [amibroker] composite

Hello,
 
Composites are reset on the very first 
symbol scanned.
So if you use "DYNAMIC" symbol for composite only 3 
composite values
will be reset- those that represent the value of syml, symm 
and symS
at the very first symbol included in the scan.
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE dir=ltr 
>
----- Original Message ----- 
<DIV 
>From: 
<A title=e.winters@xxxx 
href="">E Winters 
To: <A title=amibroker@xxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx; <A 
title=bugs@xxxx 
href="">bugs@xxxx 
Sent: Friday, October 18, 2002 2:15 
AM
Subject: Re: [amibroker] composite 
crashing

Jayson.
I am also getting strange results using AB 
4.20Beta RT.  The two steps on the attached charts are the two times I 
updated the composites.  Looks like it is not being reset even though 
the flag is set = 1.  Also tried Flags=3 with the same result.  
The code I used is from TJ and is included below.
 
symI="~" + 
IndustryID(1);AddToComposite(O,symI,"O",flags=1);AddToComposite(H,symI,"H",flags=1);AddToComposite(L,symI,"L",flags=1);AddToComposite(C,symI,"C",flags=1);AddToComposite(V,symI,"V",flags=1);
 
symM="~" + 
MarketID(1);AddToComposite(O,symM,"O",flags=1);AddToComposite(H,symM,"H",flags=1);AddToComposite(L,symM,"L",flags=1);AddToComposite(C,symM,"C",flags=1);AddToComposite(V,symM,"V",flags=1);
 
symS="~" + 
SectorID(1);AddToComposite(O,symS,"O",flags=1);AddToComposite(H,symS,"H",flags=1);AddToComposite(L,symS,"L",flags=1);AddToComposite(C,symS,"C",flags=1);AddToComposite(V,symS,"V",flags=1);
 
Buy=0;
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
<A title=jcasavant@xxxx 
href="">Jayson 
To: <A 
title=amibroker@xxxxxxxxxxxxxxx 
href="">1ami 
Sent: Thursday, October 17, 2002 
12:55 PM
Subject: [amibroker] composite 
crashing

I know many of 
you use composites on a routine basis. Are you finding the need to delete 
your composites prior to a new scan? Using the code I posted yesterday I 
will need to delete almost every one of the 12 sectors I track almost 
every night. If any one has a work around I would surely appreciate the 
input. I feel confident the code is correct as everything seems to work 
fine once I delete and rescan. the problem is that the last bar returns 
untrue values prior to deletion of the index.......
<SPAN 
class=397085016-17102002> 
<SPAN 
class=397085016-17102002>TIA
Jayson 

 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. 
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.