Does the backtest of MT5 can be controlled by the program?

 

The backtest of MT5 is through the mouse and keyboard. 

When I want to back-test many modes, I have to do it every time, which is very troublesome.

for example: 

mode_1: I want to test parameter A, B.

mode_2: I want to test parameter C, D.

mode_3: I want to test parameter E, F.

...

Is there a way to automatically complete the back test in each mode without manual control?

But it is also not possible to write each mode into one strategy, which will face parameter explosion.

I see that the official document says that it can be started in the form of a command line, but the parameter range to be loaded requires sample.set.  How is this set file set?