Why do you "need to change the color?"
- Draw a background rectangle
- Apply a template (could be done with a postMessage)
or save a template with the right colors u want,
then load the template with PostMessageA or SendMessageA
Unfortunately I can't use the solution with the template, because I have always different indicators in the window.
@WHRoeder
how did you mean this with “Draw a background rectangle”? Did you mean a normal rectangle with needed colour? Or is there an another possibility to create an rectangle for the background?
OBJPROP_BACK 9 Boolean value to set/get background drawing flag for object.
I would try the way with the PostMessageA or SendMessageA and user32.dll. Unfortunately I do not have much experience with use of dlls. Do you have some scripts, where I can see how I can use PostMessageA or SendMessageA in the context with templates?
Thanks a lot
Thank you!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Dear All,
is there a possibility to change the window background color with a mql4 script? I have found in the forum some possibilities to draw a rectangle in another color, but this is not what I mean. I need to change the color of the background.
Thank you very much for your Help