Bug separate window, I can't understand what it is

 

Dear everyone,

My chart window version indicator works perfectly, but separate window version don't work correctly. I only change "#property indicator_chart_window" to "#property indicator_separate_window". I attach separate window version indicator soure code in post.

Please tell me how to fix it.

Thanks and regards.

Bug

https://charts.mql5.com/27/671/gbpusd-pro-h1-axicorp-financial-services.png