|
GSupportAndResistance.GetAllPrices()
Returns a double array of the prices of the selected support and resistance levels.
void GSupportAndResistance.GetAllPrices( |
Parameter
&array[]
[out] The array to be filled with data.
get
[in] The data to be read. Allowed are SAR_ALL, SAR_SUPPORT or SAR_RESISTANCE. See ENUM_SUPPORTANDRESISTANCE.
timeFrame
[in] Time frame of desired prices. -1 Outputs the data of all active timeframes.
Return Value
In case of success, the given 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 passed from the terminal to Glib, there may be occasional errors in the output.
Example:
//--- Include Glib classes |
See also
GSupportAndResistance.GetAll, GSupportAndResistance.GetPivots