Resp traders please help me with this doubt

suppose i bougt a stockt at 50 and sold at 55,then later in the session again bought at 52 and sold at 57
will my profits be calculated op aper trade basis means rs 10 or on an avg price basis

May it be trade basis or on average basis your profit will be exactly same:
Suppose you are buying 100 shares

Trade basis (5100) + (5100) = 1000
Average basis (5*200) = 1000 (since your average price would be for 200 shares as you have bought 100 shares twice)

Your profits and charges will be calculated for every trade. You can check the breakdown in your contract note at the end of the day. You can check this out in our brokerage calculator tool