Is it possible in MT5 in the indicator code to get data on the account number/login through which the terminal is connected, in order to further compare it with the pre-registered one? Well, that is, so that the indicator works only for a specific user and on a specific terminal.
Or is there any other way to solve this problem?
levchenko
You can find out the number (and other account attributes) and compare them. Via the AccountInfo function
mvs
AccountInfoInteger(ACCOUNT_LOGIN);
AccountInfoString(ACCOUNT_NAME);