Are you talking about pending orders ? If yes, it's relatively easy to program your point 1.
I don't think your point 2 is possible.
Yes, I'm talking about pending orders such as a buy limit.
So to program point 1, would this be achieved with a script?
My understanding would be to create two scripts.
1. That saves all pending orders. (Then I could delete them manually in the Trade panel).
2. That reloads all saved pending orders.
Would that be possible? - If so I'll make a request in the jobs section.