Create Multiple Queue Tree At Once - MikroTik Script RouterOS
How to Make Automatic Mikrotik Queue Tree Using Script (Queue Tree generator)
:for x from 1 to 254 do={/queue tree add name="CLIENT-$x" packet-mark="mark-pc$x" parent="GLOBAL" max-limit=2M}
You can try Queue Tree generator here