Find out the coordinates of a horizontal line while moving

Created at 19 Feb 2024, 19:22
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!
TS

tsubakka

Joined 19.02.2024

Find out the coordinates of a horizontal line while moving
19 Feb 2024, 19:22


hi all!
is it possible to find out the coordinates of a horizontal line while moving it on the chart? Chart.ObjectsUpdated only tells me if I have already released the line, but I would also like to know parameters while moving
thanks


@tsubakka
Replies

PanagiotisCharalampous
20 Feb 2024, 06:59

Hi there,

Try listening to the Chart.MouseMove event that gives you the location of the mouse on the chart.

Best regards,

Panagiotis


@PanagiotisCharalampous