Unfortunately no 2-step feature. As MikroTik is not really meant to be housed but running into dedicated bandwidth and such.
I would like to implement such scripts but would occupy some of my time, but here's references:
Use version v1.5 from link redirect:
https://wiki.mikrotik.com/wiki/Automate ... sermanager
Overkill solution, you will get very high precision:
https://networkengineering.stackexchang ... n-mikrotik
For the least flash writes, the graphing is the easiest way.
You can also use simple queues other than interface graphing:
viewtopic.php?t=50997
As I use queue tree, it doesn't apply to me.
And that topic also references Traffic-Flow, which works too.