Refactored RefreshChart.mq4