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

Re: Formula help



PureBytes Links

Trading Reference Links

One last shot at this, Murray,

> A buy signal in an expert on the first occasion that the security penetrated
> the up fractal, at the current level of the up fractal. If another up
> fractal forms higher I would like to display another buy signal if that up
> fractal is penetrated, but only on the first occasion.

OK, then this is what you want, it only discriminates changed fractal
levels, not necessarily higher than previous, but that can be handled by
changing to X1>X2:

X1:=Fml("up fractal");
X2:=ValueWhen(2,Cross(HIGH,X1),X1);
Cross(HIGH,X1) AND X1<>X2

WPI signaled on 5/6 and 5/15 in May.  Not familiar with William's hybrid
moving average (aren't you relieved) <G>

Craig



M Richards wrote:
> 
> Craig ,
>       Sorry but I probably didn't explain myself very well. What I really
> really want is :
> A buy signal in an expert on the first occasion that the security penetrated
> the up fractal, at the current level of the up fractal. If another up
> fractal forms higher I would like to display another buy signal if that up
> fractal is penetrated, but only on the first  occasion.
>  On your chart of WPI in the congestion area in May there  should be only 2
> buy signals.These are buy stops so should be displayed on the day the
> security breaks up.
>   I am trying to set up a template and expert based on Bill Williams book
> New Trading Dimensions, which discloses 90% of the indicators in his program
> investors dream.
>  I have the AO and AC indicators and the bars all coloured correctly but am
> having trouble putting the signals into Metastock.
>  Has anyone worked out the moving averages ??
>  The red line is suppose to be "an 8 bar smoothed moving average offset 5
> bars into the future ". I interpreted that as an exponential displaced 5
> periods but it isn't. I have tried all of the options in MS but cannot
> replicate it. Any ideas ??
>  If anyone else wants to help jump in , I am quite happy to share the
> results.
> 
>  Murray
> 
> >
> >
> >
> > Murray,
> >
> > To complete this fractal trilogy, a graphic of your signal
> > prescriptions.  The inverse sell would be:
> >
> > Cross(Fml("down fractal"),LOW) AND
> > Ref(BarsSince(Cross(Fml("down fractal"),LOW)),-1) >
> > BarsSince(HIGH>Fml("up fractal"))
> >
> > Both look rather convincing on WPI from a random sampling.  Please fill
> > in any other blanks you may devise.
> >
> > Craig
> >

Attachment Converted: "c:\eudora\attach\fractal2.gif"