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

Re: Need EL Help



PureBytes Links

Trading Reference Links

> Bob Fulks wrote:
>
> > Condition1 = Average(Close, 9) < Average(Close, 18);
> >
> > if Condition1 and ...other... then Sell...;
>
> This doesn't quite capture what I'm looking for, though.  I'd like to generate
> signals when Condition1, Condition2, etc. have all obtained, then buy...
>
> The problem with the above statements is that it won't generate a signal in
> situations where Condition2 hits, and Condition1 obtains a few bars later, for
> example.
>
> Thanks,
> A.J.