Failing at automatic test

 
Greeting everyone!

I want to put my Expert Advisor for sale, however, during automatic testing, the Expert Advisor does not open orders, because in order to open an order, you need to set the EA up first, and only then it opens an order.
Of course, the question is easy solvable, however there are a few nuances. I can easily put in the code something like 'IsTesting()' function, so then the EA is automatically tested before the sale, it use a specific configuration for order opening. However then the user will test the ea in his terminal, it will also use this configuration, which is not very convenient. In order to by pass i used a time filter, so the EA uses the configuration only when a specific time is being tested in the EA. 
if( IsTesting() && TimeCurrent()>StringToTime("2018.05.17 00:00") && TimeCurrent()<StringToTime("2018.05.20 19:07") ) ext_EntryCheck_Sett1="iMa;60;EURUSD;1;20;0;1;0;Buy1;Sell2;";

"ext_EntryCheck_Sett1" - is the rule, so the opens trades

In the past this code was working, however not anymore. As i remember, the market showed what date was used for the testing. Now i tried to use this code and it doesn't open anything.

if( IsTesting() && TimeCurrent()>StringToTime("2021.01.18 00:00") && TimeCurrent()<StringToTime("2021.01.20 19:07") ) ext_EntryCheck_Sett1="iMa;60;EURUSD;1;20;0;1;0;Buy1;Sell2;";
I just don't want the setting to be used when the user does their personal test. Maybe there is some function or a flag that indicates that a test is being carried out in the market?
 
Solved the issue myself. During the test, pairs with the names "XAUUSDcheck" and "GBPUSDcheck" are used. So added them as a condition, now the EA is being tested normally.