"Alle" means all.
"Objects can be set to not appear in the list." - How?
I just used:
bool drawStick( const string id, const ENUM_BASE_CORNER corner, const int x, const int xsz, const int y, const int ysz, const color clr) { ChartSetInteger(ChartID(),CHART_FOREGROUND,0,false); bool ret = ObjectCreate(ChartID(),id,OBJ_RECTANGLE_LABEL,0,0,0); if ( !ret ) { Alert(__FILE__," ",__LINE__," Stick could not be created, err: ",_LastError); return(false); } ObjectSetInteger(ChartID(),id,OBJPROP_COLOR,clr); ObjectSetInteger(ChartID(),id,OBJPROP_CORNER,corner); ObjectSetInteger(ChartID(),id,OBJPROP_XDISTANCE,x); ObjectSetInteger(ChartID(),id,OBJPROP_YDISTANCE,y); ObjectSetInteger(ChartID(),id,OBJPROP_BACK,false); ObjectSetInteger(ChartID(),id, OBJPROP_YSIZE,xsz) ); ObjectSetInteger(ChartID(),id, OBJPROP_XSIZE,ysz); return(true); }
There is nothing that should 'hide' these rectangles.
How can I write them into the list of objects?
Carl Schreiber:
"Alle" means all. "Objects can be set to not appear in the list." - How? |
|
Ok, understood, thank you, but how do I change their color?
I painted them in clrRed - the become Silver - I changed one to Magenta, it is still Silver?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
I (mt4 b1065) created 10 little rectangles at the lower right corner and and changed their size acc. to the image BUT, they do not appear as objects in the object-window (ctrl-B)?
Anybody else with this experience?
Beside that I cannot (de-) select them e.g. do delete them manually.