Ed -
I'd have to see the specific code for scale in/out to
be able to tell. As I mentioned, I was just optimizing the posted code. But, I
generally tell people that 95% of loops can be replaced with array logic.
There are a few things (say the 5%) that I've run into that require looping.
Nested looping, though, should be avoided at all costs, and a way can usually
be found around it.
You're right about ValueWhen. I used AMA2 on
purpose, though, because it has some other important uses in portfolio mixes
that I plan to show some examples of soon, and thought it would be good to
mention it.
Anyway, sounds like your moving along now.
--
Bruce
--- In amibroker@xxxxxxxxxps.com,
"Edward Pottasch" <empottasch@...>
wrote: