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

Re: [amibroker] composite crashing



PureBytes Links

Trading Reference Links

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;
----- Original Message ----- 
From: Jayson 
To: 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 theneed 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.......

TIA
Jayson 



Yahoo! Groups Sponsor 
ADVERTISEMENT
             
       
       

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. 

------=_NextPart_001_01FE_01C27619.F796CB70
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4919.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Jayson.</FONT></DIV>
<DIV><FONT face=Arial size=2>I am also getting strange results using AB4.20Beta 
RT.&nbsp; The two steps on the attached charts are the two times I updated the 
composites.&nbsp; Looks like it is not being reset even though the flag is set = 
1.&nbsp; Also tried Flags=3 with the same result.&nbsp; The code I used is from 
TJ and is included below.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>symI="~" + 
IndustryID(1);<BR>AddToComposite(O,symI,"O",flags=1);<BR>AddToComposite(H,symI,"H",flags=1);<BR>AddToComposite(L,symI,"L",flags=1);<BR>AddToComposite(C,symI,"C",flags=1);<BR>AddToComposite(V,symI,"V",flags=1);</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>symM="~" + 
MarketID(1);<BR>AddToComposite(O,symM,"O",flags=1);<BR>AddToComposite(H,symM,"H",flags=1);<BR>AddToComposite(L,symM,"L",flags=1);<BR>AddToComposite(C,symM,"C",flags=1);<BR>AddToComposite(V,symM,"V",flags=1);</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>symS="~" + 
SectorID(1);<BR>AddToComposite(O,symS,"O",flags=1);<BR>AddToComposite(H,symS,"H",flags=1);<BR>AddToComposite(L,symS,"L",flags=1);<BR>AddToComposite(C,symS,"C",flags=1);<BR>AddToComposite(V,symS,"V",flags=1);</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Buy=0;</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV 
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
<A title=jcasavant@xxxx 
href="mailto:jcasavant@xxxx";>Jayson</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=amibroker@xxxxxxxxxx 
href="mailto:amibroker@xxxxxxxxxxxxxxx";>1ami</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, October 17, 2002 12:55 
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [amibroker] composite 
crashing</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2><SPAN class=397085016-17102002>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></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=397085016-17102002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=397085016-17102002>TIA</SPAN></FONT></DIV>
<P><FONT face="Palace Script MT" color=#0000ff size=6><STRONG>Jayson 
</STRONG></FONT></P>
<DIV>&nbsp;</DIV><BR><BR><TT>Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx <BR>(Web page: <A 
href="http://groups.yahoo.com/group/amiquote/messages/)">http://groups.yahoo.com/group/amiquote/messages/)</A><BR><BR>Check 
group FAQ at: <A 
href="http://groups.yahoo.com/group/amibroker/files/groupfaq.html";>http://groups.yahoo.com/group/amibroker/files/groupfaq.html</A></TT> 
<BR><BR><TT>Your use of Yahoo! Groups is subject to the <A 
href="http://docs.yahoo.com/info/terms/";>Yahoo! Terms of Service</A>.</TT> 
<BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_001_01FE_01C27619.F796CB70--

Attachment:
gif00488.gif

Attachment: Description: "Description: GIF image"