I copied and pasted the:
DrawRectangle("Rectangle", rectWidth, Close[rectWidth], 0, Close[0], Color.Blue, Color.BlueViolet, 5); into another indicator that was already running at the chart on the chart but receive the following.
Error on calling the 'OnBarUpdate' method for indicator 'ScalperCopy' on bar 7: Index was out of range. Must be non-negative and less than the size of the collection.
Comment