PureBytes Links
Trading Reference Links
|
Jayson
-----Original Message-----
From: Tomasz Janeczko [mailto:amibroker@x...]
Sent: Tuesday, October 22, 2002 3:52 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] composites still crashing
Hello,
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 without
problem.
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
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.
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_0225_01C27A28.A98FA880
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 content=3D"text/html; charset=3Dwindows-1250" http-equiv=3DContent-Ty=
pe>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D580360804-23102002>Tomasz,</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D580360804-23102002>FYI..... after running my composite code tonight=
with=20
the default settings as suggested I still see the gaps. It appears to have=
=20
something to do with adding NEW data to existing composites.</SPAN></FONT><=
/DIV>
<DIV> </DIV>
<P><FONT color=3D#0000ff face=3D"Palace Script MT" size=3D6><STRONG>Jayson=
=20
</STRONG></FONT></P>
<DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT face=3DTahom=
a=20
size=3D2>-----Original Message-----<BR><B>From:</B> Tomasz Janeczko=20
[mailto:amibroker@x...]<BR><B>Sent:</B> Tuesday, October 22, 2002 3:52=20
PM<BR><B>To:</B> amibroker@xxxxxxxxxxxxxxx<BR><B>Subject:</B> Re: [amibroke=
r]=20
composites still crashing<BR><BR></FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>Hello,</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I have been trying different codes also those sent by E=
d and=20
still can not</FONT></DIV>
<DIV><FONT size=3D2>reproduce your problems with 4.20.3</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>I have been scanning entire QP2 datab=
ase with=20
the code that Ed used without problem.</FONT></DIV>
<DIV><FONT size=3D2>Anyway - I am looking into this constantly.</FONT></DIV=
>
<DIV><BR>Best regards,<BR>Tomasz Janeczko<BR>amibroker.com</DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0p=
x; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>Fro=
m:</B>=20
<A href=3D"mailto:jcasavant@xxxx"=20
title=3Djcasavant@xxxx>Jayson</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:amibroker@xxxxxxxxxxxxxxx"=20
title=3Damibroker@xxxxxxxxxxxxxxx>1ami</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, October 22, 2002 9:=
13=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [amibroker] composites st=
ill=20
crashing</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D908225806-22102002>Tomasz,=
=20
all;</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D908225806-22102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D908225806-22102002>I had n=
oted the=20
readme in the new final version of the V4.20.3 where mention was made of=
=20
correction in the composite calculating problem I had been=20
experiencing.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D908225806-22102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D908225806-22102002>After t=
onight's=20
scan I again see......</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D908225806-22102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D908225806-22102002><IMG=20
align=3Dbaseline alt=3D"" border=3D0 hspace=3D0=20
src=3D"cid:580360804@xxxx"></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D908225806-22102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D908225806-22102002>on the =
update to=20
the existing composite. the composite code is........</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D908225806-22102002></SPAN></FONT> </DIV>
<DIV><SPAN class=3D908225806-22102002><FONT color=3D#282828><FONT=20
color=3D#000000> </DIV><FONT face=3DArial><FONT size=3D2>
<DIV>Buy</FONT><FONT color=3D#282828>=3D</FONT><FONT color=3D#ff00ff>1</F=
ONT><FONT=20
color=3D#282828></FONT></FONT><FONT face=3DArial size=3D2>;</FONT></DIV><=
FONT=20
size=3D2><FONT face=3DArial><FONT color=3D#000000>
<DIV>newhigh=3D</FONT><B>C</B></FONT></FONT><FONT face=3DArial><FONT=20
color=3D#000000>>Ref(HHV(<B>C</B></FONT></FONT><FONT color=3D#000000><=
FONT=20
face=3DArial>,25),-1); <FONT color=3D#008000></FONT></FONT><FONT color=3D=
#000000=20
face=3DArial>//stocks <SPAN class=3D908225806-22102002>closing at</S=
PAN> new=20
high</FONT></FONT></DIV>
<DIV></FONT><FONT color=3D#282828> </DIV><FONT size=3D2><FONT=20
face=3DArial><FONT color=3D#000000>
<DIV>newlow=3D</FONT><B>C</B></FONT></FONT><FONT face=3DArial><FONT=20
color=3D#000000><Ref(LLV(<B>C</B></FONT></FONT><FONT color=3D#000000><=
FONT=20
face=3DArial>,25),-1); <FONT color=3D#008000></FONT></FONT><FONT color=3D=
#000000=20
face=3DArial>//Stocks <SPAN class=3D908225806-22102002>closing at</S=
PAN> new=20
low</FONT></FONT></DIV>
<DIV></FONT><FONT color=3D#282828> </DIV><FONT color=3D#000000><FONT=
=20
face=3DArial><FONT size=3D2>
<DIV>x=3D</FONT>SectorID(0<FONT color=3D#282828></FONT></FONT></FONT><FON=
T=20
color=3D#000000 face=3DArial size=3D2>);</FONT></DIV>
<DIV></FONT><FONT color=3D#0000ff> </DIV><FONT size=3D2><FONT=20
face=3DArial><FONT color=3D#000000>
<DIV>AddToComposite</FONT>(IIf(x=3D=3D1,<B>C</B></FONT></FONT><FONT=20
color=3D#000000><FONT face=3DArial>,0),"~Capital Goods" ,"c",flags=3D1<FO=
NT=20
color=3D#282828></FONT></FONT><FONT color=3D#000000 face=3DArial>);=20
</FONT></FONT></DIV>
<DIV></FONT><FONT color=3D#0000ff> </DIV><FONT size=3D2><FONT=20
face=3DArial><FONT color=3D#000000>
<DIV>AddToComposite</FONT>(IIf(x=3D=3D1,<B>V</B></FONT></FONT><FONT=20
color=3D#000000><FONT face=3DArial>,0),"~Capital Goods" ,"v",flags=3D1<FO=
NT=20
color=3D#282828></FONT></FONT><FONT color=3D#000000 face=3DArial>);=20
</FONT></FONT></DIV>
<DIV></FONT><FONT color=3D#0000ff> </DIV><FONT color=3D#000000><FONT=
=20
face=3DArial><FONT size=3D2>
<DIV>AddToComposite</FONT>(IIf(x=3D=3D1,1,0),"~Capital Goods" ,"O",flags=
=3D1<FONT=20
color=3D#282828></FONT></FONT></FONT><FONT color=3D#000000 face=3DArial s=
ize=3D2>);=20
</FONT></DIV>
<DIV></FONT><FONT color=3D#0000ff> </DIV><FONT size=3D2><FONT=20
face=3DArial><FONT color=3D#000000>
<DIV>AddToComposite</FONT>(IIf(x=3D=3D1 <B>AND</B></FONT></FONT><FONT=20
color=3D#000000><FONT face=3DArial> newhigh,1,0),"~Capital Goods","H",fla=
gs=3D1<FONT=20
color=3D#282828></FONT></FONT><FONT color=3D#000000=20
face=3DArial>);</FONT></FONT></DIV>
<DIV></FONT><FONT color=3D#0000ff> </DIV><FONT size=3D2><FONT=20
face=3DArial><FONT color=3D#000000>
<DIV>AddToComposite</FONT>(IIf(x=3D=3D1 <B>AND</B></FONT></FONT><FONT=20
color=3D#000000><FONT face=3DArial> newlow,1,0),"~Capital Goods","L",flag=
s=3D1<FONT=20
color=3D#282828></FONT></FONT><FONT color=3D#000000=20
face=3DArial>);</FONT></FONT></DIV>
<DIV></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=3D908225806-22102002><FONT color=3D#282828><FONT size=3D=
2><FONT=20
face=3DArial><SPAN class=3D908225806-22102002><FONT color=3D#0000ff>
<P>Plot</FONT><FONT color=3D#282828>(</FONT><B><FONT=20
color=3D#000000>C</B></FONT><FONT color=3D#282828>, </FONT><FONT=20
color=3D#ff00ff>"Index"</FONT><FONT color=3D#282828>,</FONT><B><FONT=20
color=3D#000000>colorBlue</B></FONT><FONT color=3D#282828>,</FONT><FONT=20
color=3D#ff00ff>4</FONT> );</FONT></FONT></P>
<P><FONT face=3DArial size=3D2><SPAN class=3D908225806-22102002>If I dele=
te the=20
composites and re-scan all is well but of course I loose any notes, trend=
=20
lines etc. </SPAN></FONT></P>
<P><FONT face=3DArial size=3D2><SPAN class=3D908225806-22102002>aby insig=
hts,=20
solutions, etc would be greatly=20
appreciated</SPAN></FONT></SPAN></FONT></SPAN></P></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D908225806-22102002></SPAN></FONT> </DIV>
<P><FONT color=3D#0000ff face=3D"Palace Script MT" size=3D6><STRONG>Jayso=
n=20
</STRONG></FONT></P>
<DIV> </DIV><BR><BR><TT>Post AmiQuote-related messages ONLY to:=20
amiquote@xxxxxxxxxxxxxxx <BR>(Web page: <A=20
href=3D"http://groups.yahoo.com/group/amiquote/messages/)">http://groups.=
yahoo.com/group/amiquote/messages/)</A><BR><BR>Check=20
group FAQ at: <A=20
href=3D"http://groups.yahoo.com/group/amibroker/files/groupfaq.html">http=
://groups.yahoo.com/group/amibroker/files/groupfaq.html</A></TT>=20
<BR><BR><TT>Your use of Yahoo! Groups is subject to the <A=20
href=3D"http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</A>.</=
TT>=20
<BR></BLOCKQUOTE><BR><BR><TT>Post=20
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx <BR>(Web page: =
<A=20
href=3D"http://groups.yahoo.com/group/amiquote/messages/)">http://groups.ya=
hoo.com/group/amiquote/messages/)</A><BR><BR>Check=20
group FAQ at: <A=20
href=3D"http://groups.yahoo.com/group/amibroker/files/groupfaq.html">http:/=
/groups.yahoo.com/group/amibroker/files/groupfaq.html</A></TT>=20
<BR><BR><TT>Your use of Yahoo! Groups is subject to the <A=20
href=3D"http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</A>.</TT=
>=20
<BR></BODY></HTML>
------=_NextPart_001_0225_01C27A28.A98FA880--
Attachment:
Description: ""
|