Why OnChartEvent Procress is deley Process run with OnTick in MT5

 

I code trading panel on chart in MT5 Platform

I create button and text label object for click to setting and show setting value on chart but value not changed when click suddenly.

Must wait for change at the same time with function Ontick() which delay reaction. but MT4 don't have this problem.


How can I solve this problem? 

 
You must Redraw your chart through ChartRedraw() function
Reason: