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

Peak function(again)



PureBytes Links

Trading Reference Links

I produced the buy arrows running the exploration
chg = 5;
Dno1 = Trough(C, chg, 1); 
Dno2 = Trough(C, chg, 2); 
Filter=1;NumColumns=1;Column0=C;
Buy = Dno1 > Dno2 AND 
C >= Dno1 + (chg/100 * Dno1) AND
Ref(C, -1) <= Dno1 + (chg/100 * Dno1);
which is , I think , your formula.
See the resulting gif
Dimitris Tsokakis

------=_NextPart_001_0010_01C1502C.EA74F0C0
Content-Type: text/html;
charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-7" http-equiv=Content-Type>
<META content="MSHTML 5.00.3013.2600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Witold,</FONT></DIV>
<DIV><FONT face=Arial size=2>a] Your system just confirms&nbsp;some days later 
that a trough was a trough.</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;There is no difference in 
the two procedures.</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Whithout the additions we 
suddenly discover that a trough occurred 3 </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; days ago, with the additions we 
confirm 3 days later that a trough occurred</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; 3 days ago.</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; The confirmation day is the 
same</FONT></DIV>
<DIV><FONT face=Arial size=2>b] We try to catch a trough to open a long 
position. Your choice is a trend</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; follower. You ignore trough at 
A, you begin buying at B and the worse is that</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; you also buy at C. The question 
is when do you sell. I think that point C is </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;a bit wrong to open a long 
trade.</FONT></DIV>
<DIV><FONT size=2><FONT face=Arial>&nbsp;</DIV>
<DIV>I produced the buy arrows running the exploration</DIV>
<DIV>chg = </FONT><FONT size=2>5</FONT><FONT size=2></FONT><FONT 
face=Arial>;</FONT></DIV><FONT face=Arial>
<DIV>Dno1 = </FONT><FONT size=2>Trough</FONT></FONT><FONT face=Arial><FONT 
size=2>(C, chg, </FONT><FONT size=2>1</FONT><FONT size=2></FONT><FONT 
face=Arial>); </FONT></DIV><FONT face=Arial>
<DIV>Dno2 = </FONT><FONT size=2>Trough</FONT></FONT><FONT face=Arial><FONT 
size=2>(C, chg, </FONT><FONT size=2>2</FONT><FONT size=2></FONT><FONT 
face=Arial>); </FONT></DIV><FONT face=Arial>
<DIV>Filter=</FONT><FONT size=2>1</FONT><FONT size=2>;NumColumns=</FONT><FONT 
size=2>1</FONT><FONT size=2></FONT><FONT 
face=Arial>;Column0=C;</FONT></DIV><FONT face=Arial>
<DIV>Buy = Dno1 &gt; Dno2 AND </FONT></DIV><FONT face=Arial>
<DIV>C &gt;= Dno1 + (chg/</FONT><FONT size=2>100</FONT><FONT size=2> * Dno1) 
AND</FONT></FONT><FONT face=Arial><FONT size=2></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial>Ref(C, -1) &lt;= Dno1 + (chg/100</FONT><FONT 
face=Arial> * Dno1);</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>which is ,&nbsp;I think , your 
formula.</FONT></DIV>
<DIV><FONT face=Arial size=2>See the resulting gif</FONT></DIV>
<DIV><FONT face=Arial size=2>Dimitris Tsokakis</FONT></DIV></BODY></HTML>

------=_NextPart_001_0010_01C1502C.EA74F0C0--

Attachment:
gif00211.gif

Attachment: Description: "Description: GIF image"