Here is code for Micro M tops , that I coded sometime
ago...
// Micro M tops
//Anthony Faragasso
pds= 13;
Cond1= HHV(H,pds)==H AND
C > Ref(C,-1) AND C
> O ;
Cond2= Ref(cond1,-1)AND L<Ref(L,-1)AND C
< Ref(C,-1)AND C
< O;
Cond3= Ref(cond1,-2)
AND Ref(cond2,-1)AND L>Ref(L,-1)AND C
> Ref(C,-1) AND C
> O;
m4 = Cond3;
barcolor= IIf(m4,colorBlue,IIf(cond1,colorRed,IIf(cond2,colorWhite,colorBlack)));
Plot (C,"close",barcolor,styleCandle);
PlotShapes (m4*shapeDownArrow,colorRed);
----- Original Message -----
Sent: Tuesday, November 23, 2004 8:35
AM
Subject: [amibroker] Re: Bierovic´s Micro
Double Tops & Bottoms
Here the set up for an AFL formula (Micro double Tpo
& bottom / Bierovic):
1/ Candle A makes the highest high of the
last X candles, the close is greater than yesterday´s close and the close
is greater than the open 2/ Candle B makes a lower low and a lower
close than candle A, and the close is less than the open 3/ Candle C
makes a higher low and a higher close than candle B, and the close is
greater than the open
I need a custom indicator (with arrows) no
exploration.
Hope it helps Thank you for your help
Reni
--- In amibroker@xxxxxxxxxxxxxxx, "renilange"
<reni.lange@xxxx> wrote: > > I´m reading an interessant
book by Tom Bierovic, he has two patterns > called "Micro Double
Top" and "Micro Double Bottom". > > Has anybody the AFL code for
this?? > Thxs
Reni
Check AmiBroker web page at: http://www.amibroker.com/
Check
group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
|