I'm doing something wrong... put that code in onBarUpdate() and it does not draw the rectangle on the right of the screen, I mean there chart plots data much past the right edge of the right side of the rectangle.
How can I draw a rectangle that goes right to most recent bar?
Comment