|
GZigZag.GetPrice()
Returns the price of the extremum of a specific shift.
double GZigZag.GetPrice( |
Parameter
timeFrame
[in] Timeframe of the extremum
ZigZagShift
[in] Shift of the extremum. Not the bar. 0 means the current, unfinished extremum. 1 corresponds to the last fixed extremum.
Return value
In case of success, the price is returned as double. In case of error, 0 (zero) is returned and an error message is displayed.
Beispiel:
//--- Include Glib classes |
See also
GZigZag, GZigZag.Get, GZigZag.GetAll, GZigZag.GetAllLineLenghts, GZigZag.GetAllPrices