|
GZigZag.GetAllLineLengths()
Fills a double array with the price differences between the extreme points.
void GZigZag.GetAllLineLengths( |
Parameter
timeFrame
[in] Time frame of the extremum
&array[]
[out] The array to be filled with data.
start
[in] Number of the extremum point at which the copying should start. The current unfinished extremum point is at position 0 (zero).
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 or enlarged 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 passed from the terminal to Glib, there may be occasional errors in the output.
Example:
//--- Include Glib classes |
See also
GZigZag, GZigZag.Get, GZigZag.GetAll, GZigZag.GetPrice, GZigZag.GetAllPrices