Change background color of chart during trade from EA

 
Is it possible to change the background color of a chart automatically from within
an EA once a trade has started and then to change it back when closed?

If so could someone please point me in the right direction.

Thank you

Kind regards