What Should be My Code, When I Want To Exit The Bought Position At ( AVG + 1Point ) Example: ICICI bought @302.30 (at market rate) And I Want To Sell It At 1 Point Profit.
I.e Avg price + 1 should be the exit price. how should I write? need to put a limit sell order, immediately after placing the first order, I need to extract previous orders avg price and add it with 1 for the exit price.