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

Re: Need EL Help



PureBytes Links

Trading Reference Links

At 12:02 PM -0600 1/2/98, Robert W Cummings wrote:

>I'm using a  MA for an indication of where the trend is and then I'm trying
>to generate a buy or sell order based on other criteria. It works but only
>when there is a cross which is not what I want. I'm using > and < and not
>cross over or under. What I want is this indicator if say average close 9
>line is under the 18 average close line then give permission to let my
>other criteria work instead of waiting for a cross. So under bullish and
>over bearish is all not a cross.

What you are trying to do should be simple:

Condition1 = Average(Close, 9) < Average(Close, 18);

if Condition1 and ...other... then Sell...;

....

Bob Fulks

--
Bob Fulks
bfulks@xxxxxxxxxxx