GREAT THANKS!
Do you want to close specific magic# only?
If not, you don't need this feature. Just use basket profit, it closes all order in all magic#.