Different Colors for Volume and Opening Level?

 

CHART_COLOR_VOLUME - color of volumes and position opening levels


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


Thx, Sven

 
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 

 
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


 
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

 
angevoyageur:

You can't.

CHART_COLOR_VOLUME

Color of volumes and position opening levels

color


A clean and simple answer. Thanks.

Reason: