How to draw Line on indicator area ?

Created at 12 Dec 2019, 15:20
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!
AN

anthony.vella.2409

Joined 12.12.2019

How to draw Line on indicator area ?
12 Dec 2019, 15:20


Hello,

There is function to draw line on chart, but i cant find how to draw line on the indicator area, i wanted to know if this is possible, and how.

Thanks


@anthony.vella.2409
Replies

PanagiotisCharalampous
12 Dec 2019, 15:27

Hi anthony.vella.2409,

It is possible to do this, you just need to use Chart.IndicatorAreas. See below an example

 Chart.IndicatorAreas[0].DrawText("Test", "Test", Server.Time, 1, Color.Red);

Best Regards,

Panagiotis


@PanagiotisCharalampous

anthony.vella.2409
12 Dec 2019, 15:29

RE:

PanagiotisCharalampous said:

Hi anthony.vella.2409,

It is possible to do this, you just need to use Chart.IndicatorAreas. See below an example

 Chart.IndicatorAreas[0].DrawText("Test", "Test", Server.Time, 1, Color.Red);

Best Regards,

Panagiotis

Thanks for your fast and good answer!


@anthony.vella.2409