본문 바로가기
트레이딩/메타트레이더 코딩

MQL5. AccountInfoString. 메타 연결된 서버 정보.

by 리치굿맨 2020. 10. 10.

 

 


string  AccountInfoString(
   ENUM_ACCOUNT_INFO_STRING  property_id      // Property identifier
   );



// example 

void OnStart()
  {
//--- Show all the information available from the function 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));
  }

property_id

[in]  Property identifier. The value can be one of the values of ENUM_ACCOUNT_INFO_STRING.

 

 

from: 

 

Documentation on MQL5: Account Information / AccountInfoString

void OnStart()   { //--- Show all the information available from the function AccountInfoString()    Print("The name of the broker = ",AccountInfoString(ACCOUNT_COMPANY));    Print("Deposit currency = ",AccountInfoString(ACCOUNT_

www.mql5.com

 

 

 

 

 


첫 등록 :  2020.10.10

최종 수정 : 

단축 주소 : https://igotit.tistory.com/2643

 


 

'트레이딩 > 메타트레이더 코딩' 카테고리의 다른 글

MQL5. MqlRates. CopyRates  (0) 2020.10.11
MQL5. Access to Timeseries and Indicator Data  (0) 2020.10.11
MQL5. Order, Deal, Position  (0) 2019.06.23
MQL5. Account  (0) 2019.06.03
MQL5. input  (0) 2019.05.27

댓글0


.    
현물 |선물 인버스 |선물 USDT     현물 | 선물 USDT |봇제작툴/카피트레이딩     현물 |선물 인버스 |선물 USDT     .