I hope someone could help with the issue I was facing.
I am drawing green and red rectangles with 2 separate buttons. Problem is, when I am drawing the green rectangle, it draws in green color and then when trying to draw the red, it then keep starting drawing the rectangle in green, but when I finish drwing it and click, it changes all the rectangle colors drawn on chart to red. and same for opposite colors as well.
I would appreciate any advice from anyone. There is something I am not doing correctly.

Comment