OK I am starting to understand.
So the customers get a Live Version which they can try out on a Live system for a limited period of time when they select the Free Demo tab in the shop.
What are the exact limitations apart from the Reactivation parameter? i.e. How much time does an end-user get to test a product?
There is nothing in the documentation for that as far as I can find.
Nice to see other people are trading the DAX index future.
I had a similar issue with this, because my ea must use a different trade size when running on a live account.
Use this function to check if the ea is running on a demo or real account, you can also check the broker name.
You can block the ea when it's running under a live account or is using a different trading symbol.
If you want to make sure that the ea is only working on the DAX future, use a string to check the name of the symbol.
I hope this information can solve your problem.
// Symbol name.
// Account type, (DEMO/LIVE)
// Symbol name, but only the firt four characters.
sSymbol = StringSubstr(Symbol(), 0, 4);
// Check symbol name on the trade server.
if(sSymbol == "#FDX" || sSymbol == "DE30")
// Check if the ea is running on a LIVE or DEMO account.
if(AccountInfoInteger(ACCOUNT_TRADE_MODE) == ACCOUNT_TRADE_MODE_DEMO) // Check for DEMO account.
nAccount_Type = 1; // Ref number of account type
Alert("DEMO account! ", nAccount_Type);
else if(AccountInfoInteger(ACCOUNT_TRADE_MODE) == ACCOUNT_TRADE_MODE_REAL) // Check voor een LIVE account.
nAccount_Type = 2; // Referentie nummer van het account type.
Alert("LIVE account! ", nAccount_Type);
Limitation to certain broker and trading symbol is prohibited i guess, only thing you can do - describe this limitation in ea description with big red font :)
I have seen some free demo versions of EAs, where authors limit lot size, or decrease trade frequency, or use default settings irregardles what users have selected in parameters. EA in this case still can be used on demo or live account, but obviously will make everything too complicated
to keep it running forever.
Basically, even if you limit ea to demo accounts - users will use some kind of trade copier that will copy every trade to real account, or will create signals out of it. So there is no point of limiting ea to demo accounts, anybody can copy these trades into real account.
Also, you got the market "DEMO" version wrong. These market demo versions can be only tested in strategy tester. Attaching demo EA to charts is impossible.