|
GZigZag.GetAll()
Fills a GStructZigZag object array with the extreme point values.
void GZigZag.GetAll( |
Parameter
timeFrame
[in] Timeframe of the extremum
&array[]
[out] The array to be filled with data. Due to a bug in the MT5 terminal, before the array is passed to the function, it must be reserved with ArrayResize() enough memory.
count
[in] Number of elements to be read.
Return value
In case of success, the passed array is filled with the elements and the array is shortened to the number of elements. In case of error, the size of the array is 0 (zero) and a message is output.
Note
The array should always be checked for content after filling. Due to incomplete historical data transferred from the terminal to Glib, there may be occasional errors in the output.
Beispiel:
//--- Include Glib classes |
See also
GZigZag, GZigZag.Get, GZigZag.GetAllLineLenghts, GZigZag.GetPrice, GZigZag.GetAllPrices