Keep the drawings on chart

 

Hi there,

I write here to understand where I can find a little bug on my code.

My code draw zones clicking on my button present on chart.

If I draw on EURUSD and I takes a new symbol and then reopen EURUSD where I drew the rectangle, the rectangle doesnt appears.

Somebody can you help me to find the issue to resolve it?

Thanks to all,

thanks

 
  1. Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using Code button).
         How To Ask Questions The Smart Way. 2004
              Be precise and informative about your problem

    We can't see your broken code. It is likely that your code removes all created objects on deinit.

  2. Stop switching symbols - open a second window for the second symbol.