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" <[EMAIL PROTECTED]> 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 >
