I am looping my nGraphicCount to a maximum of 200 in order not to hog down the system.
//check and remove object
if(DrawObjects["circ" + nGraphicCount.ToString()] != null)
RemoveDrawObject("circ" + nGraphicCount.ToString());
//DrawObject
Draw.Rectangle(this,"circ"+nGraphicCount.ToString( ),false,Time[1],Close[1],Time[5],High[1],pEllipseUpColor,pEllipseUpColor,nEllipseOpacity);
I do not know how to rectify this.
Comment