Changing chart window title

 

I have script to change chart window title calling winapi sendmessage (WM_SETTEXT command):

 

If I select other chart, my custom title is changing to previous name.

How to set window chart title to be valid even if window lost focus?

 
I did some exercise with the title - including indicators with timers - and I found no acceptable way.
 
Ovo:
I did some exercise with the title - including indicators with timers - and I found no acceptable way.
Indicator with timer isn't good way to do this. I think that new text must be send not only to chart window.
 
Hi @Janusz Trojca, you can make this? thaks!