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

Bullish Harami, I



PureBytes Links

Trading Reference Links

2. The 
Buy=
ref(Close,-1) <= Ref(open,-1)*.99
And High <= Ref(open,-1)
And Low >= Ref(close,-1)
And Close> open and mly;

is i m p o s s i b l e to happen because:
>From " Low >= Ref(close,-1)", TODAY´S low 
is greater than yesterdays close, which, by fact, is greater than 
yesterdays low. This means that TODAY´S low is greater than
yesterdays low. This is in absolute contradiction with mly, which asks
TODAY´S low to be the lowest.

In bullish Harami at the end of a downtrend, the lowest low was yesterday,
which means : Ask from ref(mly,-1) to be true, NOT from mly.
When you write mly, you mean mly for TODAY.

It will help if you see in a graph, step by step, what are you doing.

The correct conditions are below.

MLY = low==llv(low,5);
Buy=
ref(Close,-1) <= Ref(open,-1)*.99
And High <= Ref(open,-1)
And Low >= Ref(close,-1)
And Close> open and ref(mly,-1);
graph2=buy;

Adding the last line and pasting to Ind. Builder, you will have a bar whenever 
you condition is true.
The bullish harami is at A, B of gif. This is not lucky enough, the stock moved
down two more days.
Another bullish harami occurred at C, D, but you do not see a bar in detection
graph. This is because the C, D formation does not agree with one or more
conditions you ask. It is not easy to write conditions in agreement with what
the eye detects as bulish harami.
(The low for day D is 2.91, the close for day C is 2.93 and "Low >= Ref(close,-1)"
is not valid, although this Harami was the lucky one)

3. In the first buy condition, 0.99 is too narrow. You ask close 1% below open.
It is better whithout coefficient.

4. High <= Ref(open,-1) and Low >= Ref(close,-1) do not agree with your 
definition. The two conditions are correct as conditions, but they search something
a bit different.

5. LET US COME NOW CLOSER TO THE POINT :
Your definition is
"A long black day occurs
The second day is a white day where the real body is completely engulfed by
the real body of the first"
What is a "long" black body. Black means close<open, long means
u=5;
close<=(1-u/100)*open;
and here you change u=5; with the percentage you like
This forms the condition for the first day.

u=5;
cond1=close<=(1-u/100)*open;

Next, "the real body is completely engulfed by the real body of the first"
The real body of a candle is from open to close, not from low to high.
So, 
cond2=close>open and close<ref(open,-1) and open>ref(close,-1);

6. Let us join the two conditions
Whith COND3 we ask cond2=true for TODAY and cond1=true for YESTERDAY

/*BULLISH HARAMI BUY CONDITION*/
/*FOR IND. BUILDER, SCAN AND EXPLORE MODE*/
u=5;
cond1=close<=(1-u/100)*open;
cond2=close>open and close<ref(open,-1) and open>ref(close,-1);
COND3=cond2 and ref(cond1,-1); 
BUY=COND3;
FILTER=BUY;
numcolumns=1;
column0=close;
GRAPH2=BUY;


(To be continued)
Dimitris Tsokakis

------=_NextPart_001_001C_01C120F5.DFCB3F00
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 size=2>Hi David,<BR>This is a real puzzle, but we shall find the 
solution step by step.</FONT></DIV>
<DIV><FONT size=2>Let us begin with what is right and what is 
wrong.</FONT></DIV>
<DIV><FONT size=2>1. MLY = low==llv(low,5);<BR>It is a condition now.<BR>MLY is 
equal to 1, when TODAY´S low is the lowest of 5 last days lows.<BR>MLY isequal 
to 0, when NOT.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>2. The <BR>Buy=<BR>ref(Close,-1) &lt;= 
Ref(open,-1)*.99<BR>And&nbsp; High &lt;= Ref(open,-1)<BR>And Low &gt;= 
Ref(close,-1)<BR>And Close&gt; open and mly;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>is i m p o s s i b l e to happen because:<BR>From " Low&gt;= 
Ref(close,-1)", TODAY´S low <BR>is greater than yesterdays close, which, by 
fact, is greater than <BR>yesterdays low. This means that TODAY´S low is greater 
than<BR>yesterdays low. This is in absolute contradiction with mly, which 
asks<BR>TODAY´S low to be the lowest.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>In bullish Harami at the end of a downtrend, the lowestlow 
was yesterday,<BR>which means : Ask from ref(mly,-1) to be true, NOT from 
mly.<BR>When you write mly, you mean&nbsp; mly for TODAY.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>It will help if you see in a graph, step by step, what are you 
doing.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>The correct conditions are below.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>MLY = low==llv(low,5);<BR>Buy=<BR>ref(Close,-1)&lt;= 
Ref(open,-1)*.99<BR>And&nbsp; High &lt;= Ref(open,-1)<BR>And Low &gt;= 
Ref(close,-1)<BR>And Close&gt; open and ref(mly,-1);<BR>graph2=buy;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Adding the last line and pasting to Ind. Builder, you will 
have a bar whenever <BR>you condition is true.<BR>The bullish harami is at A, B 
of gif. This is not lucky enough, the stock moved<BR>down two more 
days.<BR>Another bullish harami occurred at C, D, but you do not see a bar in 
detection<BR>graph. This is because the C, D formation does not agree with one 
or more<BR>conditions you ask. It is not easy to write conditions in agreement 
with what<BR>the eye detects as bulish harami.<BR>(The low for day D is 2.91, 
the close for day C is 2.93 and "Low &gt;= Ref(close,-1)"<BR>is not valid, 
although this Harami was the lucky one)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>3. In the first buy condition, 0.99 is too narrow. You 
ask&nbsp; close 1% below open.</FONT></DIV>
<DIV><FONT size=2>It is better whithout coefficient.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>4.&nbsp; High &lt;= Ref(open,-1) and Low &gt;= Ref(close,-1) 
do not agree with your </FONT></DIV>
<DIV><FONT size=2>definition. The two conditions are correct as conditions, but 
they search something</FONT></DIV>
<DIV><FONT size=2>a bit different.<BR><BR></FONT><FONT size=2>5. LET USCOME NOW 
CLOSER TO THE POINT :</FONT></DIV>
<DIV><FONT size=2>Your definition is</FONT></DIV>
<DIV><FONT size=2>"A long black day occurs<BR>The second day is a white day 
where the real body is completely engulfed by<BR>the real body of the 
first"</FONT></DIV>
<DIV><FONT size=2>What is a "long" black body. Black means close&lt;open,long 
means</FONT></DIV>
<DIV><FONT size=2>u=5;</FONT></DIV>
<DIV><FONT size=2>close&lt;=(1-u/100)*open;</FONT></DIV>
<DIV><FONT size=2>and here you change u=5; with the percentage you 
like</FONT></DIV>
<DIV><FONT size=2>This forms the condition for the first day.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>u=5;</FONT></DIV>
<DIV><FONT size=2>cond1=close&lt;=(1-u/100)*open;</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Next, "the real body is completely engulfed by the realbody 
of the first"</FONT></DIV>
<DIV><FONT size=2>The real body of a candle is from open to close, not from low 
to high.</FONT></DIV>
<DIV><FONT size=2>So, </FONT></DIV>
<DIV><FONT size=2>cond2=close&gt;open and close&lt;ref(open,-1) and 
open&gt;ref(close,-1);</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>6. Let us join the two conditions</FONT></DIV>
<DIV><FONT size=2>Whith&nbsp;COND3 we ask cond2=true for TODAY and cond1=true 
for YESTERDAY</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>/*BULLISH HARAMI BUY CONDITION*/</FONT></DIV>
<DIV><FONT size=2>/*FOR IND. BUILDER, SCAN AND EXPLORE MODE*/</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman">
<DIV><FONT size=2>u=5;</FONT></DIV>
<DIV><FONT size=2>cond1=close&lt;=(1-u/100)*open;</FONT></DIV>
<DIV><FONT size=2>cond2=close&gt;open and close&lt;ref(open,-1) and 
open&gt;ref(close,-1);</FONT></DIV>
<DIV>COND3=cond2 and ref(cond1,-1);&nbsp;</DIV>
<DIV>BUY=COND3;</DIV>
<DIV>FILTER=BUY;</DIV>
<DIV>numcolumns=1;</DIV>
<DIV>column0=close;</DIV>
<DIV>GRAPH2=BUY;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>(To be continued)</DIV>
<DIV>Dimitris Tsokakis</DIV></FONT></DIV></FONT></BODY></HTML>

------=_NextPart_001_001C_01C120F5.DFCB3F00--

Attachment:
gif00106.gif

Attachment: Description: "Description: GIF image"