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
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
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.
Color of volumes and position opening levels |
color |
A clean and simple answer. Thanks.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
CHART_COLOR_VOLUME - color of volumes and position opening levels
How can I set different colors for volume and opening level?
Thx, Sven