Some Brokers don't allow it.
Traders who do it use a spread sheet to get it right.
If anyone is using hedging with good results please post how you use it.
I don't use it but am always willing to try something if someone has a hedging strategy that has worked for them and is KIS.