How can to change the background color of chart in indicator code?

Created at 25 Feb 2019, 20:12
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!
HI

hishalv

Joined 25.02.2019

How can to change the background color of chart in indicator code?
25 Feb 2019, 20:12


Is possible to use ChartColorSettings.BackgroundColor to change the color of the background of chart? How can be this? Example if possible. Thank you


@hishalv
Replies

PanagiotisCharalampous
26 Feb 2019, 09:57

Hi hishalv,

Thanks for posting in our forum. Yes this is possible. See an example below

 Chart.ColorSettings.BackgroundColor = Color.Red;

Best Regards,

Panagiotis


@PanagiotisCharalampous

hishalv
26 Feb 2019, 10:25

Hello Panagiotis

Thank you. I'm learning Calgo in my first time. Look forward to using it. 

Much Appreciated

hishalv


@hishalv