Me as a Computer and communications engineer, i always look forward to get the optimal performance of mikrotik devices, but as i mentioned in old post that i always need much time to find a good frequency to give a good bandwidth for clients with less ping time.
For that why there is no software that offer you an option to enter the ip you want to test bandwidth and ping on so it searches a range of frequencies automatically, and save the test result of every frequency, so finally it gives you the best frequency depending on choosing the highest bandwidth saved in the application data and the lowest ping time. i feel its a good idea that facilitate this problems and save time.
I had the same idea after spending a month testing every permutation (which is many when you can have 20, 40, 80MHz and all the different Ceee etc).
Also: note that the radio software already does some of this in changing the signal rate (based on retransmits, BER, phase of the moon..) and it is not clear to me that it is doing a good job all the time.
In many environments, “what is the best frequency” is not static. It will depend on what the other users of
the spectrum are doing. A frequency that you find almost unused during your test may be very busy at
other hours of the day. Or your neighbor may find it unused as well and start using it.
Also, in many WiFi regulations it is not allowed to configure a static frequency. The AP is to change
frequency when RADAR interference is detected. This may also make the results of the test unusable.
Other than that, you can “easily” write a program on a PC that does what you propose here, using the
MikroTik API. That at least allows you to do a proof of concept.