[MQL4] How to know if EA is being rent or buyed via MQL5.com ?

 

I'm developing an EA and I want be able to sell it via MQL5 services and via custom licensing codes.

Is there a way inside EA code to know if it is running via MQL5 or not?

I haven't found anything documented about this topic, thanks in advance.

 
Why do you care? It shouldn't do anything different.
 
Francesco Strappini:

I'm developing an EA and I want be able to sell it via MQL5 services and via custom licensing codes.

Is there a way inside EA code to know if it is running via MQL5 or not?

I haven't found anything documented about this topic, thanks in advance.

Yes it's possible. See documentation.

Reason: