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

Re: [amibroker] Bullish Harami(Final ?)



PureBytes Links

Trading Reference Links


Thanks DT I tried write the final leg myself with 
no luck 
 
ps what is the 6 th column ?  b/s f  
?
 
so now we a total of conditions found and a total 
that where bullish 
 
so theory would say that if over the history of a 
stock the bull harami was 80 profitable that it should trade that way in the 
future ... lol risky statement that :)
 
 i will try to modify it now for other 
patterns 
 
Thanks once again you seem to have your head around 
afl 
 
 
 
Regards David
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Dimitris 
Tsokakis 
To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Monday, August 13, 2001 3:37 
AM
Subject: [amibroker] Bullish Harami(Final 
?)

Hi David,
I think here we have what you ask.
"FROM" 4 haramis "GAINED" 3, i. e. 
the
"% G" is 75%.
The most I liked is COLUMN4 syntax.
 
/*BULLISH HARAMI BUY CONDITION*//*GAIN 10 
DAYS LATER*//*PERCENTAGE SUCCESS*/u=5;/*PERCANTAGE DROP THE FIRST 
DAY*/d1=10;/*DAYS TO 
WATCH*/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);h1=hhv(close,d1);filter=ref(COND3,-d1);BUY=cond3;sell=filter;numcolumns=7;column0=ref(close,-d1);column1=h1;column2=100*(column1/column0-1);column0name="HARAMI 
CLOSE";column1name="HIGHEST CLOSE";column2name="MAX 
GAIN";COLUMN3=LASTVALUE(CUM(BUY));COLUMN4=LASTVALUE(CUM(COLUMN2>0 
AND 
SELL));COLUMN5=100*COLUMN4/COLUMN3;COLUMN3NAME="FROM";COLUMN4NAME="GAINED";COLUMN5NAME="% 
G";COLUMN6NAME="B/S  
F";COLUMN3FORMAT=1.0;COLUMN4FORMAT=1.0;COLUMN5FORMAT=1.0;
 
The majority of my 400 stocks, although in a 2 
years bearish
period, were above 50%
 
Dimitris Tsokakis
 
 
 
 Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.