ChartMouseEventArgs Mouse Y translate to price

Created at 22 Mar 2020, 16:46
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
ZE

Zenner

Joined 14.07.2012

ChartMouseEventArgs Mouse Y translate to price
22 Mar 2020, 16:46


Hi

Is there a way i can convert the ChartMouseEventArgs.MouseY Property to a price on the chart ? So as an example if i get a MouseY value of 350 that would be which price ?

 

Best Regards,

Sune


@Zenner
Replies

PanagiotisCharalampous
23 Mar 2020, 09:06 ( Updated at: 21 Dec 2023, 09:21 )

Hi Sune,

ChartMouseEventArgs also has a YValue property. See below

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

Zenner
23 Mar 2020, 11:48

RE:

Hi Panagiotis

Thanks I will try that.

 

Best Regards,

Sune

 

 


@Zenner