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

Re: [amibroker] composites still crashing



PureBytes Links

Trading Reference Links

I have been trying different codes also those sent by Ed and still can not
reproduce your problems with 4.20.3
I have been scanning entire QP2 database with the code that Ed used withoutproblem.
Anyway - I am looking into this constantly.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: Jayson 
To: 1ami 
Sent: Tuesday, October 22, 2002 9:13 AM
Subject: [amibroker] composites still crashing


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_2493_01C27A15.3751BA00
Content-Type: text/html;
charset="windows-1250"
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=windows-1250">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Arial CE" size=2>Hello,</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>I have been trying different codes also those sent by Ed and 
still can not</FONT></DIV>
<DIV><FONT size=2>reproduce your problems with 4.20.3</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>I have been scanning entire QP2 database with 
the code that Ed used without problem.</FONT></DIV>
<DIV><FONT size=2>Anyway - I am looking into this constantly.</FONT></DIV>
<DIV><BR>Best regards,<BR>Tomasz Janeczko<BR>amibroker.com</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 9: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:249101c27a04$73c148e0$0100a8c0@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_2493_01C27A15.3751BA00--

Attachment: Description: ""