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

composites still crashing



PureBytes Links

Trading Reference Links

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



------=_NextPart_001_0196_01C27978.F79C5790
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></HEAD>
<BODY>
<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 not=
ed 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 ton=
ight's scan=20
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 alig=
n=3Dbaseline=20
alt=3D"" border=3D0 hspace=3D0 src=3D"cid:908225806@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 up=
date to the=20
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</FON=
T><FONT=20
color=3D#282828></FONT></FONT><FONT face=3DArial size=3D2>;</FONT></DIV><FO=
NT=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><FO=
NT=20
face=3DArial>,25),-1); <FONT color=3D#008000></FONT></FONT><FONT color=3D#0=
00000=20
face=3DArial>//stocks&nbsp;<SPAN class=3D908225806-22102002>closing at</SPA=
N> new=20
high</FONT></FONT></DIV>
<DIV></FONT><FONT color=3D#282828>&nbsp;</DIV><FONT size=3D2><FONT face=3DA=
rial><FONT=20
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><FO=
NT=20
face=3DArial>,25),-1); <FONT color=3D#008000></FONT></FONT><FONT color=3D#0=
00000=20
face=3DArial>//Stocks&nbsp;<SPAN class=3D908225806-22102002>closing at</SPA=
N> 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><FONT=
=20
color=3D#000000 face=3DArial size=3D2>);</FONT></DIV>
<DIV></FONT><FONT color=3D#0000ff>&nbsp;</DIV><FONT size=3D2><FONT face=3DA=
rial><FONT=20
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<FONT=
=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 face=3DA=
rial><FONT=20
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<FONT=
=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=3D=
1<FONT=20
color=3D#282828></FONT></FONT></FONT><FONT color=3D#000000 face=3DArial siz=
e=3D2>);=20
</FONT></DIV>
<DIV></FONT><FONT color=3D#0000ff>&nbsp;</DIV><FONT size=3D2><FONT face=3DA=
rial><FONT=20
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",flags=
=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 face=3DA=
rial><FONT=20
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",flags=
=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=3D2>=
<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 delete=
the=20
composites and re-scan all is well but of course I loose any notes, trend l=
ines=20
etc. </SPAN></FONT></P>
<P><FONT face=3DArial size=3D2><SPAN class=3D908225806-22102002>aby insight=
s,=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>Jayson=
=20
</STRONG></FONT></P>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_001_0196_01C27978.F79C5790--

Attachment: Description: ""