Different Colors for Volume and Opening Level?

To add comments, please log in or register
svengralla
96
svengralla  

CHART_COLOR_VOLUME - color of volumes and position opening levels


How can I set different colors for volume and opening level?


Thx, Sven

Rodrigo Malacarne
Moderator
11156
Rodrigo Malacarne  
svengralla:

CHART_COLOR_VOLUME - color of volumes and position opening levels


How can I set different colors for volume and opening level?


Thx, Sven

Hello svengralla,

did you try anything so far? Please show us a little effort, so we can help you with your questions.

Regards,
Malacarne 

svengralla
96
svengralla  
Malacarne:

Hello svengralla,

did you try anything so far? Please show us a little effort, so we can help you with your questions.

Regards,
Malacarne 

Hi Malcarne,

I don't even know where to look for.

Can't find something in ENUM_CHART_PROPERTY_INTEGER.

This doesnt answer the question:

//| Sets the color of volumes and market entry levels                |
//+------------------------------------------------------------------+
bool ChartVolumeColorSet(const color clr,const long chart_ID=0)
  {
//--- reset the error value
   ResetLastError();
//--- set color of volumes and market entry levels
   if(!ChartSetInteger(chart_ID,CHART_COLOR_VOLUME,clr))
     {
      //--- display the error message in Experts journal
      Print(__FUNCTION__+", Error Code = ",GetLastError());
      return(false);
     }
//--- successful execution
   return(true);
  }


And changing 'Volumes' color in the chart 'Properties' dialog also changes the color of the 'Opening level'.

Google doesnt help. Now what?!


Regards, Sven


Alain Verleyen
39033
Alain Verleyen  
svengralla:

Hi Malcarne,

I don't even know where to look for.

Can't find something in ENUM_CHART_PROPERTY_INTEGER.

This doesnt answer the question:

//| Sets the color of volumes and market entry levels                |
//+------------------------------------------------------------------+
bool ChartVolumeColorSet(const color clr,const long chart_ID=0)
  {
//--- reset the error value
   ResetLastError();
//--- set color of volumes and market entry levels
   if(!ChartSetInteger(chart_ID,CHART_COLOR_VOLUME,clr))
     {
      //--- display the error message in Experts journal
      Print(__FUNCTION__+", Error Code = ",GetLastError());
      return(false);
     }
//--- successful execution
   return(true);
  }


And changing 'Volumes' color in the chart 'Properties' dialog also changes the color of the 'Opening level'.

Google doesnt help. Now what?!


Regards, Sven


You can't.

CHART_COLOR_VOLUME

Color of volumes and position opening levels

color

svengralla
96
svengralla  
angevoyageur:

You can't.

CHART_COLOR_VOLUME

Color of volumes and position opening levels

color


A clean and simple answer. Thanks.

To add comments, please log in or register