时间序列
datetime Time[]
Series array that contains open time of each bar of the current chart. Data like datetime represent time, in seconds, that has passed since 00:00 a.m. of 1 January, 1970.
Series array elements are indexed in the reverse order, i.e., from the last one to the first one. The current bar which is the last in the array is indexed as 0. the oldest bar, the first in the chart, is indexed as Bars-1.
Access to Timeseries and Indicator Data
dynamic arrays
An indicator buffer is a dynamic array of type double, whose size is managed by the client terminals
statically distributed arrays
operations of memory allocations
indexing direction in Arrays, Buffers and Timeseries
The default indexing of all arrays and indicator buffers is left to right. The index of the first element is always equal to zero.
changing the indexing direction: ArraySetAsSeries()
Receiving Price Data in indicators
asynchronous access
Organizing Data Access
Receiving data from a trade server
packed blocks of minute bars
Storing intermediate data
unpack
Synchronization of the terminal data and server data
Obtaining data on a necessary timeframe out of intermediate data
Symbol Properties
MarketInfo(_Symbol, MODE_DIGITS);
SymbolInfoInteger(_Symbol, );
SymbolInfoDouble();
SymbolInfoString();