TradeMUX SDK Documentation
1.0
TradeMUX SDK Documentation
|
bool ChartXYToTimePrice | ( | long | chart_id, |
int | x, | ||
int | y, | ||
out int | sub_window, | ||
out DateTime | time, | ||
out double | price | ||
) |
Converts the X and Y coordinates on a chart to the time and price values
chart_id | Chart ID. 0 means the current chart |
x | X coordinate. The origin is in the upper left corner of the main chart window |
y | Y coordinate. The origin is in the upper left corner of the main chart window |
sub_window | Number of the chart subwindow. 0 denotes the main chart subwindow |
time | Variable, into which the chart subwindow number will be written. 0 means the main chart window |
price | The price value on the chart, for which the value in pixels along the Y axis will be received |