Color Index to color
- Sorting graphic objects
- Please fix this indicator or EA
- Multi Timeframe Indicators
ObjectSetInteger()Can be used in mql4 or mql5
- www.mql5.com
Don't works. I'm trying to use the
#property indicator_color1 clrAqua,clrBlue
to set the color of the object using the index as in indicators, but is not working, because is not an indicator plot. The question is how to convert the (int)color index into (color) to use it in others objects that is not an indicator plot? I can use the (input) parameters, but the color tab is visible even if I do not declare the property.
void create() { Label.Create(0,"label",0,0,0,0,0); ObjectSetInteger(0,"label",OBJPROP_COLOR,1); style(); geometry(); }
Is it possible?