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

Re: [amibroker] composites still crashing



PureBytes Links

Trading Reference Links

Tomasz, all;

I had noted the readme in the new final version of the V4.20.3 where mention was made of correction in the composite calculating problem I had been experiencing.

After tonight's scan I again see......



on the update to the existing composite. the composite code is........


Buy=1;
newhigh=C>Ref(HHV(C,25),-1); //stocks closing at new high

newlow=C<Ref(LLV(C,25),-1); //Stocks closing at new low

x=SectorID(0);

AddToComposite(IIf(x==1,C,0),"~Capital Goods" ,"c",flags=1); 

AddToComposite(IIf(x==1,V,0),"~Capital Goods" ,"v",flags=1); 

AddToComposite(IIf(x==1,1,0),"~Capital Goods" ,"O",flags=1); 

AddToComposite(IIf(x==1 AND newhigh,1,0),"~Capital Goods","H",flags=1);

AddToComposite(IIf(x==1 AND newlow,1,0),"~Capital Goods","L",flags=1);

Plot(C, "Index",colorBlue,4 );

If I delete the composites and re-scan all is well but of course I loose any notes, trend lines etc. 

aby insights, solutions, etc would be greatly appreciated


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_0063_01C279BA.ED1109F0
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 also have the problem.&nbsp; I counted 9dynamic 
composites as having charts which did not have gaps, the remaining charts had 
the gaps you are showing.&nbsp; The 9 composites were at the beginning of the 
alphabet.&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Ed</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> Tuesday, October 22, 2002 3:13 
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [amibroker] composites still 
crashing</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2><SPAN class=908225806-22102002>Tomasz, 
all;</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=908225806-22102002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=908225806-22102002>I had noted the 
readme in the new final version of the V4.20.3 where mention was made of 
correction in the composite calculating problem I had been 
experiencing.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=908225806-22102002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=908225806-22102002>After tonight's 
scan I again see......</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=908225806-22102002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=908225806-22102002><IMG alt="" 
hspace=0 src="cid:006101c279dc$72955330$6d00a8c0@xxxx"; align=baseline 
border=0></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=908225806-22102002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=908225806-22102002>on the update to 
the existing composite. the composite code is........</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=908225806-22102002></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=908225806-22102002><FONT color=#282828><FONT 
color=#000000>&nbsp;</DIV><FONT face=Arial><FONT size=2>
<DIV>Buy</FONT><FONT color=#282828>=</FONT><FONT color=#ff00ff>1</FONT><FONT 
color=#282828></FONT></FONT><FONT face=Arial size=2>;</FONT></DIV><FONT 
size=2><FONT face=Arial><FONT color=#000000>
<DIV>newhigh=</FONT><B>C</B></FONT></FONT><FONT face=Arial><FONT 
color=#000000>&gt;Ref(HHV(<B>C</B></FONT></FONT><FONT color=#000000><FONT 
face=Arial>,25),-1); <FONT color=#008000></FONT></FONT><FONT face=Arial 
color=#000000>//stocks&nbsp;<SPAN class=908225806-22102002>closing at</SPAN> 
new high</FONT></FONT></DIV>
<DIV></FONT><FONT color=#282828>&nbsp;</DIV><FONT size=2><FONT 
face=Arial><FONT color=#000000>
<DIV>newlow=</FONT><B>C</B></FONT></FONT><FONT face=Arial><FONT 
color=#000000>&lt;Ref(LLV(<B>C</B></FONT></FONT><FONT color=#000000><FONT 
face=Arial>,25),-1); <FONT color=#008000></FONT></FONT><FONT face=Arial 
color=#000000>//Stocks&nbsp;<SPAN class=908225806-22102002>closing at</SPAN> 
new low</FONT></FONT></DIV>
<DIV></FONT><FONT color=#282828>&nbsp;</DIV><FONT color=#000000><FONT 
face=Arial><FONT size=2>
<DIV>x=</FONT>SectorID(0<FONT color=#282828></FONT></FONT></FONT><FONT 
face=Arial color=#000000 size=2>);</FONT></DIV>
<DIV></FONT><FONT color=#0000ff>&nbsp;</DIV><FONT size=2><FONT 
face=Arial><FONT color=#000000>
<DIV>AddToComposite</FONT>(IIf(x==1,<B>C</B></FONT></FONT><FONT 
color=#000000><FONT face=Arial>,0),"~Capital Goods" ,"c",flags=1<FONT 
color=#282828></FONT></FONT><FONT face=Arial color=#000000>); 
</FONT></FONT></DIV>
<DIV></FONT><FONT color=#0000ff>&nbsp;</DIV><FONT size=2><FONT 
face=Arial><FONT color=#000000>
<DIV>AddToComposite</FONT>(IIf(x==1,<B>V</B></FONT></FONT><FONT 
color=#000000><FONT face=Arial>,0),"~Capital Goods" ,"v",flags=1<FONT 
color=#282828></FONT></FONT><FONT face=Arial color=#000000>); 
</FONT></FONT></DIV>
<DIV></FONT><FONT color=#0000ff>&nbsp;</DIV><FONT color=#000000><FONT 
face=Arial><FONT size=2>
<DIV>AddToComposite</FONT>(IIf(x==1,1,0),"~Capital Goods" ,"O",flags=1<FONT 
color=#282828></FONT></FONT></FONT><FONT face=Arial color=#000000 size=2>); 
</FONT></DIV>
<DIV></FONT><FONT color=#0000ff>&nbsp;</DIV><FONT size=2><FONT 
face=Arial><FONT color=#000000>
<DIV>AddToComposite</FONT>(IIf(x==1 <B>AND</B></FONT></FONT><FONT 
color=#000000><FONT face=Arial> newhigh,1,0),"~Capital Goods","H",flags=1<FONT 
color=#282828></FONT></FONT><FONT face=Arial 
color=#000000>);</FONT></FONT></DIV>
<DIV></FONT><FONT color=#0000ff>&nbsp;</DIV><FONT size=2><FONT 
face=Arial><FONT color=#000000>
<DIV>AddToComposite</FONT>(IIf(x==1 <B>AND</B></FONT></FONT><FONT 
color=#000000><FONT face=Arial> newlow,1,0),"~Capital Goods","L",flags=1<FONT 
color=#282828></FONT></FONT><FONT face=Arial 
color=#000000>);</FONT></FONT></DIV>
<DIV></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=908225806-22102002><FONT color=#282828><FONT size=2><FONT 
face=Arial><SPAN class=908225806-22102002><FONT color=#0000ff>
<P>Plot</FONT><FONT color=#282828>(</FONT><B><FONT 
color=#000000>C</B></FONT><FONT color=#282828>, </FONT><FONT 
color=#ff00ff>"Index"</FONT><FONT color=#282828>,</FONT><B><FONT 
color=#000000>colorBlue</B></FONT><FONT color=#282828>,</FONT><FONT 
color=#ff00ff>4</FONT> );</FONT></FONT></P>
<P><FONT face=Arial size=2><SPAN class=908225806-22102002>If I delete the 
composites and re-scan all is well but of course I loose any notes, trend 
lines etc. </SPAN></FONT></P>
<P><FONT face=Arial size=2><SPAN class=908225806-22102002>aby insights, 
solutions, etc would be greatly 
appreciated</SPAN></FONT></SPAN></FONT></SPAN></P></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=908225806-22102002></SPAN></FONT>&nbsp;</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_0063_01C279BA.ED1109F0--

Attachment: Description: ""