|
GChartPatterns.GetAllFinish()
Fills a GStructChartPatterns object array with the values of the finished formations.
void GChartPatterns.GetAllFinish( |
Parameter
timeFrame
[in] Timeframe of the detected formations.
&array[]
[out] The array to be filled with the data. Due to a bug in the MT5 terminal, sufficient memory must be reserved with ArrayResize() before the array is passed to the function.
count
[in] Number of elements to be read out at most.
Return value
In case of success, the array specified is filled with the elements and the array is reduced to the number of elements. In case of error, the size of the array is 0 (zero) and a message is displayed.
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:
//--- Including the Glib classes |
See also
GChartPatterns.GetFinish, GChartPatterns.Signal, GChartPatterns.GetBuild