Fill the rectangle

Created at 20 Feb 2019, 17:32
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!
30

3010996

Joined 01.10.2018

Fill the rectangle
20 Feb 2019, 17:32


Hello.
Is it possible to fill a rectangle drawn by the indicator?


@3010996
Replies

PanagiotisCharalampous
20 Feb 2019, 17:36

Hi lw3010996,

Yes it is. Just set IsFilled property to true. See below

  rectangle.IsFilled = true;

Best Regards,

Panagiotis


@PanagiotisCharalampous

3010996
20 Feb 2019, 17:43

RE:

Panagiotis Charalampous said:

Hi lw3010996,

Yes it is. Just set IsFilled property to true. See below

  rectangle.IsFilled = true;

Best Regards,

Panagiotis

It works great, thank you. I could not find an answer anywhere.


@3010996