How to auto-scale custom indicator Window?

 

I am writing a custom indicator. The indicator is in a serarate window. I want to know the way we can set the minimum value of the window dynamically or auto-scale dynamically.

I understand the other complicated method of using ObjectCreate() and WindowFind(). I am wonderig if there is a dynamic auto-scale for the indicator windows?

Suppose my indicator values are in the range of say 1.2500 to 1.2550 is it possible to set the minimum value of the indicator window as 1.2500 dynamically. As in another situation the minimum value can be different.

I don't wish to use inidicator_minimum

Thanks

Reason: