Help me to code my strategy

my strategy is on nifty & banknifty option. to order I will use bracket order. when I going to place order , then a specific targe & stoploss will be mentioned automatically (as per my predecision). & the limit order will be the currrent market order, so that as soon as placed the order. the order will be placed.

As per the above requirement it is not possible to auto place the orders, your query is related to automation.