Long and Short trades with limits/onstops oco stops and limits

I have tried relentlessly to get codes that work with

Long and Short trades with limits/onstops if done oco stops and limits

Can any body give me examples on how the work on Seetu effectively?