BUG with Market products license checking.

 

From time to time, when MT5 has been close for a while, when you restart it and you are using Products from mql5.com the license failed to be checked correctly and the Product is then removed from the chart. Which can be very annoying (even dangerous if it happens with trading EA) and unnoticed by the user.

If happens with indicators, but Indicators remain on the chart, so they are back to normal when you switch timeframe or symbol for example. But EAs are just removed from the charts.

I don't know when this is happening, possibly when the platform is closed for a long time (more than 1 day ?). I have logs to demonstrate the issue if needed.

I looks like this :

LS    2    09:37:39.184    [Product name]    invalid license

While the license is perfectly valid.
 
Alain Verleyen:

From time to time, when MT5 has been close for a while, when you restart it and you are using Products from mql5.com the license failed to be checked correctly and the Product is then removed from the chart. Which can be very annoying (even dangerous if it happens with trading EA) and unnoticed by the user.

If happens with indicators, but Indicators remain on the chart, so they are back to normal when you switch timeframe or symbol for example. But EAs are just removed from the charts.

I don't know when this is happening, possibly when the platform is closed for a long time (more than 1 day ?). I have logs to demonstrate the issue if needed.

I looks like this :

LS    2    09:37:39.184    [Product name]    invalid license

While the license is perfectly valid.

I experienced a similar issue following each recent beta MT5 update. The attached Market products were silently removed. Upon dragging a subscribed Market product on a chart, I received a "Please reinstall the Market product" pop-up window. So I did.

To be clear, it took several minutes for the platform to connect to the demo server after each update. Interestingly, my mql5.com account was present throughout the entire process. This was a free product in a demo account, so no harm-no foul.

I did restart MT5 as Administrator in Windows but this did not appear to speed up the process.

Could your issue be related (due to your closed platform only updating upon opening)?

 

As far as I know - activation will be lost because of major Windows updates, hardware updates and different authorization to the Windows (as a regular user of Windows or as admin for example), for example:

Forum on trading, automated trading systems and testing of trading strategies

Product activation fails

Rashid Umarov , 2021.06.03 09:42

In the Windows operating system, different system configurations are provided for different authorization methods:

1. Authorization as a regular user

2. Authorization by the administrator

3. Authorization via remote access (even if one of the two accounts listed above is selected)

Therefore, each of these cases requires separate product activation, even if the Windows version has not changed and there has been no hardware update. Check how you are authorizing.

-----------------------

Alain Verleyen:

I looks like this :

LS    2    09:37:39.184    [Product name]    invalid license

While the license is perfectly valid.
It is very strange for me - means: the product works without any problem with valid activation but it is written about "invalid license" in the logs ...
I do not know ... may be - such as "floating bug" for example (which is difficult to catch) ...
 
Alain Verleyen:

From time to time, when MT5 has been close for a while, when you restart it and you are using Products from mql5.com the license failed to be checked correctly and the Product is then removed from the chart. Which can be very annoying (even dangerous if it happens with trading EA) and unnoticed by the user.

If happens with indicators, but Indicators remain on the chart, so they are back to normal when you switch timeframe or symbol for example. But EAs are just removed from the charts.

I don't know when this is happening, possibly when the platform is closed for a long time (more than 1 day ?). I have logs to demonstrate the issue if needed.

I looks like this :

LS    2    09:37:39.184    [Product name]    invalid license

While the license is perfectly valid.
Sergey Golubev #:

As far as I know - activation will be lost because of major Windows updates, hardware updates and different authorization to the Windows (as a regular user of Windows or as admin for example), for example:

-----------------------

It is very strange for me - means: the product works without any problem with valid activation but it is written about "invalid license" in the logs ...
I do not know ... may be - such as "floating bug" for example (which is difficult to catch) ...
I've been dealing with this problem for quite some time now (couldn't find any solution)
If I don't log into the platform for 3-4 days, I see that all loaded EAs have been removed
I quickly reload them by using ready templates, but this situation can cause complications

The warning messages I receive:
  • Invalid license -> Experts
  • Initializing of “...” failed with code 0 (prepare to execution failed) -> Journal 
 
BEN #:
The warning messages I receive:
  • Invalid license -> Experts
  • Initializing of “...” failed with code 0 (prepare to execution failed) -> Journal 
I have "invalid license" issue when the activation was lost - because of Windows update or I login/used to Windows as admin ("open as administrator").
So, I delete those products from Metatrader and install them once again (from same Metatrader), and yes - one activation will be used because of that.

More details: post 
BUG with Market products license checking.
BUG with Market products license checking.
  • 2025.06.16
  • www.mql5.com
From time to time, when MT5 has been close for a while, when you restart it and you are using Products from mql5...
 
Sergey Golubev #:
I have "invalid license" issue when the activation was lost - because of Windows update or I login/used to Windows as admin ("open as administrator").
So, I delete those products from Metatrader and install them once again (from same Metatrader), and yes - one activation will be used because of that.

More details: post 
Unrelated to the reported issue.
 
Alain Verleyen #:
Unrelated to the reported issue.
I know about "invalid license" issue according to the following: activation is lost because of - post  
Otherwise - it is some kind of "floating bug" which is difficult to reproduce. 
BUG with Market products license checking.
BUG with Market products license checking.
  • 2025.06.16
  • www.mql5.com
From time to time, when MT5 has been close for a while, when you restart it and you are using Products from mql5...