Bob, thanks for pointing out the parse-time bug.
What I wanted to accomplish sounds real easy to me, but I haven't managed to do it in QPv2 yet. I think there might be another bug involved.
I simply want to find the highest price a stock has traded at during the last 52 weeks.
Sounds easy, doesn't it. I thought I'd program that in 2 minutes max. Was I in for a disappointment....
It seems that QPv2 has a problem with stocks like AMCC, SCMM, BEST, etc that have been trading less than 220 days or so.
Try it, QPv2 experts, you will be surprised. (Uh... or I will be surprised. ;^)
Hint for avoid the obvious: You can not solve this problem by using Max(0,-219,hi). This will skip all stocks that traded less than 200 days (up until today).
Have fun,
P.S.: Gary, PLEASE try to fix these annoying bugs ASAP.
Johan |