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

Need EL Help



PureBytes Links

Trading Reference Links

I am trying to use HighW, LowW and CloseW to look for weekly reversals in
daily data.  The EL code is as follows.

HighW(1) > HighW(2) and LowW(1) < LowW(2) and CloseW(1) > HighW(2);

When using weekly data the code is
High > High[1] and Low < Low[1] and Close > High[1];

if you print log LowW(1) and Low of Data2 {Data2 being weekly} you get
something like this
xxx      110
110    110
110    110
110    110
110    110
110     xxx

So, LowW(1) is correct but off by one day.  As a result I am not finding
true outside bars.
You may ask why would I want to do it with daily rather than weekly.  The
reason is that chartscanner only operates on data1.  So if I want to use
chartscanner I need to look for weekly reversal using daily data since the
system is also keying off Highest(High,20) {Daily Chart} .  Any thoughts on
how to get the LowW() HighW() and CloseW() to slide back one day would be
appreciated.

Good Trading,
Glenn