Type/to search
Built-in Functions
Structures
Built-in Variables and Constants
EXCHANGE
ORDER_STATE
ORDER_TYPE
ORDER_CONDITION_TYPE
POSITION_DIRECTION
ORDER_OFFSET
ORDER_OFFSET_OPEN
ORDER_OFFSET_CLOSE
PERIOD
LOG_TYPE
Conventions
Exchanges

Open/close constants: the values of the Offset field of the Order structure. In one-way position mode, an order that cannot be identified as closing (reducing) is reported as opening.

ConstantValueMeaning
ORDER_OFFSET_OPEN0An opening order
ORDER_OFFSET_CLOSE1A closing order

In this sectionRead the whole section

NameDescription
ORDER_OFFSET_OPENAn opening order; the value is 0.
ORDER_OFFSET_CLOSEA closing order; the value is 1.