Script for MetaTrader 4, MetaTrader 5


Designed to bind a product to an account.
The number of accounts and brokers is unlimited.


The script code.

#property copyright "Copyright © 2017, Sergey Malysh 12.09.2017"
#property link "http://www.FiboPlus.ru"
#property version "1.00"
#property strict
void OnStart()
{
long acc_number;
string acc_company, acc_user;

acc_company = AccountInfoString(ACCOUNT_COMPANY);
acc_user = AccountInfoString(ACCOUNT_NAME);
acc_number = AccountInfoInteger(ACCOUNT_LOGIN);

Print("Company (", acc_company, ") User (", acc_user, ") Number (", string(acc_number), ")");
Comment("Company (", acc_company, ") User (", acc_user, ") Number (", acc_number, ")");
}


download script for MT4 (exe)
download script for MT4 (source)

download script for MT5 (exe)
download script for MT5 (source)