|
GSupportAndResistance.GetPivots()
Fills a double array with the prices of the pivot points of the selected time unit.
void GSupportAndResistance.GetPivots( |
Parameter
&array[]
[out] The array to be filled with data.
timeFrame
[in] Time frame of desired prices. -1 Outputs the data of all active timeframes.
Return value
In case of success, the passed array is extended and supplemented by the pivot elements. In case of error, the pivot points are not added and a message is output.
Note
Even if it is possible to append to other arrays, it is recommended to store the pivot points in a separate array in order to access them via the enumerations ENUM_PIVOTS.
Example:
//--- Include Glib classes |
See also
GSupportAndResistance.InitPivots, GSupportAndResistance.GetAll, GSupportAndResistance.GetAllPrices