Fills a double array with the prices of the extreme points.
[in] Time frame of the extremum
[out] The array to be filled with data.
[in] Number of elements to be read.
In case of success, the passed array is filled with the elements and the array is shortened or enlarged to the number of elements. In case of error, the size of the array is 0 (zero) and a message is output.
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.
//--- Include Glib classes
GZigZag, GZigZag.Get, GZigZag.GetAll, GZigZag.GetAllLineLenghts, GZigZag.GetPrice