obj_rectangle extension New comment kate 2016.12.29 10:00 https://docs.mql4.com/constants/objectconstants/enum_object/obj_rectangle I have read the above and searched, but cannot find how to amend the following piece of code so that all rectangles are extended to the hard right edge.============ObjectCreate (0,StringConcatenate("kkx",index),OBJ_RECTANGLE,0,crossovertime,kkx1,TimeCurrent(),kkx2); ============if anyone could point me in the right direction that would be very much appreciated.Happy new year. Hugs Kate xx OBJ_RECTANGLE - Object Types - Objects Constants - Standard Constants, Enumerations and Structures - MQL4 Reference docs.mql4.com OBJ_RECTANGLE - Object Types - Objects Constants - Standard Constants, Enumerations and Structures - MQL4 Reference ATR daily and weekly : MT4 MT4 Chart Order Panel with pip sl tp instant click Stop- and limit-orders EA. In ergent need for it. William Roeder 2016.12.29 13:23 #1 ObjectCreate is irrelevant, one you create an object you can't create it again.Either you have to delete it and recreate it, or you change the second coordinate. New comment
https://docs.mql4.com/constants/objectconstants/enum_object/obj_rectangle
I have read the above and searched, but cannot find how to amend the following piece of code so that all
rectangles are extended to the hard right edge.
============
ObjectCreate (0,StringConcatenate("kkx",index),OBJ_RECTANGLE,0,crossovertime,kkx1,TimeCurrent(),kkx2);
============
if anyone could point me in the right direction that would be very much appreciated.
Happy new year.
Hugs Kate xx