Making Ray() Accessible

Created at 12 Dec 2022, 21:47
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!
DV

dvpelle

Joined 12.12.2022

Making Ray() Accessible
12 Dec 2022, 21:47


To a senior developer,

I would like to know if there are any plans, in a later release, to make Ray() accessible?

Ray ray = Chart.DrawRay(...);

double _angleInDegrees = ray.Angle;

If so, when?

Thank You!

Regards,

dvpelle.


@dvpelle
Replies

dvpelle
19 Dec 2022, 14:00

RE:

PanagiotisChar said:

Hi there,

You can use a ChartTrendLine and make it infinite

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

I have set trendline 'ShowAngle' to true, and understand the angle calculation is done using pixels,

as per an older post of yours, where you stated that the angle was not accessible at the moment (11/02/21)

Are there any plans to make it accessible?

Regards,

dvpelle

 


@dvpelle

PanagiotisChar
20 Dec 2022, 09:20

Hi there,

I don't think Spotware has such plans. It does not make sense to do it otherwise. To calculate degrees, you need to have the same unit of measurement on each side.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us


@PanagiotisChar