I have an equally difficult 9 year old, so you have my sympathies.
This is our latest technique that we're trying with our DDs, and it seems to be working (although it is still new with them).
Each week, we have set up a Reward chart, with a stated reward and sanction for the end of each week.
Then each day, we have the sun, rainbow, cloud thing. (The girls have this at school and like it). So if they're good, they go on to the sun, and naughty / irritating they go onto the cloud.
In addition, she has 'lives' when she is naughty she loses a life. If she has lost all her lives by the end of the week, she gets the stated punishment. If she keeps all her lives, she gets the reward.
Although it sounds complicated, it really isn't. I don't know about your daughter, but mine relishes on praise, but gets into moods when she tries to wind people up. We're trying to have a positive based system, so that she can earn the reward each week, and focus on the good.
The other thing is maturity! As my daughter is getting older, she is able to cope with her emotions more. I find now, when the red mist descends, and she's in that phase when there's no reasoning with her, we get her to take time out. She finds writing it all down (usually things like 'I hate mum, she's the worst mother in the world etc...) really helps her to get it out of her system and she calms down and then rejoins us once it is out of her system.
I find she is at her worst when in the company of others, so to help her save face we have developed a code word, whereby I tell her to calm down. Currently, it is 'strawberries'. But she now knows that she needs to adjust her behaviour and calm down or she will be sent to her room in front of her friends.
Although she can be hard work, I'm finding my daughter is starting to get better and is in fact, delightful most of the time. She just needs a firm hand!