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

MQL5. CSymbolInfo. class for easy access to the symbol properties.

by i.got.it 2020. 11. 21.

 

 

 

CSymbolInfo

 

- class for easy access to the symbol properties.

 

 

- #include <Trade\SymbolInfo.mqh>

 

 

- Symbol Specification 에서의 정보들 확보가능. 

Swaps

 

SwapMode

Gets the swap calculation mode

SwapModeDescription

Gets the swap calculation mode as a string

SwapRollover3days

Gets the day of triple swap charge

SwapRollover3daysDescription

Gets the day of triple swap charge as a string

Margins and flags

 

MarginInitial

Gets the value of initial margin

MarginMaintenance

Gets the value of maintenance margin

MarginLong

Gets the rate of margin charging for long positions

MarginShort

Gets the rate of margin charging for short positions

MarginLimit

Gets the rate of margin charging for Limit orders

MarginStop

Gets the rate of margin charging for Stop orders

MarginStopLimit

Gets the rate of margin charging for StopLimit orders

TradeTimeFlags

Gets the flags of allowed expiration modes

TradeFillFlags

Gets the flags of allowed filling modes

Quantization

 

Digits

Gets the number of digits after period

Point

Gets the value of one point

TickValue

Gets the tick value (minimal change of price)

TickValueProfit

Gets the calculated tick price for a profitable position

TickValueLoss

Gets the calculated tick price for a losing position

TickSize

Gets the minimal change of price

Contracts sizes

 

ContractSize

Gets the amount of trade contract

LotsMin

Gets the minimal volume to close a deal

LotsMax

Gets the maximal volume to close a deal

LotsStep

Gets the minimal step of volume change to close a deal

LotsLimit

Gets the maximal allowed volume of opened position and pending orders (direction insensitive) for one symbol

Swaps sizes

 

SwapLong

Gets the value of long position swap

SwapShort

Gets the value of short position swap

Text properties

 

CurrencyBase

Gets the name of symbol base currency

CurrencyProfit

Gets the profit currency name

CurrencyMargin

Gets the margin currency name

Bank

Gets the name of current quote source

Description

Gets the string description of symbol

Path

Gets the path in symbols tree

 

 

 

 

 

 

 

 

상세 

 

Documentation on MQL5: Standard Library / Trade Classes / CSymbolInfo

 

www.mql5.com

 

 

연관 

 

 

MQL5. Symbol Specification

Symbol Specifications 아래 왼쪽은 EURUSD, 오른쪽은 BTCUSD Digits - 종목 가격의 소수점이하 자리수. - EURUSD 는 1.118542 처럼 소수점이하 5개까지, BTCUSD는 18679.105 소수점 이하 3개. Contract Size -..

igotit.tistory.com

 

 


첫 등록 : 2020.11.21

최종 수정 : 

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

 


 

댓글



 

비트코인




암호화폐       외환/나스닥/골드         암호화폐/외환/나스닥/골드
     
현물 |선물 인버스 |선물 USDT       전략매니저(카피트레이딩)         프랍 트레이더 온라인 지원가능. MT4,MT5