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

RE: [amibroker] composites still crashing



PureBytes Links

Trading Reference Links

Jayson

-----Original Message-----
From: E Winters [mailto:e.winters@x...]
Sent: Tuesday, October 22, 2002 11:05 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] composites still crashing


Jayson,
I also have the problem. I counted 9 dynamic composites as having charts
which did not have gaps, the remaining charts had the gaps you are showing.
The 9 composites were at the beginning of the alphabet.
Regards,
Ed
----- Original Message -----
From: Jayson
To: 1ami
Sent: Tuesday, October 22, 2002 3: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_01E9_01C279D8.C1F06810
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 content=3D"text/html; charset=3Diso-8859-1" http-equiv=3DContent-Type=
>
<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=3D519173718-22102002>Ed,</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN class=3D519173718-22=
102002>it has=20
been suggested that the flags=3D1 code is incorrect. I have changed it to s=
imply=20
1. Hopefully that will solve the problem after tonight's scan.... TWT (time=
will=20
tell)</SPAN></FONT></DIV>
<DIV>&nbsp;</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> E Winters=20
[mailto:e.winters@x...]<BR><B>Sent:</B> Tuesday, October 22, 20=
02=20
11:05 AM<BR><B>To:</B> amibroker@xxxxxxxxxxxxxxx<BR><B>Subject:</B> Re:=20
[amibroker] composites still crashing<BR><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Jayson,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I also have the problem.&nbsp; I counted 9=
dynamic=20
composites as having charts which did not have gaps, the remaining charts h=
ad=20
the gaps you are showing.&nbsp; The 9 composites were at the beginning of t=
he=20
alphabet.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ed</FONT></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 3:=
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>&nbsp;</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>&nbsp;</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>&nbsp;</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:519173718@xxxx";></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D908225806-22102002></SPAN></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><SPAN class=3D908225806-22102002><FONT color=3D#282828><FONT=20
color=3D#000000>&nbsp;</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>&gt;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&nbsp;<SPAN class=3D908225806-22102002>closing at</S=
PAN> new=20
high</FONT></FONT></DIV>
<DIV></FONT><FONT color=3D#282828>&nbsp;</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>&lt;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&nbsp;<SPAN class=3D908225806-22102002>closing at</S=
PAN> new=20
low</FONT></FONT></DIV>
<DIV></FONT><FONT color=3D#282828>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<P><FONT color=3D#0000ff face=3D"Palace Script MT" size=3D6><STRONG>Jayso=
n=20
</STRONG></FONT></P>
<DIV>&nbsp;</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_01E9_01C279D8.C1F06810--

Attachment: Description: ""