PureBytes Links
Trading Reference Links
|
Hi Bill,
How do we use the building blocks ,also, under candlesticks ( bullish
or bearish )
example: Bullish candlestick
Morning star
c2<=o2*.99 abd o1<=c2 and c1<=c2 and c>c2 and c>=o*1.01 :: is this the
formula for a morning star. So, I can use in indicator builder and
highlight Morning stars.
(mly) + add the doji yesterday (dy) scan for a morning doji star)::
What does this line represent.
Thank you
Anthony
--- In amibroker@xxxx, "wavemechanic" <wd78@xxxx> wrote:
> Some guidelines that you might find useful for candlestick formulae.
>
>
>
> BUILDING BLOCKS
>
> Maximum High Today - (MHT)
> We want to see today's high as the highest of the past (5) days
> MAXH5=H
>
> Maximum High Yesterday - (MHY)
> We want to see yesterday's high as the highest of the past (5) days
> MAXH5=H1
>
> Minimum Low Today - (MLT)
> We want to see today's low as the lowest of the past (5) days
> MINL5=L
>
> Minimum Low Yesterday - (MLY)
> We want to see yesterday's low as the lowest of the past (5) days
> MINL5=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 Baby
> C2<=O2*.99 AND H1<L2 AND L>H1 AND C>=O*1.01
> (MLY) + ( Add DY for more weight )
>
> Tri-Star
> MINL3=MINL13 AND (MAXH3-MINL3)<=(MAXH3*.01)
> ( Add - MAXH3<L4 - to add more weight )
>
> Three Stars in the South
> MINL8=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 Harami
> C1<=O1*.99 AND H<=O1 AND L>=C1 AND C>O
> (MLY)
>
> 3 Inside Up Confirmation
> C2<=O2*.99 AND H1<=O2 AND L1>=C2 AND C>O2
>
> Harami Cross
> C1<=O1*.99 AND H<O1 AND L>C1
> (MLY) + (DT)
>
> Homing Pigeon
> C1<=O1*.99 AND H<=O1 AND L>=C1 AND C<O
> (MLY)
>
> Kicking Bullish
> C1<=O1*.99 AND L>=H1 AND C>=O*1.01
> (MLY)
>
> High Price Gapping
> C4>=O4*1.01 AND MAXH3.1<=H4 AND MINL3.1>=L4 AND C>O*1.01 AND L>=H4
>
> Side by Side White Lines
> MAXH2=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 Three
> C2>=O2*1.01 AND L1>H2 AND C1>=O1*1.01 AND O<C1
> AND O>H2 AND C<C2
> (MHY)
>
> Tasuki Gap
> C2>=O2*1.01 AND L1>H2 AND C1>=O1*1.01 AND C<O AND C<C1 AND L>H2
> (MHY)
>
> Hammer
> O>=(H-((H-L)*.25)) AND C>=(H-((H-L)*.25))
> (MLT)
>
> Inverted Hammer
> O<=(L+((H-L)*.25)) AND C<=(L+((H-L)*.25))
> (MLT)
>
> Three River Bottom
> C2<=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 Swallow
> C3<=O3*.99 AND C2<=O2*.99 AND O1<C2 AND H1>C2 AND O>C2 AND C<=C1 AND
MINL2=MINL8
>
> Long Legged Doji
> O<L1 AND H>=L*1.01
> (MLT) + (DT)
>
> Matching Low
> MINL8=MINL2 AND C1<=O1*.99 AND ABS(C-C1)<=C*.0025 AND O>C1 AND
O<=(H-((H-L)*.5))
>
> Belt Hold
> O<=L1*.99 AND C>L1
> (MLT)
>
> Bullish Engulfing
> O<L1 AND C>H1 AND C>=O*1.01
> (MLT)
>
> Three Outside Up
> O1<L2 AND C1>H2 AND C1>=O1*1.01 AND C>H1 AND C>O
> (MLY)
>
> Stick Sandwich
> MINL8=MINL3 AND C2<=O2*.99 AND C1>=O1*1.01 AND C1>=H2 AND O>=H1 AND
ABS(C-C2)<=C*.0025
>
> Breakaway
> C4<O4 AND MAXH3.1<L4 AND O<MAXH3.1 AND C>L4
>
> Meeting Lines
> C1<=O1*.99 AND ABS(C-C1)<=C*.0025 AND C>=O*1.01
> (MLT)
>
> Piercing Line
> C1<=O1*.99 AND O<L1 AND C>=(C+((O-C)*.5))
> (MLT)
>
> Three White Soldiers
> MINL8=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 Strike
> O2<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 Lines
> C1<=O1*.99 AND ABS(O-O1)<=O*.0025 AND C>=O*1.01
> (MHT)
>
> Rising Three
> C4>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 Hold
> C4>=O4*1.01 AND L3>H4 AND H1<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 Star
> C2>=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 bearish
> C2>=O2*1.01 AND L1>H2 AND H<L1 AND C<=O*.99
> (MHY) + ( Add Doji Yesterday (DY) for more weight )
>
> Two Crows
> C2>=O2*1.01 AND O1>=C2 AND C1>=C2 AND O>L1 AND O<H1 AND C<=O*.99
> (MHY)
>
> Upside Gap Two Crows
> C2>=O2*1.01 AND O1>=C2 AND C1>=C2 AND O>H1 AND C<L1
> (MHY)
>
> Tri-Star bearish
> MAXH3=MAXH13 AND (MAXH3-MINL3)<=(MAXH3*.01)
>
> Shooting Star
> L>H1 AND O<=(L+((H-L)*.25)) AND C<=(L+((H-L)*.25))
> (MHY)
>
> Hanging Man
> O>H1 AND O>=(H-((H-L)*.25)) AND C>=(H-((H-L)*.25))
> (MHT)
>
> Side by Side White Lines bearish
> MINL8=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 Gapping
> C4<O4*.99 AND MAXH3.1<=(MINL3.1*1.01) AND H<MINL3.1 AND C<O
> (MLT)
>
> Downside Gap Three
> C2<=O2*.99 AND H1<L2 AND C1<=O1*.99 AND O<O1 AND C>C2
> (MLY)
>
> Tasuki Gap
> C2<=O2*.99 AND H1<L2 AND C1<=O1*.99 AND O<H1 AND C>H1 AND H<L2
> (MLY)
>
> Harami bearish
> C1>=O1*1.01 AND H<C1 AND L>O1
> (MHY)
>
> 3 Inside Down Confirmation
> C2>=O2*1.01 AND H1<C2 AND L1>O2 AND C<O2 AND O>O2
>
> Harami Cross
> C1>=O1*1.01 AND H<C1 AND L>O1
> (MHY) + (DT)
>
> Engulfing bearish
> O>H1 AND C<L1
> (MHT)
>
> Three Inside Down ( confirmation )
> O1>H2 AND C1<L2 AND C<O AND C<C1
> (MHY)
>
> Dark Cloud Cover
> O1>=C1*1.01 AND O>C1 AND C<=(C1-((C1-O1)*.5))
> (MHT)
>
> Belt Hold
> O>=H1*1.01 AND C<H1
> (MHT)
>
> Meeting Lines
> C1>O1 AND O>=C1*1.01 AND ABS(C-C1)<=C*.0025
> (MHT)
>
> Long Legged Doji
> O>H1 AND H>=L*1.01
> (MHT) + (DT)
>
> Advance Block
> C2>=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)
>
> Deliberation
> C2>=O2*1.01 AND H1>H2 AND C1>O1*1.01 AND C>O AND H>H1 AND
(C-O)<(C1-O1)
> (MHT)
>
> Three Black Crows
> MAXH8=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 Strike
> MAXH8=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 Neck
> C1<=O1*.99 AND O<L1 AND C>O AND C<C1
> (MLT)
>
> In Neck
> C1<=O1*.99 AND O<L1 AND C>O AND ABS(C-C1)<=(C*.0025)
> (MLT)
>
> Seperating Lines
> C1>=O1*1.01 AND ABS(O-O1)<=O*.0025 AND C<O*.99
> (MLT)
>
> Falling Three
> C4<O4 AND H3<H4 AND H1>H3 AND L1>L3 AND MAXHL3.1<=H4 AND O>L1 AND
C<MINL3.1
> (MLT)
|