Draw a ray or a straight line

Created at 21 Jul 2024, 17:10
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!
CD

cDavid

Joined 24.11.2023

Draw a ray or a straight line
21 Jul 2024, 17:10


Hi everyone, I can't draw a straight line or a half straight line given two points in time and value. Can you help me? Thank you


@cDavid
Replies

PanagiotisCharalampous
22 Jul 2024, 06:38

Hi there,

Can you be more specific what the issue is? Are you using the trend line? What is preventing you from doing so?

Best regards,

Panagiotis


@PanagiotisCharalampous

cDavid
22 Jul 2024, 09:40

I'm using Chart.DrawTrendLine and need it to be infinite on the right of the screen


@cDavid

PanagiotisCharalampous
23 Jul 2024, 05:19

RE: Draw a ray or a straight line

cDavid said: 

I'm using Chart.DrawTrendLine and need it to be infinite on the right of the screen

Set your line's ExtendToInfinity property to true


@PanagiotisCharalampous

cDavid
23 Jul 2024, 22:24 ( Updated at: 24 Jul 2024, 06:21 )

RE: RE: Draw a ray or a straight line

PanagiotisCharalampous said: 

cDavid said: 

I'm using Chart.DrawTrendLine and need it to be infinite on the right of the screen

Set your line's ExtendToInfinity property to true

A thousand thanks


@cDavid