Lock EA for multiple users please help!!
Think about this line of code:
if(LockToAccount&&AccountNumber()!=AccountNum||AccountNumber()!=AccountNum2||AccountNumber()!=AccountNum3)
You can't combine an && with multiple || conditions
Build a new logical structure...

You are missing trading opportunities:
- Free trading apps
- Free Forex VPS for 24 hours
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello, im trying to create a function that locks the EA for different users to use only by their AccountNumber
please help something is wrong here.. when im using only one user like here it is working fine and no problem what so ever:
thank you hoping to get some help here please..