Request for Load Balancing Script

I need script for my MikroTik that will

“Help you choose the better connection with more free bandwidth.
Traffic will be directed to the link with the most available bandwidth among the selected connection”
Check the picture below:

I got 3 difrent ISP(modems) in my builidng i want to plug them to one MikroTik.

Bueacse im renting 10 flats to guest I want to guarannte them good internet.

Is there possibilite to make that kind of script?

Hello, you can do it without script:

http://mum.mikrotik.com/presentations/US12/steve.pdf
http://wiki.mikrotik.com/wiki/How_PCC_works_(beginner)
http://wiki.mikrotik.com/wiki/Manual:PCC
https://aacable.wordpress.com/2011/06/04/mikrotik-4-wan-load-balance-pcc-complete-script-by-zaib/
http://mum.mikrotik.com/presentations/ZA13/bisschoff.pdf