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

Re: Easy Language Q



PureBytes Links

Trading Reference Links

David,

Try:

(XAverage(close, 13)    >  XAverage(close, 13)[1]) and
(XAverage(close, 13)[1] <= XAverage(close, 13)[2])

Chris Norrie


> Hello,
> 
> Can someone give me a quick EL way to show when the following
> occurs......
> 
> XAverage(close, 13)  >  XAverage(close, 13)[1]
> 
> 
> BUT  I only want the Show Me to show when the XAverage(close,13)  turns
> higher than the bar before ONCE.  With the statement above, I'm getting
> Show Me's on every bar that the moving average is rising.  I'm
> interested only in when it turns, up or down.
> 
> Thank you.
> 
> David