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

MQL5. Account

by i.got.it 2019. 6. 3.

 

 

 

void OnStart() 
  { 
//--- show all the information available from the function AccountInfoDouble() 
   printf("ACCOUNT_BALANCE =  %G",AccountInfoDouble(ACCOUNT_BALANCE)); 
   printf("ACCOUNT_CREDIT =  %G",AccountInfoDouble(ACCOUNT_CREDIT)); 
   printf("ACCOUNT_PROFIT =  %G",AccountInfoDouble(ACCOUNT_PROFIT)); 
   printf("ACCOUNT_EQUITY =  %G",AccountInfoDouble(ACCOUNT_EQUITY)); 
   printf("ACCOUNT_MARGIN =  %G",AccountInfoDouble(ACCOUNT_MARGIN)); 
   printf("ACCOUNT_MARGIN_FREE =  %G",AccountInfoDouble(ACCOUNT_MARGIN_FREE)); 
   printf("ACCOUNT_MARGIN_LEVEL =  %G",AccountInfoDouble(ACCOUNT_MARGIN_LEVEL)); 
   printf("ACCOUNT_MARGIN_SO_CALL = %G",AccountInfoDouble(ACCOUNT_MARGIN_SO_CALL)); 
   printf("ACCOUNT_MARGIN_SO_SO = %G",AccountInfoDouble(ACCOUNT_MARGIN_SO_SO)); 
  }

 

 

https://www.mql5.com/en/docs/account

 

Documentation on MQL5: Account Information

 

www.mql5.com

 

 

 

 

클래스 CAccountInfo

https://www.mql5.com/en/docs/standardlibrary/tradeclasses/caccountinfo

 

Documentation on MQL5: Standard Library / Trade Classes / CAccountInfo

 

www.mql5.com

 

 

 

 


첫등록 : 2019년 6월 3일 

최종수정 : 

 

본 글 단축주소 : https://igotit.tistory.com/2201

 


 

댓글



 

비트코인




암호화폐       외환/나스닥/골드       암호화폐/외환/나스닥/골드 암호화폐/외환/나스닥/골드   암호화폐/외환/나스닥/골드
     
현물 |선물 인버스 |선물 USDT       전략매니저(카피트레이딩)     롤오버 이자 없는 스왑프리계좌
( 스왑프리 암호화폐도 거래 가능 )    
MT4, MT5 , cTrader 모두 지원     FTMO 계좌 매매운용. MT4,MT5