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

Missing Arrow?



PureBytes Links

Trading Reference Links

Following along with Steve Karnish's post:

http://groups.yahoo.com/group/amibroker/message/21537

My formula is not displaying the cover arrow for 7/24/2002 that should
be showing based on my back test results: the last sort showing on gif1.


Gif2 shows the arrows.

Can someone tell me what I'm doing wrong?

I'm using 4.07.1 beta and TC2000 as data provider.

This is the formula I'm using:

/*StochRSI on the QQQ's with MA

Courtesy: Steve Karnish

Settings: Buy/Sell/Short/Cover = Next Day Open

Long and Short

Commissions = 0

Stops and Targets = disabled

*/

StochRsi=EMA((RSI(8)-LLV(RSI(8),8))/(HHV(RSI(8),8)-LLV(RSI(8),8)),3)*100
; 

tmpMA = 21; 


Buy=Cross(17,StochRsi)AND Ref(MA(C,tmpMA),-1) < MA(C,tmpMA);

Sell=Cross(StochRsi,83);

Short=Cross(StochRsi,83) AND Ref(MA(C,tmpMA),-1) > MA(C,tmpMA); 

Cover=Cross(17,StochRsi);



Thanks!

dingo


------=_NextPart_001_0002_01C233CC.BD25EF00
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"=
>
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial size=3D2>I need so=
me help=20
please!</FONT></SPAN></DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial size=3D2>Following=
along with=20
Steve Karnish's post:</FONT></SPAN></DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial size=3D2><A=20
href=3D"http://groups.yahoo.com/group/amibroker/message/21537";>http://group=
s.yahoo.com/group/amibroker/message/21537</A></FONT></SPAN></DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial size=3D2>My formul=
a is not=20
displaying the cover arrow for 7/24/2002&nbsp;that should be showing based =
on my=20
back test results: the last sort showing on gif1. </FONT></SPAN></DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial size=3D2>Gif2 show=
s the=20
arrows.</FONT></SPAN></DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial size=3D2>Can someo=
ne tell me=20
what I'm doing wrong?</FONT></SPAN></DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial size=3D2>I'm using=
4.07.1=20
beta and TC2000 as data provider.</FONT></SPAN></DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial size=3D2>This is t=
he formula=20
I'm using:</FONT></SPAN></DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D722460415-25072002><FONT face=3DArial size=3D2><FONT col=
or=3D#008000=20
size=3D1>
<P><FONT face=3D"Courier New" size=3D2>/*StochRSI on the QQQ's with MA</FON=
T></P>
<P><FONT face=3D"Courier New" size=3D2>Courtesy: Steve Karnish</FONT></P>
<P><FONT face=3D"Courier New" size=3D2>Settings: Buy/Sell/Short/Cover =3D N=
ext Day=20
Open</FONT></P>
<P><FONT face=3D"Courier New" size=3D2>Long and Short</FONT></P>
<P><FONT face=3D"Courier New" size=3D2>Commissions =3D 0</FONT></P>
<P><FONT face=3D"Courier New" size=3D2>Stops and Targets =3D disabled</FONT=
></P>
<P><FONT face=3D"Courier New" size=3D2>*/</FONT></P></FONT>
<P><FONT face=3D"Courier New">StochRsi=3D</FONT><FONT face=3D"Courier New">=
<FONT=20
color=3D#0000ff>EMA</FONT>((<FONT color=3D#0000ff>RSI</FONT>(<FONT=20
color=3D#ff00ff>8</FONT>)-<FONT color=3D#0000ff>LLV</FONT>(<FONT=20
color=3D#0000ff>RSI</FONT>(<FONT color=3D#ff00ff>8</FONT>),<FONT=20
color=3D#ff00ff>8</FONT>))/(<FONT color=3D#0000ff>HHV</FONT>(<FONT=20
color=3D#0000ff>RSI</FONT>(<FONT color=3D#ff00ff>8</FONT>),<FONT=20
color=3D#ff00ff>8</FONT>)-<FONT color=3D#0000ff>LLV</FONT>(<FONT=20
color=3D#0000ff>RSI</FONT>(<FONT color=3D#ff00ff>8</FONT>),<FONT=20
color=3D#ff00ff>8</FONT>)),<FONT color=3D#ff00ff>3</FONT>)*<FONT=20
color=3D#ff00ff>100</FONT></FONT><FONT face=3D"Courier New">; </FONT></P>
<P><FONT face=3D"Courier New">tmpMA =3D </FONT><FONT face=3D"Courier New"><=
FONT=20
color=3D#ff00ff>21</FONT>;</FONT>
<P><FONT face=3D"Courier New"></FONT></P><B><FONT=20
face=3D"Courier New">Buy</FONT></B><FONT face=3D"Courier New">=3D</FONT><FO=
NT=20
face=3D"Courier New"><FONT color=3D#0000ff>Cross</FONT>(<FONT=20
color=3D#ff00ff>17</FONT>,StochRsi)<B>AND</B> <FONT color=3D#0000ff>Ref</FO=
NT>(<FONT=20
color=3D#0000ff>MA</FONT>(<B>C</B>,tmpMA),-<FONT color=3D#ff00ff>1</FONT>) =
&lt;=20
<FONT color=3D#0000ff>MA</FONT></FONT><FONT=20
face=3D"Courier New">(<B>C</B>,tmpMA);</FONT></P><B>
<P><FONT face=3D"Courier New">Sell</FONT></B><FONT=20
face=3D"Courier New">=3D</FONT><FONT face=3D"Courier New"><FONT=20
color=3D#0000ff>Cross</FONT>(StochRsi,<FONT color=3D#ff00ff>83</FONT></FONT=
><FONT=20
face=3D"Courier New">);</FONT></P><B>
<P><FONT face=3D"Courier New">Short</FONT></B><FONT=20
face=3D"Courier New">=3D</FONT><FONT face=3D"Courier New"><FONT=20
color=3D#0000ff>Cross</FONT>(StochRsi,<FONT color=3D#ff00ff>83</FONT>) <B>A=
ND</B>=20
</FONT><FONT face=3D"Courier New"><FONT color=3D#0000ff>Ref</FONT>(<FONT=20
color=3D#0000ff>MA</FONT>(<B>C</B>,tmpMA),-<FONT color=3D#ff00ff>1</FONT>) =
&gt;=20
<FONT color=3D#0000ff>MA</FONT></FONT><FONT face=3D"Courier New">(<B>C</B>,=
tmpMA);=20
</FONT></P><B>
<P><FONT face=3D"Courier New">Cover</FONT></B><FONT=20
face=3D"Courier New">=3D</FONT><FONT face=3D"Courier New"><FONT=20
color=3D#0000ff>Cross</FONT>(<FONT color=3D#ff00ff>17</FONT>,StochRsi);</FO=
NT></P>
<P><FONT face=3D"Courier New"></FONT>&nbsp;</P>
<P><FONT face=3D"Courier New"><SPAN class=3D722460415-25072002><FONT=20
face=3DArial>Thanks!</FONT></SPAN></FONT></P>
<P><FONT face=3D"Courier New"><SPAN class=3D722460415-25072002><FONT=20
face=3DArial>dingo</FONT></SPAN></P></FONT></FONT></SPAN></DIV></BODY></HTM=
L>

------=_NextPart_001_0002_01C233CC.BD25EF00--

Attachment:
gif00428.gif
Description: GIF image
Attachment:

Attachment: Description: "Description: GIF image"

Attachment: Description: "gif00429.gif"