is there a way that i could draw a box around a set of candle body and not the wicks of the candles
Of course there is. Compute your top price, bottom price, previous bar's time, current bar + 1 bar's time, and draw your box.
Perhaps you should read the manual. How To Ask Questions The Smart Way. 2004 How To Interpret Answers. RTFM and STFW: How To Tell You've Seriously Screwed Up.
Show us your attempt (using the CODE button) and state the nature of your problem. No free help 2017.04.21
Or pay someone. Top of every page is the link Freelance. Hiring to write script - General - MQL5 programming forum 2018.05.12