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

Re: [amibroker] Candlestick Formulae Building Blocks



PureBytes Links

Trading Reference Links


Wave
 
Looks   like a great resource for those 
interested in candles could you please tell me the source ? 
I see your very active in the ms forum is this the 
structure used by ms ?
 
Thanks very much David 
 
ps don't suppose you could wack em out in AB afl 
code :)))) *W*
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Tomasz Janeczko 

To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Sunday, June 03, 2001 5:53 AM
Subject: Re: [amibroker] Candlestick 
Formulae Building Blocks

Thanks a lot!
 
Best regards,Tomasz 
Janeczko------------------------------------------------AmiBroker- 
the comprehensive share manager<A 
href="">http://www.amibroker.com
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
wavemechanic 

To: <A 
title=Undisclosed-Recipient:@avocet.mail.pas.earthlink.net;@cyber.ict.pwr.wroc.pl;; 
href="">Undisclosed-Recipient:@avocet.mail.pas.earthlink.net;@cyber.ict.pwr.wroc.pl;; 

Sent: Saturday, June 02, 20015:51 
PM
Subject: [amibroker] Candlestick 
Formulae Building Blocks


Some guidelines that you might find 
useful for candlestick formulae.
 
BUILDING BLOCKSMaximum High Today - 
(MHT)We want to see today's high as the highest of the past (5) 
daysMAXH5=H
Maximum High Yesterday - (MHY)We want to see 
yesterday's high as the highest of the past (5) 
daysMAXH5=H1
Minimum Low Today - (MLT)We want to see today's 
low as the lowest of the past (5) daysMINL5=L
Minimum Low Yesterday - (MLY)We want to see 
yesterday's low as the lowest of the past (5) 
daysMINL5=L1
DOJI's are an important part of some 
patterns.
Doji Today - (DT)ABS(C-O) <= (C*.0025) - 
or -(ABS(O-C)<=((H-L)*0.1))
Doji Yesterday - (DY)ABS(C1-O1) <= 
(C1*.0025)- or -(ABS(O1-C1)<=((H1-L1)*0.1))
 
BULLISH 
CANDLESTICKS************************************
Morning Star C2<=O2*.99 AND O1<=C2 AND 
C1<=C2 AND C>C2 AND C>=O*1.01(MLY) + ( Add the Doji Yesterday 
(DY) scan for a Morning Doji Star )
Abandoned BabyC2<=O2*.99 AND H1<L2 AND 
L>H1 AND C>=O*1.01(MLY) + ( Add DY for more weight 
)
Tri-StarMINL3=MINL13 AND 
(MAXH3-MINL3)<=(MAXH3*.01)( Add - MAXH3<L4 - to add more weight 
)
Three Stars in the SouthMINL8=L2 AND C2<O2 
AND C2>=(L2+((H2-L2)*.25)) AND O1>C2 AND L1>L2 AND 
C1>=(L1+((H1-L1)*.25)) AND C1<O1 AND H<H1 AND L>L1 AND 
H-L<=(H*.01)
Bullish HaramiC1<=O1*.99 AND H<=O1 AND 
L>=C1 AND C>O(MLY)
3 Inside Up ConfirmationC2<=O2*.99 AND 
H1<=O2 AND L1>=C2 AND C>O2
Harami CrossC1<=O1*.99 AND H<O1 AND 
L>C1(MLY) + (DT)
Homing PigeonC1<=O1*.99 AND H<=O1 AND 
L>=C1 AND C<O(MLY)
Kicking BullishC1<=O1*.99 AND L>=H1 AND 
C>=O*1.01(MLY)
High Price GappingC4>=O4*1.01 AND 
MAXH3.1<=H4 AND MINL3.1>=L4 AND C>O*1.01 AND 
L>=H4
Side by Side White LinesMAXH2=MAXH8 AND 
C2>=O2*1.01 AND L1>H2 AND C1>=O1*1.01 AND L>H2 AND 
O<=O1*1.005 AND C>=O*1.01
Upside Gap ThreeC2>=O2*1.01 AND L1>H2 AND 
C1>=O1*1.01 AND O<C1AND O>H2 AND 
C<C2(MHY)
Tasuki GapC2>=O2*1.01 AND L1>H2 AND 
C1>=O1*1.01 AND C<O AND C<C1 AND 
L>H2(MHY)
HammerO>=(H-((H-L)*.25)) AND 
C>=(H-((H-L)*.25))(MLT)
Inverted HammerO<=(L+((H-L)*.25)) AND 
C<=(L+((H-L)*.25))(MLT)
Three River BottomC2<=O2*.99 AND O1>C2 AND 
C1>C2 AND C>O AND C<O2 AND O>C2 AND O1>=(H1-((H1-L1)*.25)) 
AND C1>=(H1-((H1-L1)*.25))(MLY)
Concealing Baby SwallowC3<=O3*.99 AND 
C2<=O2*.99 AND O1<C2 AND H1>C2 AND O>C2 AND C<=C1 AND 
MINL2=MINL8
Long Legged DojiO<L1 AND 
H>=L*1.01(MLT) + (DT)
Matching LowMINL8=MINL2 AND C1<=O1*.99 AND 
ABS(C-C1)<=C*.0025 AND O>C1 AND 
O<=(H-((H-L)*.5))
Belt HoldO<=L1*.99 AND 
C>L1(MLT)
Bullish EngulfingO<L1 AND C>H1 AND 
C>=O*1.01(MLT)
Three Outside UpO1<L2 AND C1>H2 AND 
C1>=O1*1.01 AND C>H1 AND C>O(MLY)
Stick SandwichMINL8=MINL3 AND C2<=O2*.99 AND 
C1>=O1*1.01 AND C1>=H2 AND O>=H1 AND 
ABS(C-C2)<=C*.0025
BreakawayC4<O4 AND MAXH3.1<L4 AND 
O<MAXH3.1 AND C>L4
Meeting LinesC1<=O1*.99 AND 
ABS(C-C1)<=C*.0025 AND C>=O*1.01(MLT)
Piercing LineC1<=O1*.99 AND O<L1 AND 
C>=(C+((O-C)*.5))(MLT)
Three White SoldiersMINL8=L2 AND O1<C2 AND 
O<C1 AND C1>C2 AND C>C1 AND C2>=O2*1.01 AND C1>=O1*1.01 AND 
C>=O*1.01
Three Line StrikeO2<C3 AND O1<C2 AND 
C2>C3 AND C1>C2 AND C3>=O3*1.01 AND C2>=O2*1.01 AND 
C1>=O1*1.01 AND O>C1 AND C<MINO3.1
Seperating LinesC1<=O1*.99 AND 
ABS(O-O1)<=O*.0025 AND C>=O*1.01(MHT)
Rising ThreeC4>O4 AND H3>H4 AND H1<H3 
AND L1<L3 AND C3<O3 AND MINL3.1>L4 AND C>=O*1.01 AND 
C>MAXH3.1
Mat HoldC4>=O4*1.01 AND L3>H4 ANDH1<H3 
AND L1<L3 AND C3<O3 AND MINL3.1>L4 AND O<O1 AND C>MAXH3.1 AND 
C>=O*1.01
 
BEARISH 
CANDLESTICKS*************************************
 
Evening StarC2>=O2*1.01 AND O1>=C2 AND 
C1>=C2 AND O<=C1 AND C<=O*.99(MHY) + ( Add the Doji Yesterday 
(DY) scan for a Evening Doji Star )
Abandoned Baby bearishC2>=O2*1.01 AND 
L1>H2 AND H<L1 AND C<=O*.99(MHY) + ( Add Doji Yesterday (DY) 
for more weight )
Two CrowsC2>=O2*1.01 AND O1>=C2AND 
C1>=C2 AND O>L1 AND O<H1 AND 
C<=O*.99(MHY)
Upside Gap Two CrowsC2>=O2*1.01 AND O1>=C2 
AND C1>=C2 AND O>H1 AND C<L1(MHY)
Tri-Star bearishMAXH3=MAXH13 AND 
(MAXH3-MINL3)<=(MAXH3*.01)
Shooting StarL>H1 AND O<=(L+((H-L)*.25)) 
AND C<=(L+((H-L)*.25))(MHY)
Hanging ManO>H1 AND O>=(H-((H-L)*.25)) AND 
C>=(H-((H-L)*.25))(MHT)
Side by Side White Lines bearishMINL8=MINL2 AND 
H1<L2 AND H<L2 AND C2<=O2*.99 AND O<=O1*1.005 AND C1>=O1*1.01 
AND C>=O*1.01
Low Price GappingC4<O4*.99 AND 
MAXH3.1<=(MINL3.1*1.01) AND H<MINL3.1 AND 
C<O(MLT)
Downside Gap ThreeC2<=O2*.99 AND H1<L2 AND 
C1<=O1*.99 AND O<O1 AND C>C2(MLY)
Tasuki GapC2<=O2*.99 AND H1<L2 AND 
C1<=O1*.99 AND O<H1 AND C>H1 AND 
H<L2(MLY)
Harami bearishC1>=O1*1.01 AND H<C1 AND 
L>O1(MHY)
3 Inside Down ConfirmationC2>=O2*1.01 AND 
H1<C2 AND L1>O2 AND C<O2 AND O>O2
Harami CrossC1>=O1*1.01 AND H<C1 AND 
L>O1(MHY) + (DT)
Engulfing bearishO>H1 AND 
C<L1(MHT)
Three Inside Down ( confirmation )O1>H2 AND 
C1<L2 AND C<O AND C<C1(MHY)
Dark Cloud CoverO1>=C1*1.01 AND O>C1 AND 
C<=(C1-((C1-O1)*.5))(MHT)
Belt HoldO>=H1*1.01 AND 
C<H1(MHT)
Meeting LinesC1>O1 AND O>=C1*1.01AND 
ABS(C-C1)<=C*.0025(MHT)
Long Legged DojiO>H1 AND 
H>=L*1.01(MHT) + (DT)
Advance BlockC2>=O2*1.01 AND H1>H2 AND 
C1>O1 AND C>O AND H>H1 AND (C1-O1)<(C2-O2) AND 
(C-O)<(C1-O1)(MHT)
DeliberationC2>=O2*1.01 AND H1>H2AND 
C1>O1*1.01 AND C>O AND H>H1 AND 
(C-O)<(C1-O1)(MHT)
Three Black CrowsMAXH8=H2 AND O1>C2 AND 
O>C1 AND C1<C2 AND C<C1 AND C2<=O2*.99 AND C1<=O1*.99 AND 
C<=O*.99
Three Line StrikeMAXH8=H3 AND O2>C3 AND 
O1>C2 AND C2<C3 AND C1<C2 AND C3<=O3*.99 AND C2<=O2*.99 AND 
C1<=O1*.99 AND O<L1 AND C>MAXH3.1(MLT)
On NeckC1<=O1*.99 AND O<L1 AND C>O AND 
C<C1(MLT)
In NeckC1<=O1*.99 AND O<L1 AND C>O AND 
ABS(C-C1)<=(C*.0025)(MLT)
Seperating LinesC1>=O1*1.01 AND 
ABS(O-O1)<=O*.0025 AND C<O*.99(MLT)
Falling ThreeC4<O4 AND H3<H4 AND H1>H3 
AND L1>L3 AND MAXHL3.1<=H4 AND O>L1 AND 
C<MINL3.1(MLT)
 Your use 
of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 
Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.