CPositionInfo
- 포지션정보 클래스
상세
CPositionInfo is a class for easy access to the open position properties.
Description
CPositionInfo class provides easy access to the open position properties.
Declaration
class CPositionInfo : public CObject |
Title
#include |
Inheritance hierarchyCPositionInfo |
Class methods by groups
Access to integer type properties |
|
Gets the time of position opening |
|
Receives the time of position opening in milliseconds since 01.01.1970 |
|
Receives the time of position changing in seconds since 01.01.1970 |
|
Receives the time of position changing in milliseconds since 01.01.1970 |
|
Gets the position type |
|
Gets the position type as a string |
|
Gets the ID of expert, that opened the position |
|
Gets the ID of position |
|
Access to double type properties |
|
Gets the volume of position |
|
Gets the price of position opening |
|
Gets the price of position's Stop Loss |
|
Gets the price of position's Take Profit |
|
Gets the current price by position symbol |
|
Gets the amount of commission by position |
|
Gets the amount of swap by position |
|
Gets the amount of current profit by position |
|
Access to text properties |
|
Gets the name of position symbol |
|
Gets the comment of the position |
|
Access to MQL5 API functions |
|
Gets the value of specified integer type property |
|
Gets the value of specified double type property |
|
Gets the value of specified string type property |
|
Selection |
|
Selects the position |
|
Selects the position by index |
|
Selects a position with the specified symbol name and magic number |
|
Selects the position by ticket |
|
State |
|
Saves the position parameters |
|
Checks the current parameters against the saved parameters |
첫등록 : 2019년 4월 23일
최종수정 :
본 글 단축주소 : https://igotit.tistory.com/2133
'트레이딩 > 메타트레이더 코딩' 카테고리의 다른 글
MQL5. Data Collections. (0) | 2019.04.24 |
---|---|
MQL5. 포지션 함수, 클래스. (0) | 2019.04.23 |
MQL5. PositionGetSymbol (0) | 2019.04.19 |
MQL5. PositionSelect, PositionGetDouble, PositionGetInteger, PositionGetString (2) | 2019.04.19 |
MQL5. PositionsTotal (0) | 2019.04.19 |
댓글