Comment on Managing your Script
Pavan,
This query of yours has nothing to do with algoZ. Check the blog on how to place orders .
Place a selling order with limit price 10 and place selling stop loss with trigger at 6. Make sure you cancel one when the other gets executed, otherwise it will be considered as a fresh order.