Mike,

Great stuff! Worked perfectly :-)

thanks for your input.

Anthony


--- In [email protected], "Mike" <[EMAIL PROTECTED]> wrote:
>
> Anthony,
> 
> Try something like the following (untested) code:
> 
> Period = 260;
> Target = LLV(Close, Period);
> Lag = BarsSince(Close == Target);
> Event = ValueWhen(Lag == 0, DateTime());
> 
> Filter = 1;
> AddColumn(Event, "LLV", formatDateTime);
> 
> 
> Note that technically you should use AlmostEqual instead of "==", but 
> I used the "==" for clarity.
> 
> Mike
> 
> --- In [email protected], "tiger_energy" <kuantau@> wrote:
> >
> > I am trying to return the date of the low over a certain lookback
> > period. ie Run an exploration to return the date of the low over the
> > last year. I can use LLV(close,260) to get the price but need some
> > advice on how to list the actual date using Addcolumn.
> > 
> > thanks
> > Anthony
> >
>


Reply via email to