you might try this bsd = BarsSince(DateNum() == 1081231); // 108 = 2008, 12=dec and 31=day highVal = HHV(H, bsd); lowVal = LLV(L, bsd);
To get a table you can use scan, put the tickers in a watch list and scan from 12/31 to date. Or use foreign in an indicator and put the results in the interpretation window. Barry --- In [email protected], "ldriker" <ldri...@...> wrote: > > For a particular date and a given set of symbols I'd like to create a > list of high and low trades for each symbol. > > For example, let's say I'm interested in the following three symbols: > BAC, ERH & SNA. What code would generate for 12/31/2008 a table that > might look something like: > > Date = December 31, 2008 > Symbol High Low > BAC 14.12 13.00 > ERH 11.53 10.68 > SNA 39.67 38.65 > > Thanks in advance to all who consider the above request!!! >
