Please help on coding

 

i need coding If candle stick break up or down it should open buy and sell order on same time, both sides, with stop loss, take profit please help

please post full coding ...