Drawing Horizontal lines on multi charts

Created at 27 May 2021, 11:17
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!
RO

romanoc

Joined 23.11.2018

Drawing Horizontal lines on multi charts
27 May 2021, 11:17


Dear All,

Question: If i run bot on EUR/USD is it possible to draw horizontal line on different chart?

As there is DrawHorizontalLine method  and does not  contain symbol name.

public ChartHorizontalLine DrawHorizontalLine(string name, double y, Color color, int thickness)

 

Do you know solution for it?

 

Thanks for reply


@romanoc
Replies

PanagiotisCharalampous
27 May 2021, 16:22

Hi romanoc,

Unfortunately this is not possible. A cBot/Indicator can operate only on the current chart.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous