Help me with completing a meta trader 4 expert advisor

Job ID: 35621252

Budget: ₹600 – ₹1,500 INR

Hi I have created a meta trader 4 expert advisor with a simple strategy which is a combination of stochastic and Bollinger bands indicator. I have completed 80% of the coding but i'm struggling with the order close function. I need help to complete the order close function that's it. I will attach the strategy along with this.
Related categories: PHP Algorithm Statistics Mathematics Trading