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

RE: Formula help



PureBytes Links

Trading Reference Links

 Craig,
      Thanks for the reply but that didn't seem to work. I modified the
posted formula for fractal up to
UP Fractal

Ref( ValueWhen(1,(( HIGH >  Ref( HIGH  , -1 ) )  AND ( HIGH >  Ref( HIGH  ,
-2 ) ) AND ( HIGH > Ref( HIGH  , +1 ) ) AND  ( HIGH >  Ref( HIGH  , +2
))),H),-2 )

This takes the plot up to the most recent bar and appears to be the same as
investors wet dream. Could you possibly have another look at the formula ??

Murray Hindsight

> Murray,
>
> You could establish a reset criteria based on a secondary condition.
> Like,
>
> Cross(HIGH,(Fml( "fractal up ")) AND
> Ref(BarsSince(Cross(HIGH,(Fml( "fractal up ")),-1)>BarsSince(Cross((Fml(
> "fractal down "),LOW)
>
> In this example a reset occurs after a low reversal below the fractal
> down formula.  It could be anything else you consider appropriate to the
> indicator range.  Remember that these fractal formulas factor in rwo
> future day results and as such are retrospectively enlightened and not
> really prospective in current application.
>
> Craig
>
>
> M Richards wrote:
> >
> > Hi,
> >    How do I write a formula that signals only on the first time that the
> > security crosses a resistance level. ie If the security breaks
> up and then
> > retraces below the resistance level then breaks back up I only want the
> > signal on the first break.
> > I am using  "Cross(HIGH,(Fml( "fractal up ")))" in an expert and
> > exploration.
> >
> > Thanks
> >
> > Murray
>