want to create a serial key for my ea that works only in one account per serial key
-
Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum 2019.05.06
Messages Editor - If you sell it on the Market, you don't have to worry about such things.
- pek4christ: but it doesnt show how on serial key is restricted to one accountThe hash of the account number must match your key. Your posted code shows exactly "how on serial key is restricted to one account."
-
Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum 2019.05.06
Messages Editor - If you sell it on the Market, you don't have to worry about such things.
- The hash of the account number must match your key. Your posted code shows exactly "how on serial key is restricted to one account."
I will check it out Thanks
This is not a serial control, just password protection.
You need to do more. :)
I will check it out Thanks
int Key=AccountNumber()*2+1000001; // Calculating key if (Parol==Key) // If the password is correct, then.. return(true); // ..allow the real account to tradeCan the key be equal to the Parol
Good Day Friend, I'm having a challenge Try to Create Serial key for my new ea, a serial key that work one only one account per serial key. I got this example from mql4 code base but it doesnt show how on serial key is restricted to one account here is the code :