Draw lines

Created at 15 Oct 2018, 15:25
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!
alexander.n.fedorov's avatar

alexander.n.fedorov

Joined 02.01.2018

Draw lines
15 Oct 2018, 15:25


Hi, Panagiotis.

it used to be that in order to draw a line I would

 

 Chart.DrawLine("low " + DaysBack[i], DaysBack[i], Low[i], NextDay[i], Low[i], Color.Red, thickness, LineStyle.Solid);

 

How do I do it now?

regards, Sasha


@alexander.n.fedorov
Replies

PanagiotisCharalampous
15 Oct 2018, 15:33

Hi Sasha,

Try 

Chart.DrawTrendLine("low " + DaysBack[i], DaysBack[i], Low[i], NextDay[i], Low[i], Color.Red, thickness, LineStyle.Solid);

Best Regards,

Panagiotis


@PanagiotisCharalampous

alexander.n.fedorov
15 Oct 2018, 15:35

Thanks


@alexander.n.fedorov