Why a static array is rejected
AS_SERIES changes logical indexing so element zero represents the newest value. The official ArraySetAsSeries contract limits that flag to dynamic one-dimensional numeric arrays.
A declaration such as double values[100] is static because its size is fixed in source. Changing the requested flag cannot turn that allocation into a dynamic array.
