Giraudy,
Just started using your code and I like the changes you have added.
I have found two issues.
1 - If the algo that I am mining goes from the top Net value to a negative value, Miner Control (v1.7.0.0 Bata) dose not switch. It keeps mining the same algo, It dose mark the the algo that it is supposed to switch to with the status of "Pending". It never switches.
2 - When I test NiceHash (CryptoNight and Equihash, so far) it dose not work. I have found that it is dropping the "a" form "usa" when it runs the command. I have checked and my config file is set correctly. If I switch to "eu" it works. If I try the command manually form a prompt it works (i.e. dose not drop the "a").
Thank you.
about 1 - in config file change "minebyaverage" to false.it will switch everytime when new algo would be more profitable.but it is much more switches. it drops stability and increases time for switching.
about 2 - why use minercontrol if nicehash miner controls and switches by itself?