Graphical objects in live tading chart window

 

Hello,

Does anyone know of a way to draw the same graphical objects that are displayed in the strategy tester chart window i.e. the buy and sell circular flag symbols and the dotted line that connects them, in the live trading chart window?
Is there code available to do this?

Thanks.

Wilbur.

Reason: