Automatically Changing Colors In MQL4

 

Hello everyone. I am curious to know if it is possible to program so that the chart's comment colors change automatically without the need for a user input. For example, if I wanted to display a comment in the same color as the ask line then it would automatically change. If I would change the ask line color property then the program would change the comment color also. This is just an example. I do not know of any functions that deal with the chart color properties so I don't know if something like this is possible. Any help or suggestions would be greatly appreciated. Thank you.