co de help

 

any body can tell me the code to trade long or short only , Long & Short at positions ? thank very much