Panel color

 
Hello all,

I'm playing around with the MT4 simple panel (existed by MT4 default).
I'm trying to change the background color but have no luck so far. Is it possible? if yes, how?

Thank you
 
As I know it`s not possible
 
Really? I saw some comercial panel with custom color.
Are they doing it differently?
 
devilian1899:
Hello all,

I'm playing around with the MT4 simple panel (existed by MT4 default).
I'm trying to change the background color but have no luck so far. Is it possible? if yes, how?

Thank you

What is the MT4 default simple panel?

You can use a rectangle label and set the background colour

 
devilian1899:
Hello all,

I'm playing around with the MT4 simple panel (existed by MT4 default).
I'm trying to change the background color but have no luck so far. Is it possible? if yes, how?

Thank you
bool ChartBackColorSet(const color clr,const long chart_ID=0)
{
//--- reset the error value
   ResetLastError();
//--- set the chart background color
   if(!ChartSetInteger(chart_ID,CHART_COLOR_BACKGROUND,clr))
     {
      //--- display the error message in Experts journal
      Print(__FUNCTION__+", Error Code = ",GetLastError());
      return(false);
     }
//--- successful execution
   return(true);
}
 
rod178:

Hello,

Thank you.
But actually it's not what I was after.

You can see the simple panel by go to "indicators" -> "examples" -> "simple panel" on your MT4
 

Hi!

You can change the color in the class libraries. But your changes might be overwritten by an update. So you also have to change the filenames and the include statements. and check if there are bug-fixes with the updates und you have to include this fixes manually.

Or you change the color of each object just after you created them.

The best way is to write you own classes based on the library to do your changes, but you have to be scilled in OOP.

 
eddie:

Hi!

You can change the color in the class libraries. But your changes might be overwritten by an update. So you also have to change the filenames and the include statements. and check if there are bug-fixes with the updates und you have to include this fixes manually.

Or you change the color of each object just after you created them.

The best way is to write you own classes based on the library to do your changes, but you have to be scilled in OOP.



Hi Eddie,

Yes, thank you for the advice.
Reason: