![](https://c.mql5.com/3/21/objchart.png)
- Charts in MetaTrader 5 trading platform for Forex and stocks
- MetaTrader 5 for your employees
- Web version features
How can I change colors of bar and candle in chart objects( OBJ_CHART ) ?
look here
https://www.mql5.com/en/docs/constants/chartconstants/enum_chart_propertThank you Alexander!
CHART_SHOW_OHLC, CHART_COLOR_CHART_UP, CHART_COLOR_CHART_DOWN (etcetera)
I think these are for main chart (non Chart object)
Is there any way to specify the color different from main chart(non Chart object)
for OBJ_CHART (Chart object)?
Thank you Alexander!
CHART_SHOW_OHLC, CHART_COLOR_CHART_UP, CHART_COLOR_CHART_DOWN (etcetera)
I think these are for main chart (non Chart object)
Is there any way to specify the color different from main chart(non Chart object)
for OBJ_CHART (Chart object)?
Search for OBJPROP_CHART_ID.
ID of the "Chart" object (OBJ_CHART). It allows working with the properties of this object like with a normal chart using the functions described in Chart Operations, but there some exceptions.
Search for OBJPROP_CHART_ID.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use