TradeMUX SDK Documentation
1.0
TradeMUX SDK Documentation
|
bool ArraySetAsSeries< T > | ( | TMXArray< T > | array, |
bool | set | ||
) |
Sets the AS_SERIES flag to a selected object of a dynamic array, and elements will be indexed like in timeseries
T | Type of array elements |
array | Numeric array |
The AS_SERIES flag can't be set for multi-dimensional arrays or static arrays
(arrays, whose size in square brackets is preset already on the compilation stage).
Indexing in timeseries differs from a common array in that the elements of timeseries
are indexed from the end towards the beginning (from the newest to oldest data)