Is hedging allowed?

Within one account, yes. Across your own accounts or with other traders, no.

You can hedge within one account.

Opening opposite positions across your own accounts, or with other traders, is not allowed.