I want to place reverse order once the other order is sqaured off

Dear Team and community memebers

I’m using webhook tradingview to place my orders based on startegy

however, orders are getting placed and squaredoff based on the startegy, however, i want to place the reverse entry as well, but the alert is coming at the same time, it is getting rejected,

in other platsforms, we can put in jason just to square off and not place order, how can we do in dhan. please help

nitin

Hello @STYLENVY

Welcome to Dhan Community!

In case you want to place reverse entry, you can place order via alert for double quantity. For example, if you have a long position of x quantity, you can reverse your position with sell order of 2x quantity. Hope this helps!

THANKS for your reply, however i did this, and the position got squared off but the entry didnt happened, due to margin, how can we solve this

@STYLENVY

This should not happen. You will only require margin for the short quantity i.e. for x sell quantity. Do not that sell margin is usually higher than buy margin. Your buy margin (for the initial position) will not be taken into account until your position is squared off.

thanks, i will try again