How to draw vertical line on chart only (not indicator areas)?

Created at 05 Apr 2021, 10:31
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!
FI

firemyst

Joined 26.03.2019

How to draw vertical line on chart only (not indicator areas)?
05 Apr 2021, 10:31


Hi everyone:

How do I draw vertical lines in the chart area only?

When I use Chart.DrawVerticalLine(), it draws the vertical line not only through the chart area, but in all the indicators underneath the chart as well.

I do not want this.

Thank you.


@firemyst
Replies

PanagiotisCharalampous
05 Apr 2021, 11:25

Hi firemyst,

It is not possible at the moment. To avoid this, you could use a trend line instead.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

firemyst
05 Apr 2021, 11:43

RE:

PanagiotisCharalampous said:

Hi firemyst,

It is not possible at the moment. To avoid this, you could use a trend line instead.

Best Regards,

Panagiotis 

Join us on Telegram

Thank you @Panagiotis. I'll do that. Hopefully that API option will be available in a future release.


@firemyst