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

Re: [EquisMetaStock Group] About Fractal formulas ?



PureBytes Links

Trading Reference Links

hi mwtang,

This is just an idea that may give you some
information how to tackle your explorations.

You buy Fractal in colA

A:=Fml("Fractal Buy");
If(A>HHV(H,period),1,0)

In the HHV(H,period) you will test that your fractal
is greater than other H in a period that could be
20,40, or the time you consider fine to test. A
fractal is a H in 5 bars, therefore you will get what
you want I think.

In colB

A:=Fml("Alligator Red");
B:=Fml(Fractal Buy");
If(B>A,1,0)

Here you will find the last fractal bigger than the
red line.

Identifying exactly the previous fractal it is not
easy for me, I mean writing the MS code. It may some
other people in this group could have the exact way to
do it. You may check it once you open the chart.

In the filter section

colA>0 and colB>0

You should get results in colA and colB with a number
1 that will indicate the stock meeting your criteria.

I hope this help.

Carlos.
=


--- mwtang <mwtang@xxxxxxxxx> wrote:
> Hallo ! How are you all ! I am still new to write ms
> formulars so I hope someone could help me. 
> After reading Bill William book - The New trading
> dimensions. I was intesrested in Fractal and had
> tried to Fractal formulars in Expert adviser. It
> works fine. So i try to go a bit further, writing it
> into Explorer but failed. I would like to write an
> Explorer with Today's fractal  is grater than
> previous fractal and previous fractal is greater
> than alligator red line. And the previous fractal is
> also greater than another fractal. It will look
> something like this -
> 

> Can anyone help.  I have here the fractal formulars
> which i had wrote --
> 
> 
> 
> Fractal Buy --
> 
> High1 := Ref(HIGH,2);
> High2 := Ref(HIGH,1);
> High3 := Ref(HIGH,0) ;
> High4 := Ref(HIGH,-1);
> High5 := Ref(HIGH,-2);
> High6 := Ref(HIGH,-3);
> High7 := Ref(HIGH,-4);
> High8 := Ref(HIGH,-5);
> High9 := Ref(HIGH,-6); 
> (High3 > High1) AND (High3 > High2) AND (High3 >
> High4) AND (High3 > 
> High5)OR (High3 > High1) AND (High3 > High2) AND
> (High3)=(High4) AND (High3)>(High5) AND
> (High3)>(high6) OR (High3 > High1) AND (High3 >
> High2) AND (High3)=(High4) AND (High4)=(High5) AND
> (High3) > (High6) AND (High3) > (High7) OR (High3 >
> High1) AND (High3 > High2) AND (High3)=(high4) AND
> (HIgh3)=(High5) AND (High3)=(High6) AND (High3) >
> (high7) AND (High3) > (High8) OR  (High3 > High1)
> AND (High3 > High2) AND (High3) > (high4) AND
> (High3) = (High5) AND (High3) > (High6) AND (High3)
> > (High7) OR (High3 > High1) AND (High3 > High2) AND
> (High3) > (High4) AND (High3) = (High5) AND (High3)
> > (High6) AND (High3) = (High7) AND (High3) >
> (High8) AND (High3) > (High9)
> 
> 
> Graphic -- Diamon shape - Above Price plot.

> Fractal Sell --
> 
> Low1 := Ref(LOW,2);
> Low2 := Ref(LOW,1);
> Low3 := Ref(LOW,0);
> Low4 := Ref(LOW,-1);
> Low5 := Ref(LOW,-2);
> Low6 := Ref(LOW,-3);
> Low7 := Ref(LOW,-4);
> Low8 := Ref(LOW,-6);
> Low9 := Ref(LOW,-7);
> (Low3 < Low1) AND (Low3 < Low2) AND
> (Low3 < Low4) AND (Low3 < Low5) OR  (Low3 < Low1)
> AND (Low3 < Low2) AND (Low3) = (Low4) AND (Low3) <
> (Low5) AND (Low3) < (Low6) OR (Low3 < Low1) AND
> (Low3 < Low2) AND (Low3) = (Low4) AND (Low3) =
> (low5) AND (Low3) < (Low6) AND (Low3) < (Low7) OR
> (Low3 < Low1) AND (Low3 < Low2) AND (Low3) = (Low4)
> AND (Low3) = (Low5) AND (Low3) = (Low6) AND (Low3) <
> (Low7) AND (Low3) < (Low8) OR (Low3 < Low1) AND
> (Low3 < Low2) AND (Low3) < (Low4) AND (Low3) =
> (Low5) AND (Low3) < (Low6) AND (Low3) < (Low7) OR
> (Low3 < Low1) AND (Low3 < Low2) AND (Low3) < (Low4)
> AND (Low3) = (low5) AND (Low3) < (Low6) AND (Low3) =
> (Low7) AND (Low3) < (Low8) AND (Low3) < (Low9)
> 
>
> Graphic -- Diamon shape - Below Price plot.
> 
> 
> 
> Happy trading.  Bye !


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/BefplB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/