AccountInfoString

対応する口座のプロパティの値を返します。

string  AccountInfoString(
  ENUM_ACCOUNT_INFO_STRING  property_id      // プロパティ識別子
  );

パラメータ

property_id

[in]  プロパティの識別子。可能な値は ENUM_ACCOUNT_INFO_STRING の値のいずれかになります。

戻り値

string 型の値

例:

void OnStart()
 {
//--- AccountInfoString() 関数で使用可能な情報を全て表示する
  Print("The name of the broker = ",AccountInfoString(ACCOUNT_COMPANY));
  Print("Deposit currency = ",AccountInfoString(ACCOUNT_CURRENCY));
  Print("Client name = ",AccountInfoString(ACCOUNT_NAME));
  Print("The name of the trade server = ",AccountInfoString(ACCOUNT_SERVER));
 }

参照

口座情報