GetValueByY()
GetValueByY()
Definition
Returns the series value on the chart scale determined by a y pixel coordinate on the chart.
Method Return Value
A double value representing a series value on the chart scale. This is normally a price value, but can represent indicator plot values as well.
Syntax
\<chartscale\>.GetValueByY(float y)
Method Parameters
Examples
In the image below, we pass a value of 1 for the y value, which tells us the pixel coordinate of 1 is located at a price of 2106.19 on the chart scale.


