Alternate identity, that's funny ;)
I believe that you cannot create shorter arrays nor longer ones. If you don't
want values for unused elements, set them to null.
e.g.
Prices = IIF(Status("barinrange"), Close, null);
Plot(Prices, "Prices", colorDarkGrey, styleLine);
Mike
--- In [email protected], "wml67" <y...@...> wrote:
>
> Have you ever considered creating a second Yahoo identity for the special
> cases when you need to ask an embarassing question? I didn't! I'll create a
> new identity when majority of my questions will cease to be embarrasing, i.e.
> not anytime soon. Just kidding.
>
> Now, an embarassing question. A price array in Automatic Analysis always
> contain all bars for the current symbol available in the database, right?
> What if I need a smaller array, containing quotes for a certain period (say,
> the date range specified for AA, or its subset)? Is there a way to do it
> without looping through all quotes and assigning array elements one by one?
>
> Many thanks!
>