Setting Colors in MQ4 Automatically

To add comments, please log in or register
martin eshleman
293
martin eshleman  

Hello everyone. I am curious to know if it is possible to program an EA to display comments on the chart in different colors without a user input. For example, if my chart background is black the comments will turn white. If my chart background is white then my comments will turn black. That way the comments will automatically be visible no matter what the chart background color is. I do not know of any functions in MQL4 that return the current chart colors. Again, I am not looking to manually change the chart color or manually input a different color into the EA by a user input. I already can do that. Any suggestions would be greatly appreciated. Thank you!

To add comments, please log in or register