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

Re: Formula help



PureBytes Links

Trading Reference Links

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