|
GSupportAndResistance.GetAll()
Fills a GStructSupportAndResistanceDetails object array with the values of the extremal points.
void GSupportAndResistance.GetAll( |
Parameter
&array[]
[out] The array to be filled with data. Due to a bug of the MT5 terminal, the array must be resized with ArrayResize() before it is passed to the function.
get
[in] The data to be read. Allowed are SAR_ALL, SAR_SUPPORT or SAR_RESISTANCE. See ENUM_SUPPORTANDRESISTANCE.
timeFrame
[in] Timeframe of the values. -1 outputs the data of all active timeframes.
Return value
In case of success, the array passed to the function is filled with the elements and the array is shortened to the number of elements. In case of an 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.
Example:
//--- Include the Glib classes |
See also
GSupportAndResistance.GetAllPrices, GSupportAndResistance.GetPivots